r/PowerShell • • 14h ago

Question No MSI for latest version of PowerShell

I know they announced this ages ago that they were no longer going to release an MSI version of PowerShell. But it seems there is no executable as well? There are only zipped and msix versions now.

This is super annoying. I have a bunch of windows 2019 and 2022 servers that don't support the MS store so I can't install the msix bundle. Yes I know there are some work arounds for server 2022 to get the msix to work but no way I'm going to be doing that on prod.

And the zip just extracts the files but doesn't install them.

I'm missing something here? BTW, I could very well be, it has been a long week.

What is everyone else doing?

59 Upvotes

47 comments sorted by

29

u/jungleboydotca 14h ago

I think the current answer is that they'll figure it out later/soon.

Production should be running LTS, which still has MSIs.

-8

u/jeek_ 13h ago edited 13h ago

We have a bunch of jumpsuits used for management tasks so nice to run the latest version on them

12

u/xCharg 12h ago

Run latest LTS on them.

If you disregard it and want to run whatever-absolutely-latest then your argument "no way I'm going to be doing workarounds in prod" stops being relevant as avoiding running LTS is a workaround. And unnecessary one.

1

u/BlackV 9h ago

They 100% do not need the latest version

Doublely so of they are management tasks the benefit from being stable and minimal changes

1

u/fdeyso 9h ago

If anything the latest cmdlets are needed for whatever is installed, but that’s a separate task.

54

u/Alaknar 13h ago

Why would a Microsoft product properly support Microsoft products?

It's like when WinGet got released not supporting PowerShell and the GitHub discussions with the dev team revealed that they have zero clue about PowerShell altogether.

7

u/jeek_ 13h ago

💯 Yeah Seemed like such an odd choice to build a standalone exe that didn't support PowerShell.

10

u/Bahurs1 11h ago

I believe it was also stolen ready made concept. I forgot the guy, but I remember reading an article that mentioned how microslop initially wanted to on-board the project officially or something only to ghost the dude and come out with a complete copycat

30

u/gandraw 14h ago

There are already a lot of complaints on Github on how stupid that is. I hope they actually listen this time and have this fixed by the time of 7.8

4

u/jeek_ 13h ago

I might head on over there and voice my concern as well

-2

u/felix1429 10h ago

I'm sure that'll get them to change their mind!

14

u/Michal_F 14h ago edited 13h ago

I think it's stuppid decision by managment who want to push this and don't care about legacy environment as they have WPS 5.1. On windows we will skip probably 7.7 and wait on 7.6 until it will be more stable, but in our case we use it for automation running on Linux agents, so no change for us :)

I was looking also on official github issue https://github.com/PowerShell/PowerShell/issues/27565

And found there, that some company created 7.7 msi package, we will see maybe if Microsoft fail, some one there will create it, question will be how reliable and trustworthy this will be ..

https://github.com/Devolutions/pwsh-distro

Edit: Please upvote this on github if you can. https://github.com/PowerShell/PowerShell/issues/27383

3

u/jeek_ 13h ago

Thanks I'll check this out.

9

u/SaltDeception 13h ago

Devolutions is reputable

20

u/jayhawk88 8h ago

Admins: "Hey, where are the MSI's?"

MS: "MSI's? Plebian. You disgust us, frankly. Use Store."

Admins: "But what about..."

MS: "USE STORE! Re-enginner your entire network and security postures to accommodate if you have to."

5 years later

Admins: "Hey, where are the Store apps?"

MS: "Store? Fuck Store and fuck you too. Use our new technology, CompileBuddy."

6

u/the_lazy_sysadmin 6h ago

I miss the simplicity of the calculator app just being a free-floating .exe, and it functioning at all not hinging on the presence of the Store app :/ ... during my first foray into desktop imaging, I found out the hard way what ripping out the MS Store app does to other appx apps 💀 ...

17

u/brianrtross 13h ago

This also impacts powershell remoting… it doesn’t work for the store/bundle method of install.

This is ridiculous for sure…

5

u/Flettys 13h ago

Pin 7.6 MSI.

7.7 is deeply broken.

Check again with 7.9 once the churn settles, 7.8 is also a lost-cause with the number of required fixes.

5

u/alconaft43 12h ago

yes, we need machine wide msi installer.

7

u/ftw_dan 9h ago

Msix is cancer

1

u/arslearsle 13h ago

You can always trust Microsoft, to maie the right decision, after trying the wrong ones first. Same old shitshow, never ending story.

1

u/KevMar Community Blogger 12h ago edited 12h ago

To install the zip: unblock the zip, then extract to a safe location' and optionally add the location to the %PATH%.

But I agree that removing the MSI option was a bad idea. This is going to quickly be a disaster. I'm surprised they didn't count this as a breaking change as they put up a lot of resistance to doing that.

Edit: I forget what winrm needs. Not sure what else I'm missing.

2

u/BlackV 9h ago

Need to register an endpoint

1

u/Over_Dingo 11h ago

stay on 7.6 branch, for now they seem to be in parallel

1

u/420GB 5h ago

I am not aware of any practical solution besides multi-pwsh

1

u/gusman21 5h ago

can you just download the msi using winget?
winget download --id Microsoft.PowerShell --source winget --installer-type wix --download-directory "C:\Installers"

1

u/SaltDeception 57m ago

No. Winget just points back to the download artifacts on the PowerShell/PowerShell GitHub repo, and the manifest only includes .msixbundle files.

https://github.com/microsoft/winget-pkgs/blob/master/manifests/m/Microsoft/PowerShell/7.7.0.0/Microsoft.PowerShell.installer.yaml

1

u/rthonpm 4h ago

Stick with the LTS versions. 7.6 goes end of life close to Server 2019 (November 2028 for PS, January 2029 for the server OS).

1

u/Educational_Dog_1461 1h ago

Upgrade your servers…

1

u/Revolutionary-Gold53 12h ago

It was put out a while ago that MS is moving to using .msix install files.

-1

u/myp0wa 12h ago

Go with zip. This is easy man. MSIX is shot and have a lot of limitation currently. ZIP is the way.

-10

u/Medium-Comfortable 14h ago

winget install -e --id Microsoft.PowerShell

6

u/jeek_ 14h ago

No winget for server 2019 or 2022 so that won't help.

0

u/alconaft43 12h ago

you can install winget on 2020.

-8

u/stopthatastronaut 13h ago

Chocolatey

6

u/Alaknar 13h ago

Might as well install winget then.

-12

u/Incrediblecodeman 11h ago

Ni one cares about the legacy servers you ought to be moving to server less or server core.

5

u/BlackV 9h ago

Incrediblecodeman
Ni one cares about the legacy servers you ought to be moving to server less or server core.

Server core that also does not support MSIX?

Well done

-4

u/Incrediblecodeman 7h ago

It was a joke nerd.

1

u/BlackV 7h ago edited 6h ago

Incrediblecodeman -2 points 4 days ago
That’s of poor taste. If you cant be happy in life it’s your place to change life. Don’t make the vibes all low for others.

-2

u/Incrediblecodeman 7h ago

Some one can’t take a joke

3

u/brutesquad01 9h ago

Legacy? I didn't realize it's 2031 already...

-3

u/Incrediblecodeman 7h ago

Well it’s half a joke but we need to embrace just letting go and learning the new stuff. Gen Z and grey beards will bicker