Lucky49
9th October 2006 19:16 UTC
NSIS: how to execute a .exe file
hii all,
i am trying to execute a .exe file located in c:/MyProject named Setup.exe. i am a beginner and have tried following code but its not working.
ExecWait '"C:\MyProject\Setup.exe"'
i will really appreciate if you can let me know me how to execute this .exe file.
Thanks,
Lucky
n_baua
10th October 2006 06:42 UTC
Hi Lucky49,
Do not use physical file path like "C:\MyProject\Setup.exe"
instead use "$INSTDIR\Setup.exe" OR "$EXEDIR\Setup.exe"
I guess you have a problem there.
Another cheap alternative is
ExecShell "open" "C:\MyProject\Setup.exe" if your concern is to have a physical path only.
Best of luck and welcome to NSIS Forum.
Lucky49
11th October 2006 02:14 UTC
Thanks
Thanks a lot NBaua