Archive: Execute installed file


Execute installed file
Hi,

Can't I execute files after extracting them?
The following doesn't work:

File "${SERVER_FILES}\bin\fsc.exe"
!insertmacro myexec "$INSTDIR\fsc.exe" "install"
Delete "$INSTDIR\fsc.exe"

I extract fsc.exe and execute it in my macro (with nsexec).
"error" is returned, so nsExec can't execute the file.
I can't execute it on the command line either during the installation, as soon as the installer has finished I can execute it.


What's inside myexec?