Page 1 of 1

Cannot uncheck Restart now

Posted: Thu Jul 28, 2016 1:56 pm
by erich.einfalt
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 2830 times

IARestartNow2.PNG
IARestartNow2.PNG (26.01 KiB) Viewed 2830 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?

Re: Cannot uncheck Restart now

Posted: Fri Jul 29, 2016 12:52 pm
by FrancescoT
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