Question

I'm developing installer and I need somehow to check system reboot after previous uninstallation. Ideally, I want to store some registry key, which will remove self after system reboot and which I can check during installation start. Is there any way to do this? Thanks.

Was it helpful?

Solution

It sounds like you're looking for the functionality found in the RunOnce registry key. It'll kick off a program when Windows starts and delete the registry entry for you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top