Close installation after clinking on a link
Hi,
I added a link to the finish page. How can I close the installation after user pressed on the link ? For now, the link is opened, but the installation also remains opened.
Thanks,
May
Archive: Close installation after clinking on a link
Close installation after clinking on a link
Hi,
I added a link to the finish page. How can I close the installation after user pressed on the link ? For now, the link is opened, but the installation also remains opened.
Thanks,
May
Just use Quit at the end of your custom function code :-)
Well, sorry for not understanding :confused: , but where exactly should I put the Quit? What I have is a MUI_PAGE_CUSTOMFUNCTION_PRE function where I set the link and a main section.
Thanks.
You can set at MUI_PAGE_CUSTOMFUNCTION_PRE function:
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field X" "Flags" "NOTIFY" ;X=number of Link Fieldand Quit command should be at MUI_PAGE_CUSTOMFUNCTION_SHOW:
>
!insertmacro MUI_INSTALLOPTIONS_READ $0 "ioFile.ini" "Settings" "State"
StrCmp $0 X link nolink ;X=number of Link Field
link:
Quit
nolink: