Hi Filip Hasa
Thank you very much for your feedbacks and updating scripts. Allow me to research problems until the end of the week. However, this code was useful for me.
Best regards
6-Common.script
If,NOT,"%Os_Type%",EQUAL,"X86",Begin
If,NOT,EXISTDIR,"%TargetDir%\Program Files (x86)",DirMake,"%TargetDir%\Program Files (x86)"
If,"%BuildModel%",EQUAL,"Normal",Begin
If,NOT,"%Device%",EQUAL,"CDROM",RunOnce,"0","Soft Link Windows Photo Viewer","cmd.exe","/C MKLINK /D #$qx:\Program Files (x86)\Windows Photo Viewer#$q #$qx:\Program Files\Windows Photo Viewer#$q","Hide"
Else,DirCopy,"%InstallSRC%\Program Files\Windows Photo Viewer","%TargetDir%\Program Files (x86)"
End
Else,DirCopy,"%InstallSRC%\Program Files\Windows Photo Viewer","%TargetDir%\Program Files (x86)"
End
End