Comments (9)
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.
@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.
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.
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.
Good find! That should make it easier if we can just pull it down from some where.
from networkingdsc.
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.
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.
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.
Nearly forgot about this one. Will try and get some work done on it later this week.
from networkingdsc.
Related Issues (20)
- IpConfiguration: Can't configure IPv4 address on adapter that only has IPv6 on it
- Update Sampler Build Tasks
- Enable Code Coverage Reporting
- PowerShell-DLM
- Resource parameter naming inconsistent HOT 1
- Include hidden adapters by default? HOT 3
- Remove group of FW rules HOT 1
- NetAdapterAdvancedProperty Constantly Re-Running
- Issue with Networkteaminterface when vlanid is used
- Problem with DSC Automate Account
- Update Azure DevOps Pipeline Images
- Update CI Pipeline Files from Latest Pattern
- Intermittent Integration Test Failures on Windows Server 2022
- Netbios: Fails to disable when NIC has link down HOT 6
- Correct Changelog.md Heading HOT 3
- DnsServerAddress: Fails when trying to rename network adapter when running Test
- NetBios resource failing for Azure VMs with Accelerated Networking enabled
- Firewall resource isn't properly identifying some built-in rules on Windows Server (2019 and 2022 tested) HOT 5
- The first byte of the proxy settings binary was '60' but should have been 0x46. HOT 1
- Puppet Module Source Repo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from networkingdsc.