Skip to content
⌘ NSIS Forum Archive

Automatically open web page after installation complete

3 posts

startledelk#

Automatically open web page after installation complete

Hi Guys,

Sorry if this question has already been posted, but the forum search doesn't appear to be functioning.

I want the installer to automatically open a web page after the installation process has successfully completed and the user clicks on FINISH.

Is this possible?
Afrow UK#
ExecShell open http://www...

Put that in your finish page function set with !define MUI_PAGE_CUSTOMFUNCTION_LEAVE

Stu
startledelk#
Great, thanks Stu, that did the trick.

Just a bit extra for other newbies (like myself):

I added the below just under... ; Finish page

!define MUI_PAGE_CUSTOMFUNCTION_LEAVE FinishedInstall

And then added the below to the area where all of the other functions are listed...

Function FinishedInstall
ExecShell "open" "http://www.example.com/"
FunctionEnd