Command Syntax

/SetVersion { <version_string> | -fromfile <file_path> | -increment }

This command will set the Product Version. Its equivalent UI option is “Product Version” in the Product Details Tab page. A new Product Code will be generated if the new version is different from the old one, unless the -noprodcode option was used. Read why in Changing Version.

You have the possibility to specify the version through a versioned file. Instead of the version string, enter the path of the file which version will be used and add the -fromfile option.

ImportantThe specified file must have a version.

Also, you can increment the existing product version by using the -increment parameter.

Example: /edit MyProject.aip
    /SetVersion 1.2