Archive: NSIS: how to execute a .exe file


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


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.


Thanks
Thanks a lot NBaua