MSI Factory 2.3

Product

Product

Previous topic Next topic  

Product

Previous topic Next topic  

MSI Factory

Product Information

Product name:

The descriptive name of the product being installed. This will set the value of the "ProductName" property in the Property table of the MSI database.

Product code:

The product code that uniquely identifies the product (software program) that you are installing. Windows Installer uses it to determine whether your product is already present on the system. Once you set the product code it should not be changed unless you want Windows Installer to see it as a different product. Typically you would not change the product code within a minor product version (i.e. "1.0" to "1.1") but would change it between major product versions (i.e. "1.0" to "2.0").

This is a GUID value and must be unique. You can use the Generate button to create a new unique product code. This will set the value of the "ProductCode" property in the Property table of the MSI database.

Product manufacturer:

The manufacturer of the product. This will set the value of the "Manufacturer" property in the Property table of the MSI database.

Product version:

The version of the product that you are installing. This does not necessarily have to match the exact version of your software, but it must be properly incremented as you build new setups for new versions of the product. The version is in the format a.b.c (i.e. "1.0.1", "4.10.2922", etc.) where a and b are numbers between 0 and 255 and c is a number between 0 and 65535. Although Windows Installer allows four version digits (i.e. "a.b.c.d"), it ignores the fourth one when performing version comparisons. It is important to increase the version number whenever you build a new setup for a new version of your software.

Upgrade Information

Upgrade code:

The upgrade code GUID for the product. This will set the value of the "UpgradeCode" property in the MSI database. This value should be common across all versions of a product that can update or upgrade each other. In other words, a product family such as "My Product 1.0, My Product 2.0, My Product 2.5." Setting the Upgrade code to be the same for multiple versions of a product makes it so that only one version of the product can be installed on the system at a time. If you want two versions of the product to co-exist on the same system then you should change the upgrade code.

Find/remove related programs:

A list of upgrade codes that this installer will replace. That is, a list of related programs that will be found by their upgrade code, usually so that they can be uninstalled before this product is installed.

Usually you will list the same upgrade code as you defined in the upgrade code field above because you will be upgrading a product in the same product family. This feature facilitates a "major upgrade."

Click the Add button to open the Related Program dialog and add a new upgrade code to the product. If this is the first MSI install that you are making for your product, there is no need to add any upgrade codes.

More Information

MSDN Online: ProductName Property

MSDN Online: ProductCode Property

MSDN Online: Manufacturer Property

MSDN Online: UpgradeCode Property

MSDN Online: Using an UpgradeCode

MSDN Online: Preparing an Application for Future Major Upgrades

WiX Help File: Product Element

WiX Help File: Upgrade Element


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us