[wix-users] FW: Burn: Patches fail to install when multiple patches present with same patch at Id patch code
Greg Domjan
Greg.Domjan at microfocus.com
Wed Jul 25 23:16:41 PDT 2018
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
More information about the wix-users
mailing list