Add VC142 CRT MergeModules to installer (#2862)

This commit is contained in:
Tomas Agustin Raies
2020-05-11 15:05:10 -07:00
committed by GitHub
parent 50d91670ec
commit 5f42866cea
4 changed files with 13 additions and 1 deletions

View File

@@ -185,6 +185,14 @@
BinaryKey="PTCustomActions"
DllEntry="DetectPrevInstallPathCA"
/>
<!-- Redist merge modules -->
<DirectoryRef Id="TARGETDIR">
<Merge Id="VCRedist" SourceFile="$(var.RepoDir)installer\MergeModules\$(var.Configuration)\Microsoft_VC142_CRT_x64.msm" DiskId="1" Language="0"/>
</DirectoryRef>
<Feature Id="VCRedist" Title="Visual C++ 14.0 Runtime" AllowAdvertise="no" Display="hidden" Level="1">
<MergeRef Id="VCRedist"/>
</Feature>
<!-- Close 'PowerToys.exe' before uninstall-->
<Property Id="MSIRESTARTMANAGERCONTROL" Value="Disable" />