Nature of Reboot
To update the app, the user clicks on the installer. If a version is already installed, it calls the uninstaller and then installs the current version.
The uninstaller removes some stuff with the /REBOOTOK flag.
How can I have the uninstaller pass a value to the installer telling it if a reboot is necessary?
If a reboot is necessary, the installer shows a message telling the user "a reboot is necessary before proceeding with installation".
If the message is in the uninstaller and the user doesn't choose to restart, the uninstaller has no way of making the installer that called it abort, correct?
Perhaps I'm misunderstanding the nature of reboot. Reboot does not make the installation/uninstallation stop in its tracks and wait for the computer to reboot before proceeding?
In that case the code would just continue to execute while the computer is trying to reboot, which is why you need to put an Abort or Quit or whatnot after the Reboot?
Why can't the installer/uninstaller make a note of where it is, Reboot, and then continue what it was doing on reboot?
Excuse my ignorance.