No Product code change Using patch - 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!

Ranjith12
Posts: 5
Joined: Thu Feb 14, 2013 10:22 am

No Product code change Using patch

Hi,

I have an problem with the product code change. If, i need to increase the minor version.I would like to known is there any command line option for giving patch, so that the product code will not be changed. Please do help me on this issues. Can you give the command line option for patch alone, since i could be able to use with the script for running the aip. Below, are my scripts am running with,

<exec executable="${installer.command}" failonerror="yes">
<arg value="/edit"/>
<arg value="${filename}"/>
<arg value="/SetVersion"/>
<arg value="${build.major.number}.${build.minor.number}.${build.revision.number}"/>
<arg value="-patch"/>
</exec>

Thanks,
Ranjith
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: No Product code change Using patch

Hello Ranjith,

In order to achieve what you want you can add the "-noprodcode" option to the "Set Version Command".

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Ranjith12
Posts: 5
Joined: Thu Feb 14, 2013 10:22 am

Re: No Product code change Using patch

Hi Daniel,


Yes i am able to achieve it, Thanks on your support.

-Ranjith
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: No Product code change Using patch

You're welcome. I'm glad you got this working.

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

Return to “Common Problems”