summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Maudsley <richard.maudsley@isode.com>2014-06-11 07:54:04 (GMT)
committerRichard Maudsley <richard.maudsley@isode.com>2014-06-11 07:54:04 (GMT)
commit0d5c2da5c9d2491db90a65766b0224cd47a0f953 (patch)
tree3f7e19bd6fde55d9a11e48aab6ee744db6c65dab /Swift/Packaging/WiX
parenteb6fdb866e5ffd467ad0f08fb4bcc50a5af37a22 (diff)
downloadswift-0d5c2da5c9d2491db90a65766b0224cd47a0f953.zip
swift-0d5c2da5c9d2491db90a65766b0224cd47a0f953.tar.bz2
Fix vcredist bundling in WIX installer.
Change-Id: I499db0b68cc5e492a35d931b146094446e183682
Diffstat (limited to 'Swift/Packaging/WiX')
-rw-r--r--Swift/Packaging/WiX/Swift.wxs26
1 files changed, 8 insertions, 18 deletions
diff --git a/Swift/Packaging/WiX/Swift.wxs b/Swift/Packaging/WiX/Swift.wxs
index 4215679..c14f23d 100644
--- a/Swift/Packaging/WiX/Swift.wxs
+++ b/Swift/Packaging/WiX/Swift.wxs
@@ -55,24 +55,14 @@
<!--
VC Redistributable
-->
- <!-- Disabling CRT merge module, because it's not working
- <Feature Id='CRT' Title='Visual C++ Runtime' AllowAdvertise='no' Display='hidden' Level='1'>
- <MergeRef Id="CRT"/>
- </Feature>
- -->
- <Binary Id="CRT.exe" SourceFile="$(var.VCCRTFile)"/>
- <CustomAction Id="InstallCRT" Impersonate="yes" Return="ignore" Execute="immediate" BinaryKey="CRT.exe" ExeCommand="/qb"/>
- <Property Id="CRT_INSTALLED" Secure="yes">
- <RegistrySearch Id="VC2008SP1REDIST_X86Value" Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475}" Name="Publisher" Type="raw" Win64="no" />
- </Property>
- <!-- The following snippet should work for VC 2010
- <Upgrade Id='{1F4F1D2A-D9DA-32CF-9909-48485DA06DD5}'>
- <UpgradeVersion OnlyDetect='yes' Property='CRT_INSTALLED' Minimum='10.0.40219' IncludeMinimum='yes'/>
- </Upgrade>
- -->
- <InstallUISequence>
- <Custom Action="InstallCRT" After="ProgressDlg">Not Installed And Not CRT_INSTALLED</Custom>
- </InstallUISequence>
+
+ <Binary Id="CRTBinary" SourceFile="$(var.VCCRTFile)"/>
+
+ <CustomAction Id="CRTAction" Impersonate="no" Return="asyncNoWait" Execute="deferred" BinaryKey="CRTBinary" ExeCommand="/passive"/>
+
+ <InstallExecuteSequence>
+ <Custom Action='CRTAction' After='InstallInitialize'/>
+ </InstallExecuteSequence>
</Product>
</Wix>