r/sysadmin • • May 19 '20

Microsoft 📢 Windows Package Manager | winget.exe

[deleted] — view deleted post

385 Upvotes

126 comments sorted by

View all comments

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?

0

u/[deleted] May 19 '20

[deleted] — view deleted comment

3

u/jmbpiano May 19 '20

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.

2

u/HappyVlane May 19 '20

The announcement talks about installing it from the Microsoft Store.

That is for the Insider program. Microsoft might make it baseline if they think it's ready.

1

u/TheIncorrigible1 All things INFRASTRUCTURE May 19 '20

Which versions of Windows will be supported?

Windows Package Manager will support every Windows 10 version since the Fall Creators Update (1709)! The Windows Package Manager will be delivered with the Desktop App Installer when we ship version 1.0.

Also, yeah, for the preview on Insiders you either need to build it yourself from source or get App Installer from the Store.

No one can speak about what will happen when a GA release happens.

0

u/jmp242 May 19 '20

Also, why not just use chocolatey (the FLOSS version)? I mean, what is re-inventing it getting them?

5

u/TheIncorrigible1 All things INFRASTRUCTURE May 19 '20

Read the article. They go over that.

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.

3

u/ErikTheEngineer May 19 '20

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.

1

u/jantari May 19 '20

Chocolatey is under Apache 2.0, this is MIT.

You got it twisted - this is FLOSS, chocolatey is the FOSS or less free alternative.

1

u/jmp242 May 20 '20

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.

1

u/jantari May 20 '20

I generally don't distinguish either but you did by specifically using the term FLOSS. There is a difference, even if the reasons for the new term are 20% factual and 80% political

1

u/jmp242 May 20 '20

Well, googling this seems to agree with my point - both Apache and MIT are FLOSS software, and so is GPLv2 and GPLv3. I know I'm being pendantic, but welcome to Reddit and the Internet, and TBH you started it.

https://www.gnu.org/philosophy/floss-and-foss.en.html

FLOSS is the neutral term.

https://en.wikipedia.org/wiki/Comparison_of_free_and_open-source_software_licences

Shows that Apache 2.0 is FLOSS per FSF and OSI. For the term FLOSS, there's no difference between Apache 2.0 and MIT.

1

u/benjwgarner May 21 '20

"Excuse me, I'd just like to interject for a moment..."