- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- IIS website not created
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
IIS website not created
I am using Installscript MSI project. InstallShield 2020 R3 Professional
I have defined two application pools (ComponentAppPool-A, ComponentAppPool-B) and two websites (WebsiteComp-A, WebsiteComp-B).ComponentAppPool-A & WesbiteComp-A are linked to Feature-A whereas, ComponentAppPool-B & WesbiteComp-AB are linked to Feature-B.
If I select to install feature A only the website and the app pool are created on the IIS. If I choose to install Feature-A and Feature-B, the two application pools and the two websites are created on IIS. But, if I select to install Feature-B only , the website and the app pool are not created on IIS. I don't know what I am missing, I have configured both website numbers to use a property whose value is INSTALLSHIELD_IIS_NEXT_NEW_SITE_NUMBER.
I found a difference in the logs , the CreateAppPoolFunction is not called when installing Feature-B:
InstallShield 17:20:49: InitIISObject
InstallShield 17:20:49: CoGetClassObject(GETAdminBaseCLSID(TRUE) error: -2147221164
InstallShield 17:20:49: Legacy objects not supported
InstallShield 17:20:49: CreateAppPoolFunction
InstallShield 17:20:49: GetAdminSection for section 'system.applicationHost/applicationPools' and path 'MACHINE/WEBROOT/APPHOST' and commitpath 'MACHINE/WEBROOT/APPHOST'.