Archive: How to Show Installer Window after HideWindow


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! :)


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. :(

Have you tried:
ShowWindow $HWNDPARENT ${SW_SHOW}

Stu


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?