Hi, I have a big problem for me with installation of patch and i cant find any solutions for this. I use Wix 3.0 and its new patch system. I have following code parts :
Old.wxs is almost the same like Fixed.wxs (only a few changes in components and Product Version 3.6.0 => 3.7.0) : <Product Name="!(loc.Product.Name)" Id="FC5DAD94-199A-4492-A2EA-179FBFD749A5" Codepage="1250" Language="1029" Version="3.6.0" Manufacturer="Systemart s.r.o." UpgradeCode="C9C9E9EA-F958-4B01-AAD8-893109A1CAF4"> <Package Keywords="!(loc.Package.Keywords)" Description="!(loc.Package.Description)" Comments="!(loc.Package.Comments)" Manufacturer="!(loc.Product.Manufacturer)" InstallerVersion="405" Languages="1029" Compressed="yes" SummaryCodepage="1250" /> <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" DiskPrompt="CD-ROM #1" CompressionLevel="high"/> ........ and so one ... Patch.wxs ( according to : http://www.tramontana.co.hu/wix/lesson4.php#4.3) <Patch AllowRemoval="yes" Manufacturer="company" Codepage="1250" MoreInfoURL="www.url.cz" DisplayName="Product 3.7.0 patch" Description="Product update" Classification="Update"> <Media Id="10000" Cabinet="ProductPatch.cab"> <PatchBaseline Id="ProductPatch" /> </Media> <PatchFamily ProductCode="FC5DAD94-199A-4492-A2EA-179FBFD749A5" Id="ProductPatch" Version="3.7.0" Supersede="no"> </PatchFamily> </Patch> </Wix> Building of patch is successful (only with a few warning like "File 'File.Generated.105' in Component 'Component.Generated.6' was changed, but the KeyPath file 'File.Generated.101' was not.", but its ok) Then I install full 3.6.0 version => no problem. But if i try install patch 3.6.0 -> 3.7.0 i get error with following log: === Verbose logging started: 16.9.2010 11:01:12 Build type: SHIP UNICODE 5.00.7600.00 Calling process: C:\Windows\system32\msiexec.exe === MSI (c) (74:40) [11:01:12:158]: Font created. Charset: Req=238, Ret=238, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg MSI (c) (74:40) [11:01:12:158]: Font created. Charset: Req=238, Ret=238, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg MSI (c) (74:18) [11:01:12:175]: Resetting cached policy values MSI (c) (74:18) [11:01:12:175]: Machine policy value 'Debug' is 0 MSI (c) (74:18) [11:01:12:175]: ******* RunEngine: ******* Product: {FC5DAD94-199A-4492-A2EA-179FBFD749A5} ******* Action: ******* CommandLine: ********** MSI (c) (74:18) [11:01:12:176]: Machine policy value 'DisableUserInstalls' is 0 MSI (c) (74:18) [11:01:12:232]: Cloaking enabled. MSI (c) (74:18) [11:01:12:232]: Attempting to enable all disabled privileges before calling Install on Server MSI (c) (74:18) [11:01:12:240]: End dialog not enabled MSI (c) (74:18) [11:01:12:241]: Original package ==> C:\Windows\Installer\125da90.msi MSI (c) (74:18) [11:01:12:241]: Package we're running from ==> C:\Windows\Installer\125da90.msi MSI (c) (74:18) [11:01:12:244]: APPCOMPAT: Uninstall Flags override found. MSI (c) (74:18) [11:01:12:244]: APPCOMPAT: Uninstall VersionNT override found. MSI (c) (74:18) [11:01:12:244]: APPCOMPAT: Uninstall ServicePackLevel override found. MSI (c) (74:18) [11:01:12:245]: APPCOMPAT: unable to initialize database. MSI (c) (74:18) [11:01:12:252]: MSCOREE not loaded loading copy from system32 MSI (c) (74:18) [11:01:12:257]: Original patch ==> C:\Users\Fidel\Desktop\Product_3_7_0.msp MSI (c) (74:18) [11:01:12:257]: Patch we're running from ==> C:\Users\Fidel\Desktop\Product_3_7_0.msp MSI (c) (74:18) [11:01:12:257]: SOFTWARE RESTRICTION POLICY: Verifying patch --> 'C:\Users\Fidel\Desktop\Product_3_7_0.msp' against software restriction policy MSI (c) (74:18) [11:01:12:257]: Note: 1: 2262 2: DigitalSignature 3: -2147287038 MSI (c) (74:18) [11:01:12:257]: SOFTWARE RESTRICTION POLICY: C:\Users\Fidel\Desktop\Product_3_7_0.msp is not digitally signed MSI (c) (74:18) [11:01:12:260]: SOFTWARE RESTRICTION POLICY: C:\Users\Fidel\Desktop\Product_3_7_0.msp is permitted to run at the 'unrestricted' authorization level. MSI (c) (74:18) [11:01:12:260]: SequencePatches starts. Product code: {FC5DAD94-199A-4492-A2EA-179FBFD749A5}, Product version: 3.6.0.3700, Upgrade code: {C9C9E9EA-F958-4B01-AAD8-893109A1CAF4}, Product language 1029 MSI (c) (74:18) [11:01:12:260]: None of the transforms in C:\Users\Fidel\Desktop\Product_3_7_0.msp patch could be used to gather additional info, so we mark it is an invalid patch. MSI (c) (74:18) [11:01:12:260]: SequencePatches returns error 1648. no valid sequence could be found for the set of patches C:\Windows\Installer\125da90.msi MSI (c) (74:18) [11:01:12:261]: Aktualizaci {4DFEBD00-4538-42F0-8BD4-8B45408F907C} produktu Product nebylo možné nainstalovat. Kód chyby: 1648. Další informace naleznete v souboru protokolu C:\Users\Fidel\Desktop\logiik.txt. MSI (c) (74:18) [11:01:12:262]: Instalační služba systému Windows provedla instalaci aktualizace. Název produktu: Product. Verze produktu: 3.7.0. Jazyk produktu: 1029. Výrobce: Company. Název aktualizace: {4DFEBD00-4538-42F0-8BD4-8B45408F907C}. Stav instalace (úspěch nebo chyba): 1648. MSI (c) (74:18) [11:01:12:263]: Note: 1: 1708 MSI (c) (74:18) [11:01:12:263]: Produkt: Product - Instalace se nezdařila. MSI (c) (74:18) [11:01:12:264]: Instalační služba systému Windows provedla instalaci produktu. Název produktu: Product. Verze produktu: 3.6.0.3700. Jazyk produktu: 1029. Výrobce: Company. Stav instalace (úspěch nebo chyba): 1648. MSI (c) (74:18) [11:01:12:267]: MainEngineThread is returning 1648 === Verbose logging stopped: 16.9.2010 11:01:12 === Has somebody any advice or experience with this? Thankes for help. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users