Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 526
    • Issues 526
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 92
    • Merge requests 92
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #223
Closed
Open
Created Apr 24, 2018 by Ghost User@ghost

Fix for Configure to find the path to VC++ redistributables under Visual Studio 2017

Starting with Visual Studio 2017 (15.x), win32utils\Configure can no longer find the path to the 'VC++ 2017 Redistributable' files. To resolve this issue,

add

    # 'VCToolsRedistDir' is available since Visual Studio 2017.
    if ($ENV{"VCToolsRedistDir"}) {
        push(@vcpaths, $ENV{"VCToolsRedistDir"});
    }

after

    if ($ENV{"VCINSTALLDIR"}) {
        push(@vcpaths, File::Spec->catfile($ENV{"VCINSTALLDIR"},
                                           "redist", "1033"));
    }

in win32utils\Configure.

However, this fix does not work for VS 2017 versions 15.5.0, 15.5.1, and 15.5.2, because those versions only ship 'vc_redist.x86.exe' and 'vc_redist.x64.exe'; and 'vcredist_x86.exe' and 'vcredist_x64.exe' are hard-coded in the Windows installer.

Assignee
Assign to
Time tracking