I hope they also add stuff like SQL Server and other Microsoft middleware to this system. That would be a dream for automated deployments. No more home-made scripted installs, just call the package manager like you do on Linux.
Windows package management isn't a problem that can be fixed with a shinier tool.
Linux package management succeeds because the software in a distro's repositories is FOSS, which means the maintainers were able to legally repackage and redistribute it using a common package format. Some commercial software vendors also use the package manager, since it's guaranteed to be present and makes it easy to distribute updates.
Many Windows applications are not FOSS, and cannot be redistributed without the permission of the copyright holder. Given that many commercial software vendors cover their distribution costs with advertising/up sells on their web site or crapware bundled in the installer, there's little incentive for these vendors to use a third-party software distribution mechanism. This is why Ninite has a relatively limited selection, compared to the thousands of applications available in a typical Linux distro repository.
Chocolatey tries to get around this reality by linking directly to the installers on the vendors' website/CDN. However, not only is this incredibly insecure, you're at the mercy of the vendor to maintain that distribution point. In addition, Chocolatey relies on the vendor providing a silent install option. The installer doesn't have one? Sucks to be you.
OneGet gives vendors the ability to create their own distributions engines and wrap it up in a common API, but the vendors that care already have the distribution technologies in place, and they're not going to replace that (or frankly, even supplement it) with a system that works for the small fraction of the userbase that has a version of Windows with OneGet.
I predict OneGet will follow the same path as MSI, PowerShell, Group Policy, SCCM, and many other Microsoft sysadmin tools: used heavily by Microsoft and a handful of their major partners, but ignored by pretty much anyone else.
That was for Windows OneGet, but you can just 's/OneGet/Windows Package Manager/g', and it would be just as relevant.
How many third-party applications have you come across (that aren't targetted at system administrators) that supplied their own Group Policy administrative templates or PowerShell CmdLets?
I predict OneGet will follow the same path as MSI, PowerShell,
Hah. "Same path as PowerShell".
Strange statement. Seems like you're looking at this from a forced perspective... or don't believe this statement proved to be incorrect 6 years later.
I have to respectfully disagree about that last part, at least in regards to Powershell and Group Policy. I'm sure SCCM has more limited deployment, as does actual MSI editing, but I don't agree that post from 2014 held up :)
How is linking to the vendors' website insecure? Hell, it's less insecure than linking to some central repository (because whatever is on that central repository probably came from the vendor website).
In the case of Chocolatey, you're dependent on the vendor to continue hosting the artifacts that the package downloads and installs, and you're also dependent on the vendor not to change the software after the fact. Chocolately has some basic checksumming support, but that's not nearly as strong of a guarantee as a full package signature, and it doesn't work for application installers that themselves perform further package installations.
(I will admit that I haven't look at Chocolatey in a while, so some of these concerns might be outdated.)
without having to invest a lot of time trying to figure out all the intricacies
And all the workarounds you'll need based on certain configurations or previous updates or whatever conflicting bug another Microsoft team introduced into the OS. You'll see posts here how something broke with some common package and a bunch of responses "me too" and it turns out Microsoft screwed up again. The people who are downvoting you must have limited experience with Microsoft or their head so far up their ass, it's confusing them.
I am super stoked about this, but like one commenter on their GitHub wrote: "All it does is downloading installers (which are not packages) and executing them (which is not management).".
Also no update or uninstall... I will stick to choco for the moment. But I would love to see winget mature and become a usable tool!
To be fair there's really no difference between "maintaining" the website or "maintaining" this, in both cases you're not really doing anything because it's automated. It's not like anyone manually updates links in HTML when a new version of something comes out π
not having dependencies automatically installed seems weird but if you think about it most windows programs don't really have dependencies like on linux
They do, many programs require some .NET version or VC++ redistributables, DirectX for games. Just see how much stuff you need to install for Visual Studio
yeah but aside from the latest version of net and vc++ they are all bundled with windows, but those are pretty much the only dependencies everything else is usually bundled in with the software
for example on linux if a program use qt5 you'll have a system qt5 installation like for the .net and vc++ libraries and every qt5 programs will use the same libraries, on windows instead every qt5 program will bundle the qt5 dlls
Think how this could change Windows Deployment, hopefully no longer having to maintain a fileshare of apps to install, now just run a command at install time, and poof, your app is installed, you may have to add some 3rd party repos, but it's got to be easer than messing around with MSI switches. No more clunky, hacky installs, just winget install <appName>, done.
With this and DoH being tested for the next release, 20H2 is looking like a banger in September/October
Most companies like the one I work at would keep their own repo with compatible/vetted versions that can be used for security reasons. Apps can still change hands and malicious code be snuck in although it sounds like several precautions are being put in place to reduce that risk.
It comes as a store update to the "App Installer" (msix/appx sideloading helper) app - so if you don't have the Store blocked, it could already be rolling out to your machines from what I understand. Or is it limited to registered insiders for now?
I'm just sitting here shaking my head at Microsoft being Microsoft yet again and reinventing the wheel when they've already got another internal project working in the same domain.
I mean, this would make a little more sense if it were intended for the average power user, but it sounds like they're aiming this squarely at the developer market. So why not work on extending NuGet into a more generalized solution, instead of splitting their development resources across two separate teams and requiring end users to install yet another tool?
We looked at several other package managers. There were several reasons leading us to create a new solution. One critical concern we had was how to build a repository of trusted applications. We are automatically checking each manifest. We leverage SmartScreen, static analysis, SHA256 hash validation and a few other processes to reduce the likelihood of malicious software making its way into the repository and onto your machine. Another key challenge was all the changes required to be able to deliver the client program as a native Windows application.
Another key challenge was all the changes required to be able to deliver the client program as a native Windows application.
I assume that even with the open source lovefest Microsoft seems to be in on, the bar for getting something included as an "in box" portion of a product must be incredibly high. Soon as the next LTSC comes out they're on the hook for supporting it for 10 years so it had better be good. :-)
I guess that's another reason why they decoupled PowerShell from Windows...so they could rev it faster.
Hmmm, I generally don't distinguish between the licenses that much. You're the first person I've ever met that distinguished between FOSS and FLOSS. I guess I just thought FLOSS was the newer hipper term for FOSS.
NuGet is not an application packaging and deployment platform. It exists to serve C#/PowerShell packages/modules based on how I've seen it used.
That is how it's primarily used now, yes, but there's no reason it can't be used as an application packing system (as Chocolately has already demonstrated).
Sounds like it's going to be there by default. No installation.
What gives you that impression? The announcement talks about installing it from the Microsoft Store. At most I could see them making it available through the "Add Features" interface like they do OpenSSH and RSAT.
Does that mean Chocolatey is dead? Or is the bar for getting packages into WinGet much higher?
It looks like Microsoft is preparing to have WSL and Windows just swap places in some future release and have Windows become a compatibility shim on top of Linux. :-)
Off topic, why does everyone love YAML so much? Or any file format where whitespace matters for that matter? I get it, XML is super-verbose, JSON isn't intuitive for non programmers...but YAML?? I don't get it...
Because all valid YAML is convertible to valid JSON and vice versa. It's more natural and faster (for me at least) to write something in YAML than in JSON and the whitespace makes it easy to read and makes it look consistent across editors or applications vs having to pretty-print JSON output because 9 times out of 10 it's going to have the whitespace stripped.
I interact with it on a day to day basis for configuration files, and one of the most useful things is the ability to create multi-line strings with |. Trying to do that in JSON requires manual escaping of the newlines, quotes, etc. which would be a nightmare for passing in the text of a Python script, for example, to a content parameter of a Puppet file resource.
YAML is for humans to write something to tell the machine something, where JSON is machine-speak for talking to other machines that is intelligible to humans and can be spoken relatively easily if a human needs to initiate a machine is my interpretation.
Extending that comparison, XML is speaking proper Formal English constantly, which gives you the exact unambiguous specifics... in three times as long as it would have taken to say it in vernacular.
tl;dr less of a pain in the ass to write something in YAML over JSON, and fuck XML
Small correction, valid YAML is not easily convertible to JSON without losing information (namely comments) but the reverse is true, i.e. JSON is a subset of YAML.
Chocolatey could rebuild to implement this if it's in all version of Windows but it could be a year until some places see 1909 let alone a version of Win10 with this up and running and trusted vs existing tools.
I'm all for it, but it will take time to reach all corners.
I've been working on a similar thing (using a JSON manifest) based on PSAppDeployToolkit and was hoping to start a blog with a more official release info but I'm just going to throw this out there as is:
I hope this WinGet does everything I was working on. (I have more manifests that are not committed but I want to keep working on this for now as most of the time, I need to tease out method to get a silent install going.)
From what I can tell it just downloads an installer and runs it?
What about all the other things that a package manager does? Such as updates, uninstallation, integrity validation, dependency resolution, conflict resolution, or at least knowing which files belong to which package?
This just seems like another half-assed attemt that seems familiar on the outside (just run `winget install <package>` just like you would run `apt install <package>` on Linux guys, it's totally the same!), but behind the scenes it's a pile of crap built on top of all the horrible installers that already exist.
Is that not just a result of it being a MVP right now? I assume it will eventually have all those features you mentioned, but they're just putting their foot in the door right now
I feel like supporting both exes and msix will just lead to more confusion. Sometimes it would act like a proper package manager and other times it would just download and run an exe, which it then wouldn't be able to update, uninstall or otherwise properly manage. That doesn't sound great :/
Yea I think it would be better if it forced MSIX too - then it's a much smaller selection, but since people really want to use this it pushes devs to release MSIX - which are way easier to package than most other solutions anyway plus the entire toolchain is FOSS. I think people are just too afraid to lose support for Windows 7 sigh....
This excited me so much I think I peed a little. I have been waiting for first-party apt/yum-like package management functionality in Windows since the first time I ever touched a Linux package manager.
Oh my God I hope this project doesn't eventually get abandoned.
If the package uses a legacy exe installer yes, that's a stop gap.
Of course everyone should be providing msix packages for their apps instead, which fully support uninstall, delta updates and dependency resolution. If your favorite software is not available as msix open an issue with the creators
Have you joined the test program? A while after joining I received a confirmation mail and after a few hours I have been able to install the updated version of App Installer from the Store
33
u/a_false_vacuum May 19 '20
I hope they also add stuff like SQL Server and other Microsoft middleware to this system. That would be a dream for automated deployments. No more home-made scripted installs, just call the package manager like you do on Linux.
I'm pumped for this one.
121
u/[deleted] May 19 '20
Yeah, this is a massive game-changer. Folks that aren't hyped for this likely aren't that familiar with package management systems.
We can create custom repos as well, per the documentation. This is a godsend for developers (and IT for various reasons).
The github is over here.
Ninite about to disappear though. lol.
5
u/Ditzah Sysadmin May 20 '20 edited May 20 '20
I am super stoked about this, but like one commenter on their GitHub wrote: "All it does is downloading installers (which are not packages) and executing them (which is not management).".
Also no update or uninstall... I will stick to choco for the moment. But I would love to see winget mature and become a usable tool!
66
u/FeralNSFW May 19 '20
This looks very promising.
At the moment, there's no
updatecommand (analogous toyum update), and it doesn't yet automatically install dependencies.It won't be ready for prime-time until it has those two features, IMO.
But given the immediate public interest in this project, it wouldn't surprise me if those get implemented.
20
u/unixuser011 May 19 '20
Think how this could change Windows Deployment, hopefully no longer having to maintain a fileshare of apps to install, now just run a command at install time, and poof, your app is installed, you may have to add some 3rd party repos, but it's got to be easer than messing around with MSI switches. No more clunky, hacky installs, just winget install <appName>, done.
With this and DoH being tested for the next release, 20H2 is looking like a banger in September/October
15
u/HappyVlane May 19 '20
Assuming developers jump on board and winget gets maintained properly this is going to be great. It will also kill services like Ninite.
12
u/SevaraB Sr. Engineer (N+, CCNA) May 19 '20
Holy... can't wait for this to get merged with prod builds of Windows.
7
u/savornicesei May 19 '20
I'm wondering if it will install apps in C:\Program Files or dump them all in ProgramData (where every process can read and write).
3
u/jmbpiano May 19 '20
I'm just sitting here shaking my head at Microsoft being Microsoft yet again and reinventing the wheel when they've already got another internal project working in the same domain.
I mean, this would make a little more sense if it were intended for the average power user, but it sounds like they're aiming this squarely at the developer market. So why not work on extending NuGet into a more generalized solution, instead of splitting their development resources across two separate teams and requiring end users to install yet another tool?
12
u/ErikTheEngineer May 19 '20
Does that mean Chocolatey is dead? Or is the bar for getting packages into WinGet much higher?
It looks like Microsoft is preparing to have WSL and Windows just swap places in some future release and have Windows become a compatibility shim on top of Linux. :-)
5
u/Defiant001 May 19 '20
So coming from a Windows only perspective here I have a few questions for how this works:
4
u/jackmusick May 19 '20
I would literally die if AutoCAD and Quickbooks made it in this at some point. I would love a quick, one liner for MDT or our RMM.
3
u/cybermoloch May 19 '20
I've been working on a similar thing (using a JSON manifest) based on PSAppDeployToolkit and was hoping to start a blog with a more official release info but I'm just going to throw this out there as is:
https://gitlab.com/cybermoloch/psappdeploytoolkit-plus
I hope this WinGet does everything I was working on. (I have more manifests that are not committed but I want to keep working on this for now as most of the time, I need to tease out method to get a silent install going.)
7
u/fast4shoot May 19 '20
But... it's not a package manager?
From what I can tell it just downloads an installer and runs it?
What about all the other things that a package manager does? Such as updates, uninstallation, integrity validation, dependency resolution, conflict resolution, or at least knowing which files belong to which package?
This just seems like another half-assed attemt that seems familiar on the outside (just run `winget install <package>` just like you would run `apt install <package>` on Linux guys, it's totally the same!), but behind the scenes it's a pile of crap built on top of all the horrible installers that already exist.
2
u/da_kink May 19 '20
Huh. Cool, if it has properly apps listed then yes it'll make installing (and hopefully updating) a lot easier :D
2
u/PhDinBroScience DevOps May 19 '20
This excited me so much I think I peed a little. I have been waiting for first-party apt/yum-like package management functionality in Windows since the first time I ever touched a Linux package manager.
Oh my God I hope this project doesn't eventually get abandoned.
2
u/kz393 May 19 '20
It just downloads an exe and executes it. No uninstalls, no dependencies, no delta updates.
2
u/[deleted] May 19 '20
What about choco https://chocolatey.org/
1
u/woemoejack Sr. Sysadmin May 19 '20
Sounds cool, but isn't working for me. Installed App Installer from MS store, yet winget is still unrecognized command in CMD.
1
u/Kamwind May 20 '20
So will it work easily against a local repository and for downloading packages for future installation on other computers?
Hopefully Microsoft will think of the enterprise and the basic security principle of Inventory and Control of Software Assets
1
u/Jtyle6 May 20 '20
Bugger I have to wait until release.
1
u/etnguyen03 May 20 '20
Waiting for ansible to implement this...
1
u/RAITguy Jack of All Trades May 20 '20
One step closer to a Microsoft distro π
0
u/gamebrigada May 19 '20
Quick, someone make a UI for it!
0
u/Tmanok Unix, Linux, and Windows Sysadmin May 20 '20
God damnit, why can't you windozers just switch to Linux if you love the features so much? ;)
-4
u/[deleted] May 19 '20
Welcome to 1994 Windows admins.
-2
u/Billyblue27 May 20 '20
Embrace, extend, extinguish
-4
u/DouglasteR Trades all the Jacks May 19 '20
Ugh, finally ?