Skip to content
⌘ NSIS Forum Archive

open IE browser after Finish installed.

3 posts

tommy916#

open IE browser after Finish installed.

How do you close the installation after you click "Finish" and then it open IE browser? It didn't close the setup because it has to wait for IE browser to be closed, then setup is closed.



!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "License.txt"
Page custom CustomPageA
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
Page custom OPENIE
;;;;;;;;;;;;;;;
Function OPENIE
  GetTempFileName $R0
  
  FileOpen $0 $R0 "w"
  FileWrite $0 "<HTML><BODY>Please click here blah....</BODY></HTML>"
  FileClose $0
 ExecWait '"$PROGRAMFILES\Internet Explorer\iexplore.exe" "$R0"'
FunctionEnd 
Vytautas#
Why don't you use one of the MUI_FINISHPAGE_RUN functions to do this.

Check the MUI Readme file for more details.

Vytautas