Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of hosting bundle doesn't work #277

Open
blakeduffey opened this issue Jan 25, 2024 · 7 comments
Open

Removal of hosting bundle doesn't work #277

blakeduffey opened this issue Jan 25, 2024 · 7 comments

Comments

@blakeduffey
Copy link

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)

#262

@blakeduffey
Copy link
Author

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

@Neme12
Copy link

Neme12 commented Mar 1, 2024

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

@blakeduffey
Copy link
Author

Winget isn't supported on Windows server?

@blakeduffey
Copy link
Author

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

@Neme12
Copy link

Neme12 commented Mar 1, 2024

Winget isn't supported on Windows server?

Oh I had no idea, sorry.

@Neme12
Copy link

Neme12 commented Mar 1, 2024

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.

@ryandle
Copy link

ryandle commented Jan 24, 2025

You should be able to suppress the confirmation prompt with -y or --yes.

https://learn.microsoft.com/en-us/dotnet/core/additional-tools/uninstall-tool-cli-remove?pivots=os-windows#options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants