/build/static/layout/Breadcrumb_cap_w.png

Need to cause a reboot after self-repair

I've repackaged Finale Notepad 2006 but have a problem where a critical font's registry entry (in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts key) disappears after a certain period. I've made this registry entry a keypath and can successfully repair this when the application is launched. Because Windows won't pick this change up until next boot, I either need to prompt the user to reboot, or make Windows refresh it's list of fonts. Any suggestions appreciated. The MSI is installed per machine with reboot=reallysupress if that makes any difference.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: spartacus 17 years ago
Black Belt
2
You should be able to set the REBOOT property to "Force" by using a set property Custom Action (Type 51). Applying the following condition on the Custom Action

Installed AND NOT REMOVE~="ALL"

would have the effect of setting the REBOOT property to Force during any self-repair, but would leave it set at ReallySuppress during the initial installation or during uninstallation.

Regards,

Spartacus
Posted by: meastaugh1 17 years ago
Senior Purple Belt
0
Cheers, that worked great.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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