Ignore update some files? - Advanced Installer Community
kondrik
Posts: 3
Joined: Mon Nov 17, 2014 3:15 pm

Ignore update some files?

When I install a program, all necessary files are installed. When I delete the program, all installed files are deleted.
I need to do in the installer that some files are not updated when you upgrade, but remained the old version.
How to implement this?
Thanks in advance.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Ignore update some files?

Hi and welcome to Advanced Installer forums.

In order to achieve this you can go in the "Files and Folders" page, right-click on those files, select "Properties", then check the "Do not overwrite existing file" option from the "Operation" tab and use the following condition: NOT OLDPRODUCTS

Let me know if this helped, otherwise give me more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kondrik
Posts: 3
Joined: Mon Nov 17, 2014 3:15 pm

Re: Ignore update some files?

This will work. But when I run the update, the old installer will remove files that do not need to be removed. How to perform a correct update to keep this files?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Ignore update some files?

Hi,

During the upgrade, those files will be backed up before the uninstallation of the old version and will be restored after the installation of the new version. If you want them not to be deleted at all, you can go in the "Organization" page and check the "Permanent" flag for their related components.

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

Return to “Common Problems”