Check reboot required for installation

I am developing an installation program, and I need to somehow check the system reboot after a previous uninstall. Ideally, I want to keep some registry key that will delete itself after a system reboot and which I can check during installation startup. Is there any way to do this? Thanks.

+4
source share
1 answer

It looks like you are looking for the functionality found in the RunOnce registry key. It starts the program when Windows starts and deletes the registry entry for you.

+2
source

Source: https://habr.com/ru/post/1394007/


All Articles