简体   繁体   English

检查安装所需的重启

[英]Check reboot required for installation

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. 谢谢。

It sounds like you're looking for the functionality found in the RunOnce registry key. 听起来您在寻找RunOnce注册表项中的功能。 It'll kick off a program when Windows starts and delete the registry entry for you. Windows启动时,它将启动一个程序,并为您删除注册表项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM