Hi Fyodor, Thanks for this. I'm starting to think it's a privilege issue. Looking at the installer now I see that on platforms newer than XP I run:
elevate msiexec /i .... On Windows XP this wasn't working so I disabled it. I'll see if I can get elevate working on XP. Christopher. On 22/10/14 08:46, Fyodor Koryazhkin wrote: > Hi, > The key error from the log file is: > Error 1906. Failed to cache package C:\WINDOWS\Installer\1377ad.msi. Error: > -2147287038. > > More possibly this indicates some system error: > 1. There is some error with XP image you use (try to install on other XP > computer that has different image i.e. do not use virtual machine or GOST > that were created from the same source image) > 2. If you install from local package there could be some error during copy > (try to copy again to different location or run it from network) > 3. If you install from network there can be some interruption in network > communication (try to copy installation package locally). > 4. Check disk space on system disk (before installation you have to have > free disk space at least 3 times larger than your package because you have > embedded cab). Exact calculation of free disk space needed to start and > finish installation is: "Size of product" + "Size of Package(for cached > msi)" + "Size of Package(for temporary msi work - this will be released > after installation)" + "Some free space for System work(depends on system > configuration)" If you run upgrade then the required free space rises twice > (to store temporary rollback data). > 5. Examine C:\windows\installer folder (permissions, ability to copy files > manually, etc.) > > Regards > Fyodor Koryazhkin > > ---------- Forwarded message ---------- >> From: Christopher Fraser <chr...@goop.org> >> To: wix-users@lists.sourceforge.net >> Cc: >> Date: Tue, 21 Oct 2014 23:09:35 +0200 >> Subject: [WiX-users] MSI won't install on XP >> Hello, >> >> When I try and install my MSI on XP I get an error code 2260. I works just >> fine on Windows 7 and 8. Any ideas? >> >> From the msiexec log: >> >> MSI (s) (44:DC) [19:13:57:281]: Executing op: ActionStart(Name= >> RegisterProduct,Description=Registering product,Template=[1]) >> Action 19:13:57: RegisterProduct. Registering product >> MSI (s) (44:DC) [19:13:57:281]: Executing op: ChangeMedia(,MediaPrompt=Please >> insert the disk: USB Debugging Driver 1.0.2 Installation,MediaCabinet= >> disk1.cab,BytesPerTick=0,CopierType=2,ModuleFileName=C: >> \WINDOWS\Installer\1377ad.msi,,,,,IsFirstPhysicalMedia=1) >> MSI (s) (44:DC) [19:13:57:281]: Executing op: DatabaseCopy(DatabasePath=C:\ >> WINDOWS\Installer\1377ad.msi,ProductCode={B61F9010-3474- >> 11E4-8C21-0800200C9A66},CabinetStreams=disk1.cab,,) >> MSI (s) (44:DC) [19:13:57:281]: Note: 1: 1402 2: UNKNOWN\Products\ >> 0109F16B47434E11C812800002C0A966\InstallProperties 3: 2 >> MSI (s) (44:DC) [19:13:57:296]: Note: 1: 2260 2: 3: -2147287038 >> MSI (s) (44:DC) [19:13:57:296]: Note: 1: 2205 2: 3: Error >> MSI (s) (44:DC) [19:13:57:296]: Note: 1: 2228 2: 3: Error 4: SELECT >> `Message` FROM `Error` WHERE `Error` = 2260 >> DEBUG: Error 2260: Storage CopyTo failed. System error: -2147287038 >> The installer has encountered an unexpected error installing this package. >> This may indicate a problem with this package. The error code is 2260. The >> arguments are: , -2147287038, >> MSI (s) (44:DC) [19:13:57:296]: Note: 1: 1906 2: >> C:\WINDOWS\Installer\1377ad.msi 3: -2147287038 >> MSI (s) (44:DC) [19:13:57:296]: Note: 1: 2205 2: 3: Error >> MSI (s) (44:DC) [19:13:57:296]: Note: 1: 2228 2: 3: Error 4: SELECT >> `Message` FROM `Error` WHERE `Error` = 1906 >> MSI (c) (CC:84) [19:13:57:296]: Note: 1: 2205 2: 3: Error >> MSI (c) (CC:84) [19:13:57:296]: Note: 1: 2228 2: 3: Error 4: SELECT >> `Message` FROM `Error` WHERE `Error` = 2888 >> DEBUG: Error 2888: Executing the Binary view failed >> The installer has encountered an unexpected error installing this package. >> This may indicate a problem with this package. The error code is 2888. The >> arguments are: Binary, , >> Error 1906. Failed to cache package C:\WINDOWS\Installer\1377ad.msi. >> Error: -2147287038. Contact your support personnel. >> MSI (s) (44:DC) [19:14:31:015]: Note: 1: 2205 2: 3: Error >> MSI (s) (44:DC) [19:14:31:015]: Note: 1: 2228 2: 3: Error 4: SELECT >> `Message` FROM `Error` WHERE `Error` = 1709 >> MSI (s) (44:DC) [19:14:31:015]: Product: USB Debugging Driver -- Error >> 1906. Failed to cache package C:\WINDOWS\Installer\1377ad.msi. Error: - >> 2147287038. Contact your support personnel. >> >> MSI (s) (44:DC) [19:14:31:031]: Note: 1: 2205 2: 3: Error >> MSI (s) (44:DC) [19:14:31:031]: Note: 1: 2228 2: 3: Error 4: SELECT >> `Message` FROM `Error` WHERE `Error` = 1602 >> MSI (c) (CC:84) [19:14:31:031]: Note: 1: 2205 2: 3: Error >> MSI (c) (CC:84) [19:14:31:031]: Note: 1: 2228 2: 3: Error 4: SELECT >> `Message` FROM `Error` WHERE `Error` = 2888 >> DEBUG: Error 2888: Executing the Binary view failed >> The installer has encountered an unexpected error installing this package. >> This may indicate a problem with this package. The error code is 2888. The >> arguments are: Binary, , >> Are you sure you want to cancel? >> Action ended 19:14:32: InstallFinalize. Return value 3. >> >> The .wxs: >> >> <?xml version='1.0' encoding='windows-1252'?> >> <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' >> xmlns:difx='http://schemas.microsoft.com/wix/DifxAppExtension'> >> >> <?define ProductCode="b61f9010-3474-11e4-8c21-0800200c9a66" ?> >> <?define UpgradeCode="b61f9011-3474-11e4-8c21-0800200c9a66" ?> >> <?define ProductVersion="1.0.2" ?> >> >> <?define WdfCoInstaller="WdfCoInstaller01009" ?> >> <?define WinusbCoinstaller="winusbcoinstaller" ?> >> <?define WinusbCoinstaller2="winusbcoinstaller2" ?> >> <?define WUDFUpdate="WUDFUpdate_01009" ?> >> >> <Product >> Name="$(var.ProductName)" >> Id="$(var.ProductCode)" >> UpgradeCode="$(var.UpgradeCode)" >> Version="$(var.ProductVersion)" >> Manufacturer="$(var.Manufacturer)" >> Language='1033' >> Codepage='1252' > >> >> <Package >> Id='*' >> Keywords='ADB Driver' >> Description="$(var.ProductName) Installer" >> Comments="$(var.ProductName) Package" >> Manufacturer="$(var.Manufacturer)" >> InstallScope="perMachine" >> InstallerVersion='200' Languages='1033' Compressed='yes' >> SummaryCodepage='1252' /> >> >> <Condition Message="This installer does not support this version of >> Windows."> >> <![CDATA[$(var.Arch)]]> >> </Condition> >> >> <Media Id='1' Cabinet="disk1.cab" EmbedCab='yes' >> DiskPrompt="$(var.ProductCode) Media" /> >> >> <Property Id='ARPCOMMENTS'>$(var.ProductName)</Property> >> <Property Id='ARPURLINFOABOUT'>$(var.InfoURL)</Property> >> <Property Id='DiskPrompt' Value="$(var.ProductName) >> $(var.ProductVersion) Installation" /> >> >> <Directory Id='TARGETDIR' Name='SourceDir'> >> <Directory Id='ProgramFilesFolder' Name='PFiles'> >> <Directory Id='MANUFACTURER_FOLDER' Name="$(var.Manufacturer)"> >> <Directory Id='INSTALLDIR' Name="$(var.ProductName) >> $(var.ProductVersion)"> >> <Directory Id='DirRefADBDriver' Name='driver'> >> </Directory> >> </Directory> >> </Directory> >> </Directory> >> <Directory Id="DesktopFolder" Name="Desktop" /> >> </Directory> >> >> <DirectoryRef Id='DirRefADBDriver'> >> <Directory Id="DirADBDriver.amd64" Name="amd64"> >> <Component Id='CompADBDriver.amd64.WinUSB' >> Guid='b61f9012-3474-11e4-8c21-0800200c9a66' > >> <File Id='amd64.WdfCoInstallerDLL' >> Name='$(var.WdfCoInstaller).dll' DiskId='1' Source='$(var.DriverDir)/ >> amd64/$(var.WdfCoInstaller).dll'/> >> <File Id='amd64.winusbcoinstallerDLL' >> Name='$(var.WinusbCoinstaller).dll' DiskId='1' Source='$(var.DriverDir)/ >> amd64/$(var.WinusbCoinstaller).dll'/> >> <File Id='amd64.winusbcoinstaller2DLL' >> Name='$(var.WinusbCoinstaller2).dll' >> DiskId='1' Source='$(var.DriverDir)/amd64/$(var.WinusbCoinstaller2).dll'/> >> <File Id='amd64.WUDFUpdate' Name='$(var.WUDFUpdate).dll' >> DiskId='1' Source='$(var.DriverDir)/amd64/$(var.WUDFUpdate).dll'/> >> </Component> >> </Directory> >> <Directory Id="DirADBDriver.x86" Name="i386"> >> <Component Id='CompADBDriver.x86.WinUSB' >> Guid='b61f9013-3474-11e4-8c21-0800200c9a66' > >> <File Id='x86.WdfCoInstallerDLL' >> Name='$(var.WdfCoInstaller).dll' >> DiskId='1' Source='$(var.DriverDir)/i386/$(var.WdfCoInstaller).dll'/> >> <File Id='x86.winusbcoinstallerDLL' >> Name='$(var.WinusbCoinstaller).dll' DiskId='1' >> Source='$(var.DriverDir)/i386/$(var.WinusbCoinstaller).dll'/> >> <File Id='x86.winusbcoinstaller2DLL' >> Name='$(var.WinusbCoinstaller2).dll' >> DiskId='1' Source='$(var.DriverDir)/i386/$(var.WinusbCoinstaller2).dll'/> >> <File Id='x86.WUDFUpdate' Name='$(var.WUDFUpdate).dll' >> DiskId='1' Source='$(var.DriverDir)/i386/$(var.WUDFUpdate).dll'/> >> </Component> >> </Directory> >> <Component Id='CompADBDriver.drivers' >> Guid='b61f9014-3474-11e4-8c21-0800200c9a66' >>> >> <File Id='android_winusbINF' Name='android_winusb.inf' >> DiskId='1' Source='$(var.DriverDir)/android_winusb.inf' KeyPath='yes'/> >> <File Id='source.properties' Name='source.properties' DiskId='1' >> Source='$(var.DriverDir)/source.properties' /> >> <File Id='x86.androidwinusb' Name='androidwinusb86.cat' >> DiskId='1' Source='$(var.DriverDir)/androidwinusb86.cat'/> >> <File Id='amd64.androidwinusb' Name='androidwinusba64.cat' >> DiskId='1' Source='$(var.DriverDir)/androidwinusba64.cat'/> >> <difx:Driver ForceInstall='yes' Legacy='yes' >> PlugAndPlayPrompt='no' Sequence='1' /> >> </Component> >> </DirectoryRef> >> <ComponentGroup Id='GroupADBDriver'> >> <ComponentRef Id='CompADBDriver.x86.WinUSB' /> >> <ComponentRef Id='CompADBDriver.amd64.WinUSB' /> >> <ComponentRef Id='CompADBDriver.drivers' /> >> </ComponentGroup> >> >> <Feature Id='Complete' Level='1'> >> <ComponentGroupRef Id='GroupADBDriver' /> >> </Feature> >> >> <UI Id="UserInterface"> >> ... >> </UI> >> >> </Product> >> </Wix> >> >> >> -- > Regards, > Fyodor Koryazhkin.. > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users