I've sometimes seen this after an uninstall. Windows Server caches deletes, and sometimes the remnants can confuse an installer into thinking things still exist. Also, the permissions on these "ghosts" are weird such that you can't re-delete them. If this is the case, a reboot should eliminate the "ghosts". My gut says not, but give it a try.
You're using the default scheduling for MajorUpgrade. Do you still have the issue with a more conservative scheduling like Schedule="afterInstallInitialize"? -- 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:41 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX-users Digest, Vol 98, Issue 58 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 NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ 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