Skip to content
⌘ NSIS Forum Archive

cancelling an install

3 posts

kalverson#

cancelling an install

During an install of files, I launch a program to create a windows user in order to obtain a password that passes domain password policy. If the user decides to cancel the program, the install can not continue and does an abort. I have a call back that cleans up, but it would be a bit cleaner if the user did not have to hit the install panel cancel button as well. After all, he has already decided to cancel the install in the launched program. I tried both AutoCloseWindow and SetAutoClose but that does nothing for me. Is there a way to send a click to the cancel button behinds the scenes in the script so the user does not have to click the button. At this point in the install, there is no choice anyways so I might as well do it for him.
kalverson#
Originally Posted by Anders View Post
Is this on the Instfiles page or some other page?
On the install page, but you have given me an idea. I could move this before the install page and have myself an easier cleanup situation.