I am attempting to use Major Upgrade with my Wix installer to IIS 6 on
a Windows XP machine. In the past when using this same installer with
a Minor Upgrade it would work fine and only show up once in the
Add/Remove Programs dialog even after several upgrades. Now that I
have changed the installer to a Major Upgrade it adds a new entry in
the Add/Remove Programs dialog each time I install the upgrade. As
part of the change from Minor Upgrade to Major Upgrade I also made the
<Product ID="*" and maybe that is part of the problem, however I
thought that with Major Upgrade I needed to set that ID to something
new each time I built the installer.
I am including the relevant part of the wxs file below. If anyone has
had this problem or knows how to handle fixing it to only show up once
in Add/Remove Programs your input and help will be greatly
appreciated.
<Product
Name="$(var.WebName)"
Id="*"
UpgradeCode="MY-GUID"
Manufacturer="My Company"
Version="$(var.ProductVersion)"
Language="1033">
<Package Id='*'
InstallScope="perMachine"
Manufacturer="My Company"
InstallerVersion="200"
Languages="1033"
Compressed="yes"/>
<MajorUpgrade
DowngradeErrorMessage='A later version of this application is
already installed. Setup will now exit'></MajorUpgrade>
<Media Id="1" Cabinet="MyCab.cab" EmbedCab="yes" />
<Property Id="IISROOT" Value="C:\Inetpub\wwwroot" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="IISROOT" Name=".">
<Directory Id="FILEINSTALLDIR" Name="DirName">
<Component Id="MyCompany_Component" Guid="My-Guid-New">
...
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users