[wix-users] FW: Burn: Patches fail to install when multiple patches present with same patch at Id patch code

Bob Arnson bob at firegiant.com
Mon Jul 30 09:10:24 PDT 2018


No, patch codes are generated at compile time because they're used elsewhere during compilation.

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Greg Domjan via wix-users
Sent: Thursday, 26 July, 2018 02:17
To: wix-users at lists.wixtoolset.org
Cc: Greg Domjan <Greg.Domjan at microfocus.com>
Subject: [wix-users] FW: Burn: Patches fail to install when multiple patches present with same patch at Id patch code


Trying to make a patch bundle for multi platform multi locale.
Re: https://github.com/wixtoolset/issues/issues/5851

Identified now that patch at id should be unique for each item in the matrix I was unaware they could conflict, thought that conditions would apply first.


Rather than compiling the wxs for each locale to get auto generated codes, is it possible to get those code generated during link?

When I try to use an id drawn from localization similar to building an MSI I get an error in compiling.

  <?if $(var.Platform)="x64"?>
  <?define PatchCode=!(loc.PatchCode32) ?>
  <?else?>
  <?define PatchCode=!(loc.PatchCode64) ?>
  <?endif?>

                <Patch Id="$(var.PatchCode)"


<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Culture="de-DE" Codepage='1252'>
                <String Id='PatchCode32'>{BB801031-32E2-41B9-AF5A-46598ACBEB89}</String>
                <String Id='PatchCode64'>{BB801031-64E2-41B9-AF5A-46598ACBEB89}</String>
</WixLocalization>


I'm getting an error currently
candle.exe : error CNDL0001 : Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).


Greg Domjan



____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list