]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11729: [Build-System] Fix Visual Studio 2017 15.9 Redist files detection.
authorAndrey Volk <andywolk@gmail.com>
Fri, 29 Mar 2019 14:45:45 +0000 (18:45 +0400)
committerAndrey Volk <andywolk@gmail.com>
Fri, 29 Mar 2019 14:45:45 +0000 (18:45 +0400)
w32/Setup/Setup.2017.wixproj

index cb65aa947c8748b7b64df052dc42613fd3501c55..bc80e21f7ea15b8c899daeac3c18ac52c8af963a 100644 (file)
     <CreateProperty Condition="$(FullVersion) != ''" Value="$(SolutionDir)$(UserFriendlyPlatform)\$(OutputName)-$(FullVersion)$(Revision)$(SnapshotName)-$(UserFriendlyPlatform)-$(Configuration).msi">
       <Output TaskParameter="Value" PropertyName="DestinationFileName" />
     </CreateProperty>
-    <CreateProperty Value="$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64@Major).$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64@Minor).$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64@Bld)">
+    <CreateProperty Value="$(VCToolsRedistVersion)">
+      <Output TaskParameter="Value" PropertyName="VCLibVersion" />
+    </CreateProperty>
+    <CreateProperty Condition="'$(VCLibVersion)' == ''" Value="$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64@Major).$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64@Minor).$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64@Bld)">
       <Output TaskParameter="Value" PropertyName="VCLibVersion" />
     </CreateProperty>
     <CreateProperty Value="$(VSInstallDir)\VC\Redist\MSVC\$(VCLibVersion)\MergeModules\">