cli-lab icon indicating copy to clipboard operation
cli-lab copied to clipboard

Removal of hosting bundle doesn't work

Open blakeduffey opened this issue 1 year ago • 7 comments

Trying to automate the hosting bundle across our fleet of IIS server. Apparently MS provides no simple way of doing this via SCCM (you can install new version but not remove legacy versions.

I'm running: .\dotnet-core-uninstall.exe remove --force --all-but-latest --hosting-bundle

And I'm still prompted with

image

What's the point of this tool if it doesn't work?

I'm also including this link re: folks trying to accomplish the same thing (but may be having a different problem)

https://github.com/dotnet/cli-lab/issues/262

blakeduffey avatar Jan 25 '24 14:01 blakeduffey

For an update - this command will remove the hosting bundle

.\dotnet-core-uninstall.exe remove --all --hosting-bundle --force

But STILL prompts for confirmation - removing any option regarding automation

image

blakeduffey avatar Jan 25 '24 14:01 blakeduffey

Have you tried installing/uninstalling via WinGet? This repo doesn't really seem like it's maintained. :/

Neme12 avatar Mar 01 '24 19:03 Neme12

Winget isn't supported on Windows server?

blakeduffey avatar Mar 01 '24 19:03 blakeduffey

Have you tried installing/uninstalling via WinGet? This repo doesn't really seem like it's maintained. :/

I agree, it doesn't seem properly maintained

blakeduffey avatar Mar 01 '24 19:03 blakeduffey

Winget isn't supported on Windows server?

Oh I had no idea, sorry.

Neme12 avatar Mar 01 '24 21:03 Neme12

Can you not run the installers in silent mode by passing in the right flags though? After all, that's what WinGet does. At least that's what I see here. https://github.com/microsoft/winget-pkgs/blob/master/manifests/m/Microsoft/DotNet/SDK/8/8.0.201/Microsoft.DotNet.SDK.8.installer.yaml

I don't see what those flags for silent install are though. I guess they're added automatically by the InstallerType: burn.

Neme12 avatar Mar 01 '24 21:03 Neme12