[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=153845071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Trouble with MajorUpgrade
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=153845071iu=/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=153845071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Trouble with MajorUpgrade, external CAB files, and unversioned files.
I've got a WIX installer that installs some unversioned files from an external CAB file. My problem might be in the relative ordering of the RemoveExistingProducts action. When its before InstallInitialize, running the installer seems to freak out with external cab files, and keeps giving me an error that the file isn't in the CAB file (even though it is). If RemoveExistingProducts is after InstallExecute, it installs correct with the CAB file the first time, but will not upgrade the file during an upgrade Below are some snippets: Adam --- Media Id=1 Cabinet=OWL.cab EmbedCab=yes / Media Id=2 Cabinet=Videos.cab EmbedCab=no CompressionLevel=none / Media Id=3 Cabinet=Manuals.cab EmbedCab=no CompressionLevel=none / ... Component Id=Video01 Guid={----} DiskId=2 File Id=Video01.wmv DiskId=2 Vital=no KeyPath=yes Source=BLAH.wmv Name=Video01.wmv/ /Component ... InstallExecuteSequence Custom Action=CA_BlockOlderVersionInstall After=FindRelatedProducts ![CDATA[NEWERVERSIONDETECTED]] /Custom !-- Prevent installation on 4th version field change only -- Custom Action=CA_BlockAnotherBuildInstall After=FindRelatedProducts ![CDATA[ANOTHERBUILDINSTALLED]] /Custom LaunchConditions After=AppSearch / !--RemoveExistingProducts After=InstallExecute /-- RemoveExistingProducts Before=InstallInitialize / /InstallExecuteSequence InstallUISequence Custom Action=CA_BlockOlderVersionInstall After=FindRelatedProducts ![CDATA[NEWERVERSIONDETECTED]] /Custom !-- Prevent installation on 4th version field change only -- Custom Action=CA_BlockAnotherBuildInstall After=FindRelatedProducts ![CDATA[ANOTHERBUILDINSTALLED]] /Custom LaunchConditions After=AppSearch / /InstallUISequence -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users