PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Replace a file marked as permanent/never overwrite

An existing installer we have written installs certain configuration files with the permanent and never overwrite attributes set. Now it turns out we would like to replace one of these files on upgrade! Any ideas on whether this is possible by some devious method?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Replace a file marked as permanent/never overwrite

Hi Phil,

Can you please try to uncheck the Never Overwrite flag from the Component Properties and see if your configuration file is updated?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Re: Replace a file marked as permanent/never overwrite

This sort of works but only if the original file has not be changed. I think my best option is to move the file into a new component and delete the existing file via a CA.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Replace a file marked as permanent/never overwrite

Hi Phil,

Most likely this is the right solution in your case.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”