rob.a.dunbar
Posts: 19
Joined: Thu Jan 30, 2014 2:56 am

Do not uninstall a file or folder

Hi there, I'm looking for a strategy to leave certain files in place after uninstall.

I have two installers a 32 and 64, they both install some samples to a common folder. If I uninstall the one, it removes the samples. So now the remaining install doesn't have any samples.

I'm thinking that I manually edit the files to align the component IDs of the files? is this the right way of doing it?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Do not uninstall a file or folder

Hi Rob,

Yes, setting the same component GUID in both packages for the files that you want to keep is the right way. In this case those files will be shared between the two packages and they will be removed only when both packages are uninstalled from the machine.

If you want to keep those files even after both packages are uninstalled, you can check the "Permanent" flag for their components.

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

Return to “Common Problems”