[email protected] asked the right question.
Go back to Product/@Id="*", and make sure that Product/@Upgrade is identical
to Upgrade/@Id. Most of us create a <?define?> and use that.
Here is the pattern:
<?xml ...?>
[...]
<?define UpgradeCode=<insert guid here that you NEVER EVER CHANGE. Use the
one you already released if you released already>?>
[...]
<Wix...>
<Product Id="*" Upgrade="$(var.UpgradeCode)" ...>
<Package .../>
...
<Upgrade Id="$(var.UpgradeCode)">
...
</Upgrade>
...
</Product>
[...]
</Wix>
-----Original Message-----
From: Giora keinan [mailto:[email protected]]
Sent: Monday, December 07, 2009 8:45 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] multiple entries in add remove programs.
Hello All
I thought I found a solution that works.
1. I used the original GUIDs of the Product, and of the components I
wanted to upgrade. (replaced the '*' with the GUIDs of the original setup).
2. use the same feature name as in the original setup.
3. Run the following command "msiexec /i xxxx.msi REINSTALL=FeatureName
REINSTALLMODE=vomus"
The upgrade works and there is only one entry in the Add Remove Programs.
The problem is that Uninstall removes only the components I upgrade
instead of removing all the original installation. The size of the
installation in the add remove programs is the original setup size not
the upgrade size.
Giora
----------------------------------------------------------------------------
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users