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!

electricpocket
Posts: 8
Joined: Tue Feb 20, 2007 6:03 pm

Set version for autoupdater from a command line

Is it possible to set the version that the Autoupdater puts into the aiu file from a command line like you can with the aip files with
e.g. something like :- /edit " install.aip" /SetVersion ?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I'm afraid that this command line is not yet supported. I add it on our TODO list and will be available in a future version of AI. I cannot give an ETA for it. Thank you for your suggestion.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
electricpocket
Posts: 8
Joined: Tue Feb 20, 2007 6:03 pm

Thanks, appreciate the fast response you folks give to questions. Look forward to the new feature. In the meantime I might make a Windows command line App to do it myself.
electricpocket
Posts: 8
Joined: Tue Feb 20, 2007 6:03 pm

Updating Version number in the Updater

Hi,

We have written a simple program to do this for us in the mean time.

SetAiuVersion.exe

Usage: SetAiuVersion.exe versionFile inAIPFile outAIPFile

It reads the version number in from versionFile, finds the version xml attribute in inAIPFile and writes out a copy of inAIPFile to outAIPFile with the version string replaced with the one from versionFile.

We use it in a batch file like so:-

......
.\SetAiuVersion.exe "LobsterTunes.exe" "lobsterupdater.aip" temp.aip
move temp.aip "lobsterupdater.aip"
....

If anyone would like a copy (including Visual Studio project and source if required) let me know.

Return to “Common Problems”