diff options
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/exe/exe.wixproj | 3 | ||||
-rw-r--r-- | Tools/msi/exe/exe_files.wxs | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Tools/msi/exe/exe.wixproj b/Tools/msi/exe/exe.wixproj index 326766b..be44f44 100644 --- a/Tools/msi/exe/exe.wixproj +++ b/Tools/msi/exe/exe.wixproj @@ -11,6 +11,9 @@ <SuppressICEs>ICE43</SuppressICEs> </PropertyGroup> <Import Project="..\msi.props" /> + <PropertyGroup Condition="exists('$(BuildPath)vcruntime140_1.dll')"> + <DefineConstants>$(DefineConstants);Include_Vcruntime140_1_dll=1</DefineConstants> + </PropertyGroup> <ItemGroup> <Compile Include="exe.wxs" /> <Compile Include="exe_files.wxs" /> diff --git a/Tools/msi/exe/exe_files.wxs b/Tools/msi/exe/exe_files.wxs index 483d06c..15bf6a0 100644 --- a/Tools/msi/exe/exe_files.wxs +++ b/Tools/msi/exe/exe_files.wxs @@ -30,8 +30,13 @@ </RegistryKey> </Component> <Component Id="vcruntime140.dll" Directory="InstallDirectory" Guid="*"> - <File Name="vcruntime140.dll" Source="!(bindpath.redist)vcruntime140.dll" KeyPath="yes" /> + <File Name="vcruntime140.dll" Source="vcruntime140.dll" KeyPath="yes" /> </Component> +<?ifdef Include_Vcruntime140_1_dll ?> + <Component Id="vcruntime140_1.dll" Directory="InstallDirectory" Guid="*"> + <File Name="vcruntime140_1.dll" Source="vcruntime140_1.dll" KeyPath="yes" /> + </Component> +<?endif ?> </ComponentGroup> </Fragment> |