Skip to content
⌘ NSIS Forum Archive

How to Show Installer Window after HideWindow

4 posts

cupid062985#

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#
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. 🙁
cupid062985#
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?