开发者

how to show a messege box for restart computer after installation in c#?

I want to know about how to display a message box to display a message “Please restart your computer" with yes and no option is user click on yes then system restart. This message box want to show after complition of installation. if is there any idea about that then please help and I also want to know if is there any code for that then where i place this code in installer class of 开发者_JAVA百科elsewhere?


Use a Setup Project in Visual Studio, and then have a look at this:

HOW TO: Control System Restarts in a Setup Project That You Created by Using Visual Studio .NET

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜