Giter VIP home page Giter VIP logo

Comments (5)

caesay avatar caesay commented on June 12, 2024 1

It's not a huge change, I'd be happy for you send a pull request if you are interested!

The redist for 2015-2022 is all at the same download url and is fully backwards compatible. When installing, if your required version is more recent than the currently installed version, we just always install the latest version.

To support older versions, we will need to allow different download URL's to be provided. This could be done by providing a new constructor in VCRedistInfo, allowing a download url to be supplied (for both x86 and x64). An alternative (possibly cleaner way) would be to create a new class LegacyVCRedistInfo which derives from VCRedistInfo and just overrides the GetDownloadUrl method.

You can find the details of the 2015-2022 behavior, as well as the download links and current versions for older redists at this link: https://docs.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022

from clowd.squirrel.

caesay avatar caesay commented on June 12, 2024 1

You may also want to override the InvokeInstaller function, if installing very old runtimes, if the supported arguments have changed. You can usually check for supported command line arguments by doing vcredist.exe -h

from clowd.squirrel.

theresia-tobii avatar theresia-tobii commented on June 12, 2024

Ok, I will give it a go this weekend.

from clowd.squirrel.

caesay avatar caesay commented on June 12, 2024

I have added 2010-2013, if you need anything other than that feel free to send a PR

from clowd.squirrel.

caesay avatar caesay commented on June 12, 2024

This is now released in 2.7.79.

from clowd.squirrel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.