Archive: HowTo? autoclose the uninstall window


HowTo? autoclose the uninstall window
Can the uninstall window be AutoClose'd? I'm using
AutoCloseWindow true
for my application (which works fine), and would like to have the same functionality with the uninstall procedure.

Did I miss something? I tried having AutoCloseWindow in the uninstall section, but it didn't seem to have any effect.

TIA


SetAutoClose true|false Overrides the default auto window-closing flag (specified for the installer using AutoCloseWindow, and false for the uninstaller). Specify 'true' to have the install window immediately disappear after the install has completed, or 'false' to make it require a manual close.
From NSIS Documentation,

Hendri.

Re: HowTo? autoclose the uninstall window

Originally posted by paraclete
Can the uninstall window be AutoClose'd? I'm using
AutoCloseWindow true
for my application (which works fine), and would like to have the same functionality with the uninstall procedure.

Did I miss something? I tried having AutoCloseWindow in the uninstall section, but it didn't seem to have any effect.

TIA
I use this and it works in my all of my installers.

Function un.onInit

SetAutoClose true

So that works for me, give it a try.