Cannot uncheck Restart now

Got a problem you cannot solve? Try here.
erich.einfalt
Posts: 32
Joined: Mon Oct 29, 2012 2:27 pm

Cannot uncheck Restart now

Postby erich.einfalt » Thu Jul 28, 2016 1:56 pm

The "Restart now" checkbox in the Finish dialog does not change state when it is clicked. There *is* a momentary flicker which would imply that the checkbox control is receiving the mouse click event but it will not change state. Below are screen grabs of the settings in the dialog editor for this project: (NOTE: There are no other rule references to checkSuccess or RebootNow in the area outside the "Existing Rules" window captured in this screen grab)

IARestartNow.PNG
IARestartNow.PNG (97.72 KiB) Viewed 2277 times

IARestartNow2.PNG
IARestartNow2.PNG (26.01 KiB) Viewed 2277 times


(Windows Installer Engine selected)
The Pre-Defined variable REBOOTCOMPUTER is set to FALSE before Apply Uninstall is run and is set to TRUE after Apply Uninstall is run (in this scenario that is the expected behavior), and the Dialog Editor Object Behavior (second screen grab) implies that the value of REBOOTCOMPUTER should be defined by the state of the checkBox variable RebootNow when this dialog closes. The checkBox variable RebootNow never changes state from what was defined when the dialog is displayed (after the Apply Uninstall runs). Note that after Apply Uninstall runs, the Pre-Defined variable SUCCESS is set to REBOOT (as is also the expected behavior).

Why would the checkBox variable RebootNow refuse to change state?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Cannot uncheck Restart now

Postby FrancescoT » Fri Jul 29, 2016 12:52 pm

Dear Erich,

by your screen shots I am not able to identify which can be the cause of the issue. For sure it exist something (probably a defined control behavior or variable that doesn't get initialized as expected) that forces the check state of the restart.

If you have any chance to send me a very minimal project that replicates the issue, I'll try to have a look.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 31 guests