Hi,
I am new to installers so please forgive me if the answer is obvious.
Our application creates some configuration files that are not in the initial install.
What I am trying to achieve is that if the user installs a new version of our product (and therefore does what I think is called a maintenance uninstall) these files are kept, but if they do a manual remove of the product these files are deleted.
Many thanks for any help
Tim.
Leave some files on upgrade but not on remove
Re: Leave some files on upgrade but not on remove
Tim,
It's quite easy. I'll assume you added the installed using the IDE. Click on Setup Architecture and select Files. In the files view look where the files are listed in the bottom right corner. Double-click the file name you want to retain which will open the Install Files dialog. Near the bottom, you'll see the Permanent File - do not remove upon installation check box. Enable that and hopefully the file in question should survive when you uninstall your package. Does that help?
I assume you have one of the IDE versions of IA installed and not the freebie add-in in VS.
It's quite easy. I'll assume you added the installed using the IDE. Click on Setup Architecture and select Files. In the files view look where the files are listed in the bottom right corner. Double-click the file name you want to retain which will open the Install Files dialog. Near the bottom, you'll see the Permanent File - do not remove upon installation check box. Enable that and hopefully the file in question should survive when you uninstall your package. Does that help?
I assume you have one of the IDE versions of IA installed and not the freebie add-in in VS.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Leave some files on upgrade but not on remove
Dear Tim,
what do you mean exactly with; "a manual remove of the product these files are deleted"?
if those files are not part of your installer, but instead created by your application at a later time, they will be never removed by a product un-install.
Regards
what do you mean exactly with; "a manual remove of the product these files are deleted"?
if those files are not part of your installer, but instead created by your application at a later time, they will be never removed by a product un-install.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 153 guests