开发者

Deinstalling application data. Which path to use in uninstaller?

开发者 https://www.devze.com 2023-02-11 02:50 出处:网络
I am creating an installer using nsis. The application downloads a huge amount of user data. What is the best 开发者_如何学Cway to remove this data in uninstaller?

I am creating an installer using nsis. The application downloads a huge amount of user data. What is the best 开发者_如何学Cway to remove this data in uninstaller?

  1. Set the application data path in installer (using environment/registry, config file etc) and use it in application?
  2. Use fixed path in both installer and application.
  3. Something else ...?

How do you solve this?


I use the application data path from Windows ("$APPDATA\Application Name") for the data when installing/uninstalling, then delete the directory when uninstalling.

0

精彩评论

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