Don't replace a file during Upgrade - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

rsantiago
Posts: 1
Joined: Fri Jan 15, 2010 2:33 pm

Don't replace a file during Upgrade

Hi,

I have a config file within an AIP project.

During installation process, I have a Custom Action that changes this file. This works very well.

The problema is when I try execute the Upgrade of the project.

The config file that was changed during installation processo is replaced by a new one...

What I want is:
1) In Installation: copy all files and change the config file;
2) In Upgrade: copy all files except the config file.

Is it possible?

Thanks in advance,

rsantiago
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Don't replace a file during Upgrade

Hello,

You might want to check out this thread:
http://www.advancedinstaller.com/forums ... f=2&t=9936

It discusses how to determine whether a file has changed and remove it or not depending on the result of the check.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”