Pentium 3s

How to add prompt for reboot in MSI created using Visual Studio 2005?

How to add prompt for reboot in MSI created using Visual Studio 2005? Is there a built-in way to do this or do I really need to create a custom action dll to execute ExitWindows/ExitWindowsEx API? The problem with custom action is that it is executed before the uninstall/install success. If we add a reboot in custom action then we don't get the install success message and the uninstall key is not removed in the registry. How do we add a reboot prompt after the install/uninstall is completed? I need exact details please...

Public Comments

  1. You could call shutdown, see link below - it also reboots
Powered by Yahoo! Answers