I use this code
It works , but Sign_0f_Misery Script (torus.exe) window still appears while patching (then it autoclose)... How can I hide it ? Why SW_HIDE parameter doesn't work ? What should I use instead ?SetOutPath "$INSTDIR\"
File "Files\toeng.exe"
ExecShell "" "$INSTDIR\toeng.exe" SW_HIDE
You can find toeng.exe in the attachment. It will patch any file named as "FlashpointPreferences.exe" (patcher doesn't check size,checksum etc)