Create IIS entry during Maintenance - Advanced Installer Community
kissack
Posts: 57
Joined: Fri Feb 04, 2011 11:45 am

Create IIS entry during Maintenance

Hello,
I am stuck when during maintenance adding a feature that should create IIS Pool and Application.

The problem is that if I don't install a feature during initial install and return to add it later via "modify" the IIS entries won't be created. I had the following condition on the IIS entries ((&Feature_2 = 3) AND NOT (!Feature_2 = 3)).

I have tried several things including just AI_MAINT and my custom condition,but the IIS entries won't appear. Am doing something wrong or the IIS entries must be added during the initial install only.

Thank you.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Create IIS entry during Maintenance

Hello,

This happens because the action which handles the IIS installs (AI_IIsInstall) is set to run only on a first install. TO have it run on maintenance mode too you need to edit it execution condition, from Table Editor, InstallExecuteSequence table.

The "AI_IIsInstall" action should have the following condition to run on maintenance:
  • ((VersionNT >= 500) AND (NOT Installed)) OR (REMOVE<>"ALL")
Also, you should correctly configure your IIS entities to skip them in case they are already found on the machine, as this could happen. In order to achieve this you can set the Error Policy option to "Skip item installation".

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Create IIS entry during Maintenance

Hello,

We had improved the support for handling install of IIS entities on maintenance too. This was fixed in version 12.0 of Advanced Installer released on April 2nd, 2015 .

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”