summaryrefslogtreecommitdiff
path: root/Tools/msi/crt/crt.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/msi/crt/crt.wxs')
-rw-r--r--Tools/msi/crt/crt.wxs26
1 files changed, 26 insertions, 0 deletions
diff --git a/Tools/msi/crt/crt.wxs b/Tools/msi/crt/crt.wxs
new file mode 100644
index 0000000000..5b100956af
--- /dev/null
+++ b/Tools/msi/crt/crt.wxs
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+ <Product Id="*" Language="!(loc.LCID)" Name="!(loc.Title)" Version="$(var.Version)" Manufacturer="!(loc.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
+ <Package InstallerVersion="300" Compressed="yes" InstallScope="perUser" Platform="$(var.Platform)" />
+ <MediaTemplate EmbedCab="yes" CompressionLevel="high" />
+
+ <PropertyRef Id="UpgradeTable" />
+
+ <?if $(var.Platform)~=x64 ?>
+ <?define DirName=System64?>
+ <?else ?>
+ <?define DirName=System?>
+ <?endif ?>
+ <DirectoryRef Id="TARGETDIR">
+ <Directory Id="$(var.DirName)Folder" Name="$(var.DirName)">
+ <Directory Id="SystemInstallDirectory" Name="." />
+ </Directory>
+ </DirectoryRef>
+ <?undef DirName ?>
+
+ <Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
+ <ComponentGroupRef Id="crt_files" />
+ </Feature>
+ </Product>
+</Wix>
+