overwrite files by version problem - 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!

DimasSup
Posts: 31
Joined: Fri Aug 17, 2012 3:12 pm

overwrite files by version problem

Hello

I have a problem with overwrite files by version.

for example i have some file(permanent) with version 1.0.1
in new build this file is 1.0.2 version.
i upgrade application but file is not overwriten(i check options in Version tab - Get from file)
I changed file version to 1.1.1 - file have been overwritten. but its not a solution because i can changed all files version.

Advanced Installer 9.5

P.S
Thanks for support and bug fixs in latest release
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: overwrite files by version problem

Hello,

I'm afraid I don't fully understand your scenario. Can you give us more details about this (maybe exemplify)? Also, can you enable the "Ensure that this file overwrites any installed target file" option from "Files Version Tab" and see if the behavior still persist?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DimasSup
Posts: 31
Joined: Fri Aug 17, 2012 3:12 pm

Re: overwrite files by version problem

Hello,

I mean i need upgrade files only if new file version is newer.
i select Version->File Version->Get From File.
if old file version is 1.0.1 and new file version is 1.1.1 - file is overwritten but if old file version is 1.0.1 and new file version is 1.0.2 - it is not overwritten


if i checked "Ensure that this file overwrites any installed target file" file is overwritten but i don't need this, because i can have to different products with different version of this files and i need always newer version


Sorry about my English
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: overwrite files by version problem

Hello,

I've tested your scenario, but I cannot reproduce the behavior. Can you reproduce the behavior on multiple clean machines? If so, can you attach a sample reproducing the behavior. Also, you can take a look on "File Versioning Rules" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”