seandr
Posts: 11
Joined: Tue May 29, 2012 4:59 am

Disable automatic creation of new product code on version change

We have a setup project that extracts the product version number from the executable file. The file version number changes with each new internal build we release, and when that version number changes, AI automatically creates a new Product Code. We do not want a new Product Code for each new internal build. How can we change the version number without changing the Product Code?

Thanks,
Sean
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Disable automatic creation of new product code on version change

Hi Sean,

When the version is changed in the "Product Details" page a popup is displayed where you can choose to generate a new Product Code or keep the existing one. If the version is extracted from a file, the Product Code changes automatically if the version was changed and you build the project from another page, but if you go to the "Product Details" page, the popup will prompt.

If you build the project from the command line, you can send the "-noprodcode" switch to the "/SetVersion command in order to keep the Product Code.

Let me know if you have other questions.

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

Return to “Common Problems”