Archive: Post and Pre Install commands in NSIS


Post and Pre Install commands in NSIS
I like to execute certain things pre & post install and pre & post uninstall. Is there any command for that in NSIS script?


You can execute yours "certain things" pre-install in .onInit (pre-unistall -> un.onInit) function. For post-install use .onInstSuccess (post-uninstall -> un.onUninstSuccess) function.
Exec & ExecWait will help you to execute file.

Or I misunderstood something?