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!

PeterSteele
Posts: 4
Joined: Thu Sep 16, 2004 10:38 pm

How can I automatically update the version?

We have a build system that maintains the product version and build count. Each night it automatically updates the build count and this information is compiled into the various components of our product. I'd like to update the installer to use this new version information as well. As far as I can tell though the only way I could do this would be to have to build system to physically update the .aip file before issuing a build. Is this our only option?
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

For now, this is the only option. And don't forget to also change the ProductID, otherwise Automated Updates will stop working.

In the future, we are planning to have the ability to arbitrarily change AI projects from command line or a script file.

Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Guest

It would be easy enough to replace the ProductCode directly in the .api file as part of our nightly build script, but how would I create the code?
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Use the CoCreateGuid() call.
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”