dinkoivanov
Posts: 1
Joined: Fri Nov 08, 2013 5:20 pm

SetVersion rewrites the installer file completely

Hi,

I'm using AdvancedInstaller /edit myProduct.aip /SetVersion 1.2 -noprodcode from the command line to change the version before creating the installer (again via command prompt).

After execution of the command above I'd expect that the line
<ROW Property="ProductVersion" Value="1.1" Type="32"/>
changes to
<ROW Property="ProductVersion" Value="1.2" Type="32"/>

However it looks like the file gets rewritten from scratch, having some new XML content added, and some removed. Am I missing something? Is there a way that only the command string is changed easily without interfering with other content?

Best Regards,
Dinko
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: SetVersion rewrites the installer file completely

Hi Dinko and welcome to Advanced Installer forums,

This is indeed the current behavior and there's no command line option to prevent overwriting the entire project file.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”