Skip to content

Commit

Permalink
windows, installer: Bundle latest runtime version
Browse files Browse the repository at this point in the history
Until now we were bundling MSVC120 x86 runtime.

This patch changes it too the latest version and also add the 64 bit version
of it.

Signed-off-by: Alin Gabriel Serdean <[email protected]>
Acked-by: Ilya Maximets <[email protected]>
  • Loading branch information
aserdean authored and Alin Gabriel Serdean committed Oct 4, 2020
1 parent aaa1df7 commit fd8e707
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion windows/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ windows_installer: all
cp -f $(top_srcdir)/ovsdb/ovsdb-tool.pdb windows/ovs-windows-installer/Symbols/
#Third party files needed by the installer
cp -f $(PTHREAD_WIN32_DIR_DLL_WIN_FORM)/*.dll windows/ovs-windows-installer/Binaries/
cp -f "/c/Program Files (x86)/Common Files/Merge Modules/Microsoft_VC120_CRT_x86.msm" windows/ovs-windows-installer/Redist/Microsoft_VC120_CRT_x86.msm
cp -f "/c/Program Files (x86)/Common Files/Merge Modules/Microsoft_VC140_CRT_x86.msm" windows/ovs-windows-installer/Redist/Microsoft_VC140_CRT_x86.msm
cp -f "/c/Program Files (x86)/Common Files/Merge Modules/Microsoft_VC140_CRT_x64.msm" windows/ovs-windows-installer/Redist/Microsoft_VC140_CRT_x64.msm
#Forwarding extension files needed for the installer
cp -f $(top_srcdir)/datapath-windows/x64/Win8$(VSTUDIO_CONFIG)/package/ovsext.cat windows/ovs-windows-installer/Driver/Win8/ovsext.cat
cp -f $(top_srcdir)/datapath-windows/x64/Win8$(VSTUDIO_CONFIG)/package/ovsext.inf windows/ovs-windows-installer/Driver/Win8/ovsext.inf
Expand Down
11 changes: 8 additions & 3 deletions windows/ovs-windows-installer/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,13 @@
<ComponentGroupRef Id="SymbolsComponentGroup" />
<ComponentRef Id="OpenvSwitchEnvVars" />

<Feature Id="VC120Redist" Title="Visual C++ 12.0 Runtime" AllowAdvertise="no" Display="hidden" Level="1"
<Feature Id="VC140Redistx86" Title="Visual C++ 14 Runtime x86" AllowAdvertise="no" Display="hidden" Level="1"
Absent="disallow" InstallDefault="followParent" TypicalDefault="install">
<MergeRef Id="VC120Redist" />
<MergeRef Id="VC140Redistx86" />
</Feature>
<Feature Id="VC140Redistx64" Title="Visual C++ 14 Runtime x64" AllowAdvertise="no" Display="hidden" Level="1"
Absent="disallow" InstallDefault="followParent" TypicalDefault="install">
<MergeRef Id="VC140Redistx64" />
</Feature>
</Feature>

Expand Down Expand Up @@ -260,7 +264,8 @@

<Fragment>
<DirectoryRef Id="TARGETDIR">
<Merge Id="VC120Redist" SourceFile="Redist\Microsoft_VC120_CRT_x86.msm" DiskId="1" Language="0" />
<Merge Id="VC140Redistx86" SourceFile="Redist\Microsoft_VC140_CRT_x86.msm" DiskId="1" Language="0" />
<Merge Id="VC140Redistx64" SourceFile="Redist\Microsoft_VC140_CRT_x64.msm" DiskId="1" Language="0" />
</DirectoryRef>
</Fragment>

Expand Down

0 comments on commit fd8e707

Please sign in to comment.