Archive: Customise action of buttons


Customise action of buttons
I am looking to have a simple installer that:-

shows a splash screen (done!)
Shows a license (done!)
When you hit I agree, it starts another exe file, but there is then no other screens shown, no finish, no complete, nothing. The other process should be all you have to deal with from the time you hit I agree.

At the moment the only way I can get the exe file to run is to have a MUI_PAGE_INSTFILES page there which I do not want.

I am a bit of a noob with nsis, so be gentle.

Lith.


Got it
A litle premature in my post


Worked it out now

Lith


OK turns out I still need help

I have created a file that whe you agree to it and the installer exits, itstarts another file, un fortunately I did this through .onGUIEnd so even if you cancel the installation, it still runs the other program



Help

Lith


var myvar

Function .onUserAbort
MessageBox MB_YESNO "Abort install?" IDYES NoCancelAbort
Abort ; causes installer to not quit.
NoCancelAbort:
StrCpy $myvar 'aborted'
FunctionEnd

Function .onGUIEnd
StrCmp $myvar 'aborted' end
Exec 'other_installer'
end:
FunctionEnd