You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
blakeduffey commentedon Jan 25, 2024
For an update - this command will remove the hosting bundle
.\dotnet-core-uninstall.exe remove --all --hosting-bundle --forceBut STILL prompts for confirmation - removing any option regarding automation
Neme12 commentedon Mar 1, 2024
Have you tried installing/uninstalling via WinGet? This repo doesn't really seem like it's maintained. :/
blakeduffey commentedon Mar 1, 2024
Winget isn't supported on Windows server?
blakeduffey commentedon Mar 1, 2024
I agree, it doesn't seem properly maintained
Neme12 commentedon Mar 1, 2024
Oh I had no idea, sorry.
Neme12 commentedon 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 commentedon Jan 24, 2025
You should be able to suppress the confirmation prompt with
-yor--yes.https://learn.microsoft.com/en-us/dotnet/core/additional-tools/uninstall-tool-cli-remove?pivots=os-windows#options