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.
The difference here is Powershell is useful to the people that manage systems, and automate things
Software Vendors do not give a shit about that, 90% of software vedors can not even be bothered to create a proper installer for their software, they devote almost no resources to the Installer team, and the installer is an after thought
it is highly unlikely these vendors will adopt package management.
One exception to this is if the major installer systems (installShield, etc) get support that does not require the vendor to do anything on their end then maybe but I would not hold my breath for that, for example InstallShield still had problems with Silent installs unless the vendor manually adds support.
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.
Maybe I'm wrong, but isn't this how this new windows package manager works?
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?
Sorry I missed that part. But why on earth would anyone make GP templates or cmdlets for non-admin/Enterprise stuff? A package manager makes sense for people to learn how to use at home, if they want. Group policy cant even be used at home and 99% of the people don't need to know that powershell even exists.
Sorry I missed that part. But why on earth would anyone make GP templates or cmdlets for non-admin/Enterprise stuff?
When I say "targeted at system administrators," I'm talking about software where system admins are the intended end users. Veeam, vSphere, and other infrastructre-related tools would fall into that bucket.
However, there's plenty of software that an enterprise would need to run where the end user is some other other business unit. I'm sure everyone here can name some ERP, CRM, or other line-of-business software that they have to support. The likelihood that they have any built-in support for management via GP, PS, or anything of the sort is very low.
Yeah, but this is a command line tool to install apps, isn't it? Isn't that, kinda be default, sort of already targeted at admins?
Like, no random windows user is gonna use this and literally no one in an enterprise, outside of an admin, is going to be using this... so it seems like it would behoove support for admins.
edit: looking at the whole context of this thread, I think I might have come away with the wrong point that was being made.
You donβt need GPO templates to use GPOs to manage registry settings centrally.
A single application can have hundreds or thousands of registry and config file settings that control various aspects of the application. Are you going to build, test, and document the GPOs for all that?
My post wasn't referring to you using Windows admin tools, but third parties providing support for their use. For something like a package manager that relies on network effects, third party support is crucial to it being useful.
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.)
Chocolatey is no packaging (it is not self contained, it just points to the download url). Packaging on Windows is a big issue because of redistribution/licensing issue. Chocolatey is trying to avoid this issue by directly downloading but it is no true package... (per debian, centos, redhat, ubuntu, etc. whatever distribution you name)
Exactly! When I heard this announcement my first thought was .deb or .rpm so I went to go check out the tools for creating a windows package and investigate the format, to my dismay there is no such thing. It's just a reference to an installer. Weak.
View all comments
Show parent comment
56
u/theevilsharpie Jack of All Trades May 19 '20
Let me recycle my comment about Windows package managers from 2014:
That was for Windows OneGet, but you can just 's/OneGet/Windows Package Manager/g', and it would be just as relevant.