....but I wouldn't encourage this solution until the actual problem has been found. The common issues with failing upgrades that result in two Programs/Features entries seem to be:
1. A per-user install won't upgrade a per-system install, and vice versa. 2. Forgetting something like a majorupgrade element or RemoveExistingProducts action. 3. A failing RemoveExistingProducts sequenced after InstallFinalize that rolls back and leaves both old and new entries on the system. As always, a verbose log is the diagnostic. Phil W -----Original Message----- From: Marlos Gottschild [mailto:marlos.gottsch...@gmail.com] Sent: Wednesday, August 14, 2013 7:07 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix and backward compatibility with Visual Studio setup project. I had this or a similar problem with InstallShield. The previous version was upgraded but the entry wasn't deleted. So I created a cleanup Component to delete the old registry key. Just check if the previous version was correctly uninstalled during upgrade. Here is my code: <ComponentGroup Id="CompGrp_CleanUpUpgradedRegistryComponents" Directory="INSTALLFOLDER"> <Component Id="Comp_RegistryKey_Cleanup" KeyPath="yes"> <Condition>WIX_UPGRADE_DETECTED</Condition> <RemoveRegistryKey Id="RemRegKey_OldInstall" Root="HKLM" Key="SOFTWARE\Wow6432Node\MICROSOFT\WINDOWS\CURRENTVERSION\Uninstall\Install Shield_{guid}" Action="removeOnInstall" /> </Component></ComponentGroup> BR, Marlos 2013/8/14 Андрій Цьок <andrey.t...@gmail.com> > <MajorUpgrade AllowDowngrades="no" AllowSameVersionUpgrades="no" > Schedule="afterInstallInitialize" DowngradeErrorMessage="A later > version of [ProductName] is already installed. Setup will now exit." > /> > > And version changed from 1.0.0.0 to 1.1.0.0 > > > On Wed, Aug 14, 2013 at 3:26 PM, Alain Forget <afor...@cmu.edu> wrote: > > > Are you using the MajorUpgrade element? > > > > -----Original Message----- > > From: Андрій Цьок [mailto:andrey.t...@gmail.com] > > Sent: Wednesday, August 14, 2013 08:23 > > To: wix-users@lists.sourceforge.net > > Subject: [WiX-users] Wix and backward compatibility with Visual > > Studio setup project. > > > > After installing new version app using Wix installer I see duplicate > > app > in > > "Program and features". > > Can Wix installer remove previous Visual Studio Setup project (with > > installed app files) before installing the app ? > > > > PS: UpgradeCode is the same as in "VS setup project" and "Version number" > > is greater than in setup project. > > > > Thanks > > > > > ---------------------------------------------------------------------- > -------- > > Get 100% visibility into Java/.NET code with AppDynamics Lite! > > It's a free troubleshooting tool designed for production. > > Get down to code-level detail for bottlenecks, with <2% overhead. > > Download for free and get started troubleshooting in minutes. > > > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.c > lktrk > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > ---------------------------------------------------------------------- > -------- > > Get 100% visibility into Java/.NET code with AppDynamics Lite! > > It's a free troubleshooting tool designed for production. > > Get down to code-level detail for bottlenecks, with <2% overhead. > > Download for free and get started troubleshooting in minutes. > > > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.c > lktrk > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------- > -------- Get 100% visibility into Java/.NET code with AppDynamics > Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.c > lktrk _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ---------------------------------------------------------------------------- -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users