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)
Please log in to answer
Posted by:
spartacus
17 years ago
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
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.