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:
Why isn't the uninstaller rebooting?ExecWait '$0 _?=$INSTDIR' ;Do not copy the uninstaller to a temp file
Thanks,
Gili