Remove Product ID from Makefiles. They will be auto-generated in the
Wix installer.
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
Auto-generate Product IDs at build time since each installer has a
unique name. This will allow upgrades to be performed automatically.
(cherry picked from commit
b9b6cb7c25cb3bcd4d34d1a52a7915c9ba46df06)
-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=0005
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=CC59770C-4690-4531-BAEB-55A5A6D2EEB9
-
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=0005
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=B7F03C11-E7E7-41F5-BEFD-C738EB5B075F
-
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=0005
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=B2220B3E-B61D-4CC7-9D4B-17BA918D049C
-
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"