Deinstalling application data. Which path to use 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?
- Set the application data path in installer (using environment/registry, config file etc) and use it in application?
- Use fixed path in both installer and application.
- 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.
精彩评论