REBOOTPROMPT - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jm2008
Posts: 62
Joined: Tue Jul 08, 2008 10:24 am

REBOOTPROMPT

Hi,

I need to not display the user restart message box from Windows Installer. I searched and found that I can set this parameter [REBOOTPROMPT] to S

Is that correct? Is so, How can it be done from AI? Latest version

Thanks,
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: REBOOTPROMPT

Hi,

Please note that you can control the reboot prompt behavior by using the Install Parameters (the "Reboot Prompts" behavior).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jm2008
Posts: 62
Joined: Tue Jul 08, 2008 10:24 am

Re: REBOOTPROMPT

I do use it and set it to Supress all prompts. But still get prompt when the user Uninstall the system.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: REBOOTPROMPT

Hi,

I'm not sure why you are encountering this behavior. Can you please send us the AIP (project) file with the problem to support at advancedinstaller dot com so we can investigate it? Also, please attach a verbose log of the install process.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jm2008
Posts: 62
Joined: Tue Jul 08, 2008 10:24 am

Re: REBOOTPROMPT

Thanks Cosmin,

I sent the log files along with the AIP file to support at advancedinstaller dot com
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: REBOOTPROMPT

Hi,

After further investigations we found that the message you are receiving is triggered by the Vista Restart Manager, not by Windows Installer itself. This is why using the REBOOT property has no effect.

By default, on Vista Windows Installer will use the Restart Manager. However, you can stop this through the MSIRESTARTMANAGERCONTROL property. In your case, you can try setting this property to "Disable" or "DisableShutdown". Let me know if this doesn't solve the problem.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
paul@jobpow.com
Posts: 33
Joined: Thu Oct 01, 2009 8:29 pm

Re: REBOOTPROMPT

i'm having a similar issue on win2008. when should this property be set? are double quotes necessary? also if a previous version does not have this property set and that is being upgraded with a version that *does* have this property set, will the reboot be in fact suppressed?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: REBOOTPROMPT

Hi,
when should this property be set?
If you are referring to the MSIRESTARTMANAGERCONTROL property, you can set it when you don't want Windows Installer to use the restart manager.
are double quotes necessary?
This depends on how you are setting the property. When using the "Install Parameters" page you don't need to use quotes. However, when using a "Property set with Formatted" custom action quotes need to be used to distinguish a string value from an installer property.
also if a previous version does not have this property set and that is being upgraded with a version that *does* have this property set, will the reboot be in fact suppressed?
Only if it's triggered by the installer which has the appropriate properties set. The old installation will not be affected by the properties set in the new one.

If the above answers doesn't help you, can you please give me more details about what you need to do or the problems you are encountering?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
paul@jobpow.com
Posts: 33
Joined: Thu Oct 01, 2009 8:29 pm

Re: REBOOTPROMPT

thank you! that seems to answer my questions.
i'm using the double quotes and a set property action underneath the install button on the verify screens and i'm getting the expected results.

Return to “Common Problems”