Skip to content

Commit 7d8af1c

Browse files
committed
IB-3728 Fix x86 build
1 parent b5fd3cb commit 7d8af1c

File tree

1 file changed

+46
-45
lines changed

1 file changed

+46
-45
lines changed

Eesti_ID_kaart.wxs

Lines changed: 46 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -325,42 +325,7 @@
325325
<File Id="atl110.dll_x86" Source="Runtime\x86\atl110.dll" Checksum="yes" Vital="yes"/>
326326
</Component>
327327
</DirectoryRef>
328-
329-
<DirectoryRef Id="System64Folder">
330-
<Component Id="msvcr120.dll_x64" Guid="74CCB83C-31F8-4790-AEB5-71364FDA52AA" Win64="yes">
331-
<Condition>NOT CRT_12_INSTALLED_X64</Condition>
332-
<File Id="msvcr120.dll_x64" Source="Runtime\x64\msvcr120.dll" Checksum="yes" Vital="yes"/>
333-
<File Id="msvcp120.dll_x64" Source="Runtime\x64\msvcp120.dll" Checksum="yes" Vital="yes"/>
334-
</Component>
335-
</DirectoryRef>
336-
<DirectoryRef Id="System64Folder">
337-
<Component Id="msvcr110.dll_x64" Guid="4A2AAF9C-BF01-4B70-8F8D-D5DECE1448FC" Win64="yes">
338-
<Condition>NOT CRT_11_INSTALLED_X64</Condition>
339-
<File Id="msvcr110.dll_x64" Source="Runtime\x64\msvcr110.dll" Checksum="yes" Vital="yes"/>
340-
<File Id="msvcp110.dll_x64" Source="Runtime\x64\msvcp110.dll" Checksum="yes" Vital="yes"/>
341-
</Component>
342-
</DirectoryRef>
343-
<DirectoryRef Id="System64Folder">
344-
<Component Id="msvcr100.dll_x64" Guid="840D6314-B49C-4EE5-A764-A8BEB03E0BD8" Win64="yes">
345-
<Condition>NOT CRT_10_INSTALLED_X64</Condition>
346-
<File Id="msvcr100.dll_x64" Source="Runtime\x64\msvcr100.dll" Checksum="yes" Vital="yes"/>
347-
<File Id="msvcp100.dll_x64" Source="Runtime\x64\msvcp100.dll" Checksum="yes" Vital="yes"/>
348-
</Component>
349-
</DirectoryRef>
350-
351-
<DirectoryRef Id="System64Folder">
352-
<Component Id="atl100.dll_x64" Guid="ECB62CE0-D59F-44A0-A094-9B8B284C02F2" Win64="yes">
353-
<Condition>NOT ATL_10_INSTALLED_X64</Condition>
354-
<File Id="atl100.dll_x64" Source="Runtime\x64\atl100.dll" Checksum="yes" Vital="yes"/>
355-
</Component>
356-
</DirectoryRef>
357-
<DirectoryRef Id="System64Folder">
358-
<Component Id="atl110.dll_x64" Guid="1A2D3BB8-986F-4CBA-840A-7B3FEF39CC39" Win64="yes">
359-
<Condition>NOT ATL_11_INSTALLED_X64</Condition>
360-
<File Id="atl110.dll_x64" Source="Runtime\x64\atl110.dll" Checksum="yes" Vital="yes"/>
361-
</Component>
362-
</DirectoryRef>
363-
328+
364329
<Feature Id="Runtimes_X86" Title="Visual C++ 12.0 Runtime CRT 86" AllowAdvertise="no" Display="hidden" Level="1">
365330
<!-- <ComponentRef Id="msvcr90.dll_x86"/> -->
366331
<ComponentRef Id="msvcr100.dll_x86"/>
@@ -370,15 +335,51 @@
370335
<ComponentRef Id="atl110.dll_x86"/>
371336
</Feature>
372337

373-
<Feature Id="Runtimes_X64" Title="Visual C++ 12.0 Runtime CRT 64" AllowAdvertise="no" Display="hidden" Level="1">
374-
<!-- <ComponentRef Id="msvcr90.dll_x64"/> -->
375-
<ComponentRef Id="msvcr100.dll_x64"/>
376-
<ComponentRef Id="msvcr110.dll_x64"/>
377-
<ComponentRef Id="msvcr120.dll_x64"/>
378-
<ComponentRef Id="atl100.dll_x64"/>
379-
<ComponentRef Id="atl110.dll_x64"/>
380-
</Feature>
381-
338+
<?if $(var.Platform)=x64 ?>
339+
<DirectoryRef Id="System64Folder">
340+
<Component Id="msvcr120.dll_x64" Guid="74CCB83C-31F8-4790-AEB5-71364FDA52AA" Win64="yes">
341+
<Condition>NOT CRT_12_INSTALLED_X64</Condition>
342+
<File Id="msvcr120.dll_x64" Source="Runtime\x64\msvcr120.dll" Checksum="yes" Vital="yes"/>
343+
<File Id="msvcp120.dll_x64" Source="Runtime\x64\msvcp120.dll" Checksum="yes" Vital="yes"/>
344+
</Component>
345+
</DirectoryRef>
346+
<DirectoryRef Id="System64Folder">
347+
<Component Id="msvcr110.dll_x64" Guid="4A2AAF9C-BF01-4B70-8F8D-D5DECE1448FC" Win64="yes">
348+
<Condition>NOT CRT_11_INSTALLED_X64</Condition>
349+
<File Id="msvcr110.dll_x64" Source="Runtime\x64\msvcr110.dll" Checksum="yes" Vital="yes"/>
350+
<File Id="msvcp110.dll_x64" Source="Runtime\x64\msvcp110.dll" Checksum="yes" Vital="yes"/>
351+
</Component>
352+
</DirectoryRef>
353+
<DirectoryRef Id="System64Folder">
354+
<Component Id="msvcr100.dll_x64" Guid="840D6314-B49C-4EE5-A764-A8BEB03E0BD8" Win64="yes">
355+
<Condition>NOT CRT_10_INSTALLED_X64</Condition>
356+
<File Id="msvcr100.dll_x64" Source="Runtime\x64\msvcr100.dll" Checksum="yes" Vital="yes"/>
357+
<File Id="msvcp100.dll_x64" Source="Runtime\x64\msvcp100.dll" Checksum="yes" Vital="yes"/>
358+
</Component>
359+
</DirectoryRef>
360+
361+
<DirectoryRef Id="System64Folder">
362+
<Component Id="atl100.dll_x64" Guid="ECB62CE0-D59F-44A0-A094-9B8B284C02F2" Win64="yes">
363+
<Condition>NOT ATL_10_INSTALLED_X64</Condition>
364+
<File Id="atl100.dll_x64" Source="Runtime\x64\atl100.dll" Checksum="yes" Vital="yes"/>
365+
</Component>
366+
</DirectoryRef>
367+
<DirectoryRef Id="System64Folder">
368+
<Component Id="atl110.dll_x64" Guid="1A2D3BB8-986F-4CBA-840A-7B3FEF39CC39" Win64="yes">
369+
<Condition>NOT ATL_11_INSTALLED_X64</Condition>
370+
<File Id="atl110.dll_x64" Source="Runtime\x64\atl110.dll" Checksum="yes" Vital="yes"/>
371+
</Component>
372+
</DirectoryRef>
373+
374+
<Feature Id="Runtimes_X64" Title="Visual C++ 12.0 Runtime CRT 64" AllowAdvertise="no" Display="hidden" Level="1">
375+
<!-- <ComponentRef Id="msvcr90.dll_x64"/> -->
376+
<ComponentRef Id="msvcr100.dll_x64"/>
377+
<ComponentRef Id="msvcr110.dll_x64"/>
378+
<ComponentRef Id="msvcr120.dll_x64"/>
379+
<ComponentRef Id="atl100.dll_x64"/>
380+
<ComponentRef Id="atl110.dll_x64"/>
381+
</Feature>
382+
<?endif ?>
382383

383384
<!-- Install to all users -->
384385
<Property Id="ALLUSERS" Value="1"/>

0 commit comments

Comments
 (0)