How to repair hosting bundle from Advanced Installer? - Advanced Installer Community
szselise
Posts: 3
Joined: Mon Sep 26, 2022 12:46 pm

How to repair hosting bundle from Advanced Installer?

We are installing IIS for our application through the installer. From this document https://learn.microsoft.com/en-us/aspne ... etcore-6.0 we understand that we need to repair the hosting bundle for IIS to work properly. Does Advaned Installer provide a way to do that?

If not is there any way we can achieve that? This is our required workflow:

- If no hosting bundle exist -> install a hosting bundle (we will include that)
- If a hosting bundle already exist -> repair it (ignore the hosting bundle we have included with the installer)
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: How to repair hosting bundle from Advanced Installer?

Hello,

If I remember correctly, the hosting bundle should only be repaired if it is installed before the IIS.

However, if we enable the IIS before, there shouldn't be any issues with that.

For more information about this, please have a look over the following thread:

.NET Core Hosting Bundle with IIS

Hope that helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
szselise
Posts: 3
Joined: Mon Sep 26, 2022 12:46 pm

Re: How to repair hosting bundle from Advanced Installer?

As I mentioned in my post, I am looking for a way to repair the hosting bundle in case it's already installed in the machine. Is that possible with AI?
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: How to repair hosting bundle from Advanced Installer?

Hello,

Most likely, this can be achieved through a Custom Action.

You would first need to find a way to programmatically do this and then you can use a custom action to implement that in your setup.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”