integrating/preserved-files #25
Replies: 5 comments 9 replies
-
Hello, regarding the application settings:
I am trying to keep a config file outsude the "current" dir: %LocalAppData%\MyApplication\ will contain:
However, everytime I upgrade/uninstall the application, everything is removed. |
Beta Was this translation helpful? Give feedback.
-
Should an update done by clicking Setup.exe and then clicking the "Update" option be considered as an "update"? |
Beta Was this translation helpful? Give feedback.
-
Hello, Thank you for creating such a great tool! I’m using Velopack to handle updates for my desktop application. My application creates a SQLite database file (database.db) the first time it runs. I want to ensure this file is not deleted or overwritten during updates. I’ve read about the persist option in the velopack.json file, but I want to confirm if there are any additional steps or considerations to ensure this works properly. Could you please provide guidance or best practices for handling such files during updates? Thank you in advance! Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm not sure if this is a silly question but how does one go about doing the below:
My application currently keeps the application files even after the user uninstalls the application, I want this to be removed when uninstalling but kept during updates. TIA! |
Beta Was this translation helpful? Give feedback.
-
Is there a way to keep certain files from being deleted from |
Beta Was this translation helpful? Give feedback.
-
integrating/preserved-files
Your application binary files get completely replaced during updates, so you should not store important files in the same directory as your application binary files.
https://docs.velopack.io/integrating/preserved-files
Beta Was this translation helpful? Give feedback.
All reactions