-dVersionMajor=$(AFSPRODUCT_VER_MAJOR) \
-dVersionMinor=$(AFSPRODUCT_VER_MINOR) \
-dVersionPatch=$(AFSPRODUCT_VER_PATCH) \
- -dProductCode=$(AFSPRODUCT_VER_GUID) \
"-dDestDir=$(DESTDIR)\\" \
-dCellDbFile=CellServDB \
-v0 \
<!-- See language_config for localization options. -->
<?include language_config.wxi?>
+ <!--
+ We autogenerate a new product code for each build. According to MSDN we have
+ to change the product code whenever we change the name of the MSI file. Each
+ version of OpenAFS has a different MSI name. Thus, each version needs a
+ unique product code.
+ -->
<Product
- Id="$(var.ProductCode)"
+ Id="????????-????-????-????-????????????"
Codepage="$(var.Codepage)"
Language="$(var.LanguageCode)"
Manufacturer="$(var.Manufacturer)"
AFSPRODUCT_VER_PATCH=0000
AFSPRODUCT_VER_BUILD=0
-# For MSI installer, each major release should have a different GUID
-# http://msdn.microsoft.com/library/en-us/msi/setup/changing_the_product_code.asp
-AFSPRODUCT_VER_GUID=A0A7B986-CF35-499C-9400-9A987F218127
-
AFSPRODUCT_VERSION=$(AFSPRODUCT_VER_MAJOR).$(AFSPRODUCT_VER_MINOR).$(AFSPRODUCT_VER_PATCH)
AFSPRODUCT_FILE_VERSION=$(AFSPRODUCT_VER_MAJOR),$(AFSPRODUCT_VER_MINOR),$(AFSPRODUCT_VER_PATCH),$(AFSPRODUCT_VER_BUILD)
# Set CELLNAME_DEFAULT to "your cell name"
AFSPRODUCT_VER_PATCH=0000
AFSPRODUCT_VER_BUILD=0
-# For MSI installer, each major release should have a different GUID
-# http://msdn.microsoft.com/library/en-us/msi/setup/changing_the_product_code.asp
-AFSPRODUCT_VER_GUID=93AFD8F0-C150-47BC-B318-A029222D8993
-
AFSPRODUCT_VERSION=$(AFSPRODUCT_VER_MAJOR).$(AFSPRODUCT_VER_MINOR).$(AFSPRODUCT_VER_PATCH)
AFSPRODUCT_FILE_VERSION=$(AFSPRODUCT_VER_MAJOR),$(AFSPRODUCT_VER_MINOR),$(AFSPRODUCT_VER_PATCH),$(AFSPRODUCT_VER_BUILD)
# Set CELLNAME_DEFAULT to "your cell name"
AFSPRODUCT_VER_PATCH=0000
AFSPRODUCT_VER_BUILD=0
-# For MSI installer, each major release should have a different GUID
-# http://msdn.microsoft.com/library/en-us/msi/setup/changing_the_product_code.asp
-AFSPRODUCT_VER_GUID=E832F832-C937-46CB-8C1D-BC7EF6F3F62F
-
AFSPRODUCT_VERSION=$(AFSPRODUCT_VER_MAJOR).$(AFSPRODUCT_VER_MINOR).$(AFSPRODUCT_VER_PATCH)
AFSPRODUCT_FILE_VERSION=$(AFSPRODUCT_VER_MAJOR),$(AFSPRODUCT_VER_MINOR),$(AFSPRODUCT_VER_PATCH),$(AFSPRODUCT_VER_BUILD)
# Set CELLNAME_DEFAULT to "your cell name"