Cancel Installation and Rollback using wix burn Bootstrapper UI

时光总嘲笑我的痴心妄想 提交于 2019-12-04 16:53:30

Many of the callbacks (like Progress) will provide args (like ProgressEventArgs) to your bootstrapper application. In the args object you may see a Result property. To cancel, set the Result property to Result.Cancel. When the callback returns to the Burn engine, it will see you set the result to cancel and start the rollback process (or do whatever cancel means in that context).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!