Archive: Run Program After Install Without Asking


Run Program After Install Without Asking
Hi,
I have an installer script made with HM NIS edit that is working fine. However, I am not using NIS to install any of my software. Rather, I am just using it to create a self extracting exe that will continue my installation by calling my visual studio built setup.exe. Consequently, I don't want to ask the user to run my program at the end of the installer, I just want to run it after the files are copied.

How can I do this? Can I modify the MUI_PAGE_FINISH macro with some defines before it?

Thanks.


Create a leave function with !define MUI_PAGE_CUSTOMFUNCTION_LEAVE FinishPageLeave and Exec your app in it.

Stu


Awesome thanks that works just fine.

I added this func:


Function FinishPageLeave
Exec "setup.exe"
Quit
FunctionEnd


It's exactly what I need. Thanks.