开发者

Using NSIS, how to let user choose option on uninstall?

开发者 https://www.devze.com 2023-01-07 01:47 出处:网络
I\'m using NSIS and the Modern User Interface 2.During uninstall, I want to let th开发者_如何学运维e user select whether to delete saved application data or not by clicking a checkbox... What is the b

I'm using NSIS and the Modern User Interface 2. During uninstall, I want to let th开发者_如何学运维e user select whether to delete saved application data or not by clicking a checkbox... What is the best way to do this?


I guess you have two options:

  • Put the optional code in a separate uninstall section and add a component page in the uninstaller
  • Create a custom page with a checkbox and store the users choice in a variable and check this variable in your delete code
0

精彩评论

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