nsispysn
20th November 2009 02:49 UTC
Why doesn't the finish window display
i use the following section as the last part of installation:
Section -InstallOtherSoftware
ExecWait '"$INSTDIR\vcredistx86.exe" /Q'
ExecWait '"$INSTDIR\install_flash.exe" /S'
;ExecWait '"$INSTDIR\vcredistx86ä¸èƒ½è¿è¡Œå®‰è£…我å§.exe"'
SectionEnd
and on the finish window,i want to show a readme file.
But after ExecWait is done, the finish window does NOT display at all!
I've set AutoCloseWindow to false.
How can i solve this porblem?
MSG
20th November 2009 06:23 UTC
Add a finish page to your installer?
nsispysn
20th November 2009 06:35 UTC
Yes,i did using the following :
!define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\readme.txt"
!define MUI_FINISHPAGE_SHOWREADME_TEXT "See Readme"
!insertmacro MUI_PAGE_FINISH
After i set AutoCloseWindow to true,the finish window diplayed.But there's another problem:
before i click the "Finish" button,the window closes itself after several seconds.
How can i set the finish window not to close automatically?
Wizou
23rd November 2009 16:40 UTC
I never saw the finish page close automatically after a few seconds !?
Must be some external events... like maybe vcredistx86.exe forcing a reboot of the machine? (therefore closing all running programs)
nsispysn
24th November 2009 00:47 UTC
i tried disabling vcredistx86.exe,but it still closed itself,only itself no other programs!
nsispysn
24th November 2009 01:18 UTC
Thanks Wizou,i've found the reason.
It was because an ocx control after which was registered the finish window closed itself.
Like this:
RegDll "$INSTDIR\WebClient.ocx"
How can i avoid this?
Wizou
24th November 2009 08:39 UTC
Thanks for sharing the information.
It must be a specific bad behaviour from WebClient.ocx