Set Product Code Option

Command Syntax

/SetProductCode  -langid <langID>
                 [-guid <guid>]

Set the value of ProductCode property.

Parameters:

  • -langid <langID>
  • The package language ID for which the ProductCode should be changed. For the complete list of ProductLanguage codes, see this article : ProductLanguage Property.
  • [-guid <guid>]
  • The ProductCode property's new value. This parameter is optional. If no GUID is specified, one will be automatically generated.

Example:

AdvancedInstaller.com /edit MyProject.aip
    /SetProductCode -langid 1033 -guid {5EE1BA21-6526-4859-9C64-9CE2777C45CA}