This documentation is archived and is not being maintained.

Invalid product code or upgrade code 

The specified ProductCode or UpgradeCode property is not a properly formatted GUID. These properties require a properly formatted GUID using the format {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} where X is a hexadecimal digit (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F). The brackets are required.

To correct this error

  1. Double-click the error in the Task List to go to the deployment project in Solution Explorer.

  2. In the Properties window, select the ProductCode or UpgradeCode property, and click the ellipsis (...) button to open the Product Code or Upgrade Code dialog box.

  3. In the dialog box, click the New Code button to generate a valid GUID.

See Also