trying to launch silent(!) NSIS installer with psexec.exe tool on Windows 7 64bit is failing with splash MessageBox (modal!) "NSIS ERROR launching installer!" .
how it is possible in silent mode ? I think in silent mode no one must block execution. and i don't understand why i got this error?
in windows XP all okay - no NSIS installer launching error.
command line used: psexec.exe -s -f -c -i \\testmachine setuptest.exe /S
;sample.nsi script to demonstrate strange
Name "setuptest"
SilentInstall silent
OutFile "setuptest.exe"
Section ""
SectionEnd
This error happens before the silent flag has been read probably. I'm guessing NSIS either has problems accessing its own .exe or the temp directory.
Does it also happen on Vista?
Or Win7 x86?
My guess is that setuptest.exe ends up in the 64 bit system32 directory on \\testmachine and when NSIS tries to open itself to read the install info it tries the 32 bit system32 directory because of file system redirection for 32 bit processes.
Could you try psexec'ing cmd.exe and then running setuptest.exe from outside the windows directory?