-
Notifications
You must be signed in to change notification settings - Fork 10.6k
ASP.Net Hosting Bundle Installer Has Issues In Some Situations #42764
Copy link
Copy link
Closed
dotnet/arcade
#10339Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-installersIncludes: InstallersIncludes: Installers
Milestone
Metadata
Metadata
Assignees
Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-installersIncludes: InstallersIncludes: Installers
Type
Fields
Give feedbackNo fields configured for issues without a type.
Is there an existing issue for this?
Describe the bug
The ASP.Net Hosting Bundle installer fails if a ASP.Net Runtime (the x64 installer) already exists on the system in a higher version.
Reproduce:
We are shipping the Hosting Bundle with our own installer. That installer must be installable on devices not connected to the web.
The only option we have at the moment is to first uninstall the higher version of ASP.Net and then install the lower version of Hosting Bundle - that is of course not optimal.
I already tried executing the Hosting Bundle installer with some options of: https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/host-and-deploy/iis/hosting-bundle.md
but it just leads to making the installation work but then the installed ASP version is broken.
(Issue may be related to: #33819)
Another issue is already documented in https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/host-and-deploy/iis/hosting-bundle.md
"If the Hosting Bundle is installed before IIS, the bundle installation must be repaired. Run the Hosting Bundle installer again after installing IIS."
That is also a problem because we offer Addons that will install IIS but use .Net Framework themself. So it would be very confusing to just ship the Hosting Bundle with them just to run the repair setup if needed.
Why exactly is this repair needed? We did some testing and it seems to work for our use-cases, is this still an issue?
Expected Behavior
Hosting Bundle should install normally even if a higher version of ASP.Net Runtime is already installed.
Hosting Bundle should not need to be repaired if it was installed before IIS.
Steps To Reproduce
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response