ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master 4e6a80f: NSIS: try harder to find VS2015/VS2017 vcred

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 20 Aug 2018 05:28:11 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4e6a80f3e31a5bce8b162abd1a1069ca1e923ed1
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

4e6a80f by Peter Wu (peter@xxxxxxxxxxxxx):

    NSIS: try harder to find VS2015/VS2017 vcredist
    
    The vcredist version (directory name) has changed. Instead of listing
    all possible versions, just glob for it. I only observed a single
    directory anyway.
    
    As CMake can find compilers without vcvarsall.bat, it is possible that
    env var VCINSTALLDIR is not set. Fallback to querying the location from
    the registry (as was done in VS2015).
    
    The MSVC_VERSION/VS/VCRT table is partially based on
    https://blogs.msdn.microsoft.com/vcblog/2017/11/15/side-by-side-minor-version-msvc-toolsets-in-visual-studio-2017/
    
    Change-Id: I58107597c5037ab597a0d620925cb870e6ef7793
    Reviewed-on: https://code.wireshark.org/review/28980
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  5f81656   h265: fix no newline at end of file [-Wnewline-eof]
     add  4e6a80f   NSIS: try harder to find VS2015/VS2017 vcredist


Summary of changes:
 packaging/nsis/CMakeLists.txt | 43 ++++++++++++++++++++++++++++++-------------
 1 file changed, 30 insertions(+), 13 deletions(-)