Was the value of ALLUSERS property different between the two installations? Per-machine installations and per-user installations are basically in separate "worlds" for Windows Installer and shell components such as ARP show a combined view of both worlds.
Most programs tend to be either per-user or per-machine, and most of the time you probably don't want to give the user a choice. -----Original Message----- From: David Louis [mailto:clientlo...@gmail.com] Sent: Tuesday, July 20, 2010 10:35 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Upgrade in per-user folder generates double entries in Add/Remove programs Hi, I modified the WixUI_Advanced sample to prevent downgrading by adding these lines: <Upgrade Id="UPGRADE_CODE_UID"> <UpgradeVersion OnlyDetect="yes" Minimum="$(var.PRODUCTVERSION)" Property="NEWERVERSIONDETECTED" IncludeMinimum="no" /> <UpgradeVersion OnlyDetect="no" Maximum="$(var.PRODUCTVERSION)" Property="OLDERVERSIONBEINGUPGRADED" IncludeMaximum="no" /> </Upgrade> <Condition Message="A later version of [ProductName] is already installed. Setup will now exit."> NOT NEWERVERSIONDETECTED OR Installed </Condition> Of course, UPGRADE_CODE_UID is the same UID than the product's UpgradeCode property. This works well as long as I install to the per-machine folder. Installing to the per-user folder generates a second entry in add / remove programs instead of upgrading the product. Any hints? ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users