That dialog usually means that the product code is already used by an
already installed product.

In WiX v3, use a produ...@id value of "*" (and never set the packa...@id
value to anything except "*" under any conceivable condition) The
ProductCode will always be different, automatically generating major
upgrades.

If you are already doing that, generate a verbose log and see what is going
on.

<Wix ...>
<?define
UpgradeCode="your-upgrade-code-goes-here-once-set-don't-ever-change-it"?>
<Product Id="*" UpgradeCode="$(var.UpgradeCode)">
<Package Id="*" .../>
<Upgrade Id="$(var.UpgradeCode)">
<UpgradeVersion Maximum="$(var.BuildVersion)" Property="UPGRADING"/>
</Upgrade>
...
</Product>
</Wix>

candle -dBuildVersion=1.0.%BuildNum% mymsi.wxs
light mymsi.wixobj

Change the environment var BuildNum between builds to ever increasing
integers, never larger than 32767 (due to a bug in one of the ICE tests).

-----Original Message-----
From: Dean Arnold [mailto:dean.arn...@paraccel.com] 
Sent: Thursday, January 28, 2010 3:22 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Example to create upgradeable install ?

I've checked the  How to, and the tutorial. I tried using the example in the
tutorial. I generated guid's for all the appropriate bits, and tried to
install the upgrade from the tutorial example, and in every case it throws
up a dialog box to the effect "that is already installed, please use
Add/Remove Programs". I've tried changing Product guids, package guids,
version numbers...no luck.

Can anyone share a set of simple WiX XML that actually is upgradeable ? With
real guids, so I can see what (if any) of them change between versions ?

Fwiw, this is on WinXP SP3, and I'm using the candle/light command line to
build the installers (example command line syntax for the upgrade scripts
would be helpful as well).

(btw: is there a searchable archive of this list ? sourceforge doesn't seem
searchable)

Any help much appreciated,

Dean Arnold
ParAccel, Inc.

----------------------------------------------------------------------------
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to