davidesharpe
Posts: 56
Joined: Fri Jul 01, 2011 4:56 am

Can I enable a server 2012 server role during install ?

Hi,

My installer requires IIS Application Initialization, so either IIS7.5 (then application initialization addin installed) or IIS8.0, but my issue is that if i'm installing on Server 2012 with IIS8, the application initialization is installed, but the role may not be turned on. Can I detect this and give a warning or turn this on during my install ?

Thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Can I enable a server 2012 server role during install ?

Hello,
My installer requires IIS Application Initialization
Please take a look on our How to check for Initialisation module in IIS forum thread which debates a similar issue.
if i'm installing on Server 2012 with IIS8, the application initialization is installed, but the role may not be turned on.
In order to achieve that you can go in the Prerequisites page and a windows feature bundle to your installation package.

First, select the Server 2012 Operating System from the Target Operating System list. Then, from the Available Windows Features list you can expand the Internet Information Services node and select the Application Initialization option.
This will ensure that the Application Initialization IIS module will be enabled (if not already), along with the Web Server role.

Please let us know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davidesharpe
Posts: 56
Joined: Fri Jul 01, 2011 4:56 am

Re: Can I enable a server 2012 server role during install ?

Yes I have already been able to add a prerequiste for the App Initialisation that will install it (which also enables it) for IIS7.5, The issue arrises for IIS8.0+ where App Initialisation is already built in (so doesn't require installing), but it DOES require the server role assigned to it (Windows Feature Web-InitApp) to be enabled.

So

for IIS7.5 I need t install (I can do that)
for IIS8.0+ I need to enable the server role (I cant do that)
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Can I enable a server 2012 server role during install ?

Hello,
for IIS8.0+ I need to enable the server role (I cant do that)
As I said in my previos post, you can try this: in the Prerequisites page and a windows feature bundle to your installation package.

First, select the Server 2012 Operating System from the Target Operating System list. Then, from the Available Windows Features list you can expand the Internet Information Services node and select the Application Initialization option.
This will ensure that the Application Initialization IIS module will be enabled (if not already), along with the Web Server role.

Have you tried this and it didn't worked as expected?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davidesharpe
Posts: 56
Joined: Fri Jul 01, 2011 4:56 am

Re: Can I enable a server 2012 server role during install ?

Thanks, sorry i totally missed what you said. It appears to be working as you describe.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Can I enable a server 2012 server role during install ?

You're welcome.

I'm glad you got this working. If you have other questions, please let us know.

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

Return to “Common Problems”