开发者

Uninstalling the application silently / automatially

Is it possible that my application, when exit, uninstalls itself automatically, without any user 开发者_StackOverflowintervention and involvement?

Thanks


Yes, this is possible. You need to detect the shutdown (perhaps via the Application.OnExit event), and then in the event handler you could call Process.Start that will kick off the uninstall.

You will need to make sure your application has fully existed by the time the uninstaller needs to remove it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜