Archive: Check reboot state


Check reboot state
Hi All,

I cant't find desision for reboot check :(

Uninstall procedeure delete files and clear registry key. Some files is locked, NSIS left they after reboot deletion.
If User reboot system - everything Ok. If No and User runs setup again (mistake), setup cannot check that uninstall not finished. Setup cannot check that files exists, no registry key to find install dir.
Any suggestions?


Yeah, check this out.

It'd be helpful to know what the exact problem is - is it that if the user uninstalls and reinstalls without rebooting, then when they DO reboot, the reinstalled files (marked for deletion from the uninstall) are deleted? Or if not that, then what?