As part of an installer I am working on, I am trying to have the installer enable IIS on the target machine in order for a web site to be deployed. I have followed the "How to deploy a website using Advanced Installer" tutorial exactly, with IIS enabled as a Windows Feature bundle.
However, when I run the MSI, I am met immediately with an error saying that "Test cannot be installed on systems with Internet Information Services version lower than 5.1". However, I am installing this on a Windows 10 machine so it has IIS version 10. I suspect this is because it tries to setup the website before enabling IIS but I'm not sure.
Does anyone have any ideas as to why this happens and how I can fix it?