|
|
#1 |
|
Member
Join Date: Feb 2005
Posts: 51
|
Uninstaller does not reboot if run from installer
My installer code runs the uninstaller (in .onInit) if it detects the software is already installed. Once the software finishes uninstalling, it continues with the installation.
I am using "Delete /REBOOTOK" to delete files in my uninstaller. If one of the files cannot be deleted, it asks the user to reboot the system. 1. If I intentionally lock a file, run the uninstaller directly, and the user agrees to reboot the system *does* reboot. 2. If I do the same, but launch the uninstaller from inside the installer, it does *not* reboot. The installer is invoking the uninstaller using this code: code: Why isn't the uninstaller rebooting? Thanks, Gili |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|