/build/static/layout/Breadcrumb_cap_w.png

How to suppress Restart Manager prompt

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

Answers (8)

Posted by: PackageExpert 14 years ago
Blue Belt
1
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
Posted by: abking99 14 years ago
Second Degree Blue Belt
0
MSIRESTARTMANAGERCONTROL should work.

http://msdn.microsoft.com/en-us/library/aa370377(VS.85).aspx
Posted by: PackageExpert 14 years ago
Blue Belt
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..
Posted by: abking99 14 years ago
Second Degree Blue Belt
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...
Posted by: PackageExpert 14 years ago
Blue Belt
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
Posted by: kiptek 14 years ago
Second Degree Green Belt
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
Posted by: PackageExpert 14 years ago
Blue Belt
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?
Posted by: Lilly.sony 4 years ago
White Belt
0

in customactions and sequences of msi, look for SetREBOOTtrue property and change the property name REBOOT to Property value Suppress, and if property called as SetRebootYesNoTrue exist, chnage it's property value to F.

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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ