glevner
Posts: 4
Joined: Sat Jun 24, 2006 8:32 am
Location: Paris, France
Contact: Website

/SetVersion bug in version 4.1

We edit our AIP file from the command line to set the version number. In Advanced Installer 4.0 this was working fine. But since we updated to 4.1 and changed the /version flag to /SetVersion, it returns an error code of 1, even though the version number is updated correctly. This is a problem when running Advanced Installer from a batch file or Ant script with error checking...
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

/setversion command returns 1 if the version number it remains the same. However in the next version of AI we will change the return code to 0.

Regards,
Gigi
_________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
glevner
Posts: 4
Joined: Sat Jun 24, 2006 8:32 am
Location: Paris, France
Contact: Website

That would be great, thanks.

It makes no difference to us whether the version number actually changed or not. But if there are users who need to know that, a /GetVersion flag that would print the version number to standard output might be useful.

Return to “Common Problems”