skingswell
Posts: 29
Joined: Tue Nov 29, 2016 2:24 pm

Auto Start Providers (IIS)

I need to make a entry into the applicationHost.Config for for my website for the auto start provider information. I am under the impression from reading other posts that this is not supported with AI and that a custom action is required. Please confirm if this is correct? I have absolutely no idea where to start with a custom action for this tbh :o
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Auto Start Providers (IIS)

Hello,

Indeed, you will need to set up your own custom action in order to make the entry.

For example you can use the predefined Launch File custom action to execute a APPCMD command as follows.
  • File to launch: [SYSTEM32]inetsrv\appcmd.exe
  • Command line:(object-type) <identifier> < /parameter1:value1 ... >*
You can add this custom action as a custom action with sequence, scheduled as deferred with no impersonation just before "Install Execution Stage -> Finish Execution -> InstallFinalize" standard action.

The standard actions used by Advanced Installer can be revealed using the "Show Standard Action" button on the toolbar of the "Custom Actions" page.

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

Return to “Common Problems”