leapold
Posts: 12
Joined: Thu May 31, 2018 4:15 pm

Not delete database when application uninstall

Thu May 31, 2018 7:51 pm

How to add condition that special database file will not be deleted on the cleanup?
I would like to keep it (database.db) when the app will be removed.
The database location is Windows Volume->
( C:\ProgData\Test\Data\Test1\database.db)
I want add custom condition for Uninstall Cleanup process.
datadaa
Test.JPG
Test.JPG (20.32KiB)Viewed 1626 times

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Not delete database when application uninstall

Tue Jun 05, 2018 12:45 pm

Hi,

If you want to prevent a file from being removed during an uninstall of the application, you can go to its properties and select the "Do not overwrite existing file" option from the "Operations" tab.

Another method is to go to its related component from the "Organization" page and check the "Permanent" flag for it.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”