Role services - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mika
Posts: 4
Joined: Thu Jan 19, 2012 11:52 am

Role services

Hello,

We are using advanced installer to create an installation package for our server product.
The installer package successfully detects whether the IIS Role is installed or not, however our product require several IIS role services to function properly.
Is it possible in any way to automatically add these role services during the installation?

Thanks in advance for any help.

// Mika
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Role services

Hi Mika and welcome to Advanced Installer forums,

Some features are required and automatically enabled by Advanced Installer:
IIS-WebServerRole
IIS-DefaultDocument
IIS-ASPNET
IIS-NetFxExtensibility
IIS-ISAPIExtensions
IIS-ISAPIFilter
IIS-RequestFiltering
IIS-WebServerManagementTools
IIS-IIS6ManagementCompatibility
IIS-Metabase
IIS-WMICompatibility
WAS-WindowsActivationService
WAS-ProcessModel
WAS-NetFxEnvironment
WAS-ConfigurationAPI

To enable Windows Features you can schedule a custom action that executes a certain tool from the command line:
http://www.advancedinstaller.com/user-g ... -file.html

An example of such a tool is the Package Manager:
http://technet.microsoft.com/en-us/libr ... 10%29.aspx

Just make sure you set the custom action with "Deferred with no impersonation" execution option so that it gets executed under the System account with full privileges.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mika
Posts: 4
Joined: Thu Jan 19, 2012 11:52 am

Re: Role services

Hello,

Thanks for your answer.

What I dont really understand is that you say that some features are enabled by deafult by advanced installer. However I have not find a way to make AdvancedInstaller to add the IIS role itself. My installer only prompts the user that it has to install IIS and then exits? Can I make it so that the installer installs the IIS role?`

Thanks for your time.

// Mika
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Role services

Hi Mika,

The IIS features I listed in my last post are automatically enabled when installing the package( with IIS configuration ) built from an Advanced Installer project. This only happens on Vista or above( IIS >= 6.0 ).

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”