summaryrefslogtreecommitdiff
path: root/Tools/msi/crt/crt_files.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/msi/crt/crt_files.wxs')
-rw-r--r--Tools/msi/crt/crt_files.wxs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tools/msi/crt/crt_files.wxs b/Tools/msi/crt/crt_files.wxs
new file mode 100644
index 0000000000..46f7d6efc3
--- /dev/null
+++ b/Tools/msi/crt/crt_files.wxs
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+ <Fragment>
+ <?if $(var.Platform)~=x64 ?>
+ <?define vcruntime140Guid={B33258FD-750C-3B42-8BE4-535B48E97DB4}?>
+ <?else ?>
+ <?define vcruntime140Guid={E8E39D3B-4F35-36D8-B892-4B28336FE041}?>
+ <?endif ?>
+ <ComponentGroup Id="crt_files">
+ <Component Id="vcruntime140.dll_LM" Directory="SystemInstallDirectory" Guid="$(var.vcruntime140Guid)" Shared="yes" SharedDllRefCount="yes">
+ <Condition>ALLUSERS=1</Condition>
+ <File Id="vcruntime140.dll_LM" Source="!(bindpath.crt)\vcruntime140.dll" />
+ </Component>
+ <Component Id="vcruntime140.dll_CU" Directory="InstallDirectory" Guid="*">
+ <Condition>NOT ALLUSERS=1</Condition>
+ <File Id="vcruntime140.dll_CU" Source="!(bindpath.crt)\vcruntime140.dll" />
+ </Component>
+ </ComponentGroup>
+ </Fragment>
+</Wix>