Giter Site home page Giter Site logo

Comments (9)

tysonjhayes avatar tysonjhayes commented on July 24, 2024

Wonder if we can get devcon into a nuget or chocolatey package to just get devcon.exe? That would solve the problem of the download of the exe.

from networkingdsc.

PlagueHO avatar PlagueHO commented on July 24, 2024

@tysonjhayes - good idea! I took a quick scan of Chocolatey in case someone had already done it - but no dice. But I'm sure packaging this is technically easy enough though, the question comes down to whether the app is allowed to be distributed this way (licensing issue?) - I'd think so as it seems to come with lots of different drivers.

from networkingdsc.

PlagueHO avatar PlagueHO commented on July 24, 2024

Actually, I don't see why we shouldn't build this into a choco package- the source code for Devcon is up on GitHub anyway.

I'll see if I can package it up.

from networkingdsc.

PlagueHO avatar PlagueHO commented on July 24, 2024

I've created a new repo that contains a Chocolatey package definition for devcon.exe.

The repo has an AppVeyor.yml definition that clones the devcon.exe source code from the MS Repo on GitHub (linked previously), builds the DevCon.exe and then packages it into a Chocolatey package. The package then gets uploaded as an AppVeyor.yml artifact.

It isn't currently automatically pushing it to Chocolatey - I'm doing that manually right now.

I've uploaded the package to Chocolatey but it hasn't yet been reviewed so it can't be seen yet. If you have a Chocolatey account I can add you as a maintainer if you want?

from networkingdsc.

tysonjhayes avatar tysonjhayes commented on July 24, 2024

Good find! That should make it easier if we can just pull it down from some where.

from networkingdsc.

PlagueHO avatar PlagueHO commented on July 24, 2024

Cheers! I'm going to also convert the Loopback adapter creation and removal code into a PS Module and upload that into PowerShell Gallery. Are these new repos I'm creating worth transferring over to you? It might be best to keep any Integration test dependencies under the same authority as the xNetworking repo I was thinking.

Anyway, Chocolatey has accepted the Devcon.portable package:
https://chocolatey.org/packages/devcon.portable/10.0.10586.0

Can install a new Loopback adapter with:

devcon install c:\windows\inf\netloop.inf *MSLOOP

I'm putting all this into the LoopbackAdapter PS Module.

from networkingdsc.

PlagueHO avatar PlagueHO commented on July 24, 2024

Quick update:

I had to rebuild my Chocolatey package because I needed both 32-bit and 64-bit versions of DevCon.exe in it. So I've resubmitted it - waiting for package approval now.

In the meantime I wrote a PS module for managing Loopback Adapters. I've uploaded this to PowerShell Gallery, but haven't released it yet because it requires the Chocolatey package to be available.

So once all that is done I can submit the PR with the integration tests that use the Loopback Adapter module.

from networkingdsc.

PlagueHO avatar PlagueHO commented on July 24, 2024

Update: Finally got the Chocolatey package accepted - they had to verify the DevCon.exe bits were actually the ones in the WDK.

So have released the Loopback Adapter module now, which is required by these tests.

from networkingdsc.

PlagueHO avatar PlagueHO commented on July 24, 2024

Nearly forgot about this one. Will try and get some work done on it later this week.

from networkingdsc.

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.