John, I'm using InstallPrivileges="elevated" InstallScope="perMachine"
When I set InstallScope to perUser it stops detecting the previous version. Thanks! Chris -----Original Message----- Date: Wed, 30 Jul 2014 21:07:44 +0000 From: John Cooper <jocoo...@jackhenry.com> Subject: Re: [WiX-users] Trouble with MajorUpgrade To: General discussion about the WiX toolset. <wix-users@lists.sourceforge.net> Message-ID: <efe431ab7973e94a8282d4ac95ffec8053aed...@mmoex10mbs02.jhacorp.com> Content-Type: text/plain; charset="iso-8859-1" Are your installers perUser or perMachine? -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.? Shawnee Mission, KS? 66227 Office:? 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: Chris McHenry [mailto:cmche...@integro.com] Sent: Wednesday, July 30, 2014 4:02 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Trouble with MajorUpgrade I'm using the MajorUpgrade as follows: <MajorUpgrade DowngradeErrorMessage="Newer version already installed." /> However, when I install the newer version on top of an existing version, I get the following error message: "The installer has insufficient privileges to access this directory:" C:\Program Files\<Manufacturer>\<ProductName>. The installation cannot continue. Logon as administrator or contact your system administrator." I in installing on a Windows 2012 R2 system though I get the same results on Windows 7. The installer is being build for x64 if that matters. I think what's happening is that it's uninstalling the old version successfully, but the install directory is removed. When the new install starts the same install directory cannot be accessed because the install directory is scheduled for deletion by the OS. Is there any workaround for this? Thanks! ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users