In the new Windows Installer 4.0, Restart Manager was introduced to minimize system reboots. Does anyone know, how do we suppress this dialog? I want it because it closes the running program/process and restarts it after installation but I want it to do it silently. Using the switch </qn> does the trick but I wonder if there are any property that can handle this. I've googled for some properties but they doesn't apply. I've tried playing around with the following but didn't help

MSIRESTARTMANAGERCONTROL
MSIDISABLERMRESTART
MSIRMSHUTDOWN
RestartManagerOption=CloseRestart
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
MSIRESTARTMANAGERCONTROL should work.

http://msdn.microsoft.com/en-us/library/aa370377(VS.85).aspx
Answered 08/14/2009 by: abking99
Second Degree Blue Belt

Please log in to comment
0
i tried it doesnt... MSIRESTARTMANAGERCONTROL disable the Restart Manager which is not what i intend to do..

i want it, but without prompting me..
Answered 08/14/2009 by: PackageExpert
Blue Belt

Please log in to comment
0
I have tried it on vista, and I am sure, it will not prompt you for running process. I have done it, 7-8 months back, may be i miss something...
Answered 08/14/2009 by: abking99
Second Degree Blue Belt

Please log in to comment
0
hmm i should try again, maybe it disable interaction with RM and prompts for a reboot at the end of the installation instead//thats what the previous FileInUse does.... because updating an in-use file required a reboot, and RM was designed to elevate this by closing the fileinuse before install and restart after install and prevent a reboot... ill try it out...thanks anyway
Answered 08/14/2009 by: PackageExpert
Blue Belt

Please log in to comment
0

Share your Knowledge...

where are you setting the value? Quoting MSDN:
The value of this property can be modified using customization transforms or upgrades. Changing the value of this property from custom actions has no effect.
http://msdn.microsoft.com/en-us/library/aa370377%28VS.85%29.aspx
Answered 08/14/2009 by: kiptek
Second Degree Green Belt

Please log in to comment
0
I would want the installer to Interact with RM and sets the value to 1 to automatically close the running process and restart it after installation without a reboot.

Do u means we can't add a property in the MSI? is has to be a transform?
Answered 08/16/2009 by: PackageExpert
Blue Belt

Please log in to comment
0
Just to share with everyone that the MSIRESTARTMANAGERCONTROL property to the MST and setting the value to Disable did the trick. No prompts to user and the action were done silently. Just sharing if it helps anyone else
Answered 09/23/2009 by: PackageExpert
Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity