cupid062985
9th October 2013 08:19 UTC
How to Show Installer Window after HideWindow
Hi Guys,
Good day! :)
I badly needed your expertise.
I performed the HideWindow to hide the installer so as not to overlap the installation of a bundled software in the installer. After the installation of that Bundled Installer I want to show it again, how will I do that?
Thanks in advance! :)
cupid062985
9th October 2013 09:18 UTC
I used the following code:
HideWindow
ExecWait '"$INSTDIR\setup.exe"'
BringToFront
but it didn't seem to hide the Installer Window. It is still at the back. :(
Afrow UK
9th October 2013 10:31 UTC
Have you tried:
ShowWindow $HWNDPARENT ${SW_SHOW}
Stu
cupid062985
9th October 2013 11:09 UTC
Sorry my bad the code works. I commented out the method, silly of me.
I tried using it for uninstall.exe for upgrade scenario but it doesn't work. The installer.exe is not hidden while the uninstaller.exe is running:
HideWindow
ExecWait '"$INSTDIR\uninstall.exe"'
BringToFront
I used the _?=$INSTDIR but the problem is the uninstall.exe is deleted when I reboot thus the new upgrade scenario doesn't have the uninstall.exe, is this a known issue in NSIS?