I have a tricky problem regarding the installation order of prerequisites and Windows features. My software is based on ASP .Net Core 8 and is hosted as a website within IIS. I therefore install the ‘ASP.NET Core Hosting Bundle 8.0.16’ and the Windows feature ‘IIS’. After installation, the website does not work because Microsoft requires that the hosting bundle be installed after IIS (or repaired if already installed, see https://learn.microsoft.com/en-us/aspne ... etcore-8.0). When I try to run the hosting bundle as a custom action (LaunchFile) after ‘InstallIIS’, I run into the MSI restriction that only one installation can run at a time.
Unfortunately, the repair in step 3 (as After Main Package) does not work either, as I have to modify the website with a custom action, which in turn requires a valid ASP NetCore Bunde installation.
Currently, I can't find a solution to the problem other than specifying an already installed IIS as a prerequisite for my software. However, I don't find this particularly customer-friendly and would like to avoid it. Perhaps someone has an idea on how to solve this problem.
Thanks in advance.