cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enabling Windows Roles and Features During an Installation

Enabling Windows Roles and Features During an Installation

Summary

This article shows you how to enable Windows Feature(s) during an installation, that may be required for your Product, but maybe disabled by default on target systems

Synopsis

InstallShield Premier Edition:Suite Project has built-in support for enabling several Windows Features during an installation.

This may be required as some Windows functionality is disabled by default on target systems.

This guide will help you to enable the required feature(s) during your installation




Discussion

Some Windows functionality is disabled by default on target systems. In addition, some end users, or perhaps IT administrators, may choose to disable some Windows functionality.

InstallShield has built-in support for enabling several Windows Features:
? Internet Information Services
? PowerShell
? .NET Framework 3.x

InstallShield also lets you specify additional Windows roles and Features that a package requires.

Only available in the Suite Project which is available with InstallShield Premier.

In a Suite UI, To specify a Windows role or Feature that you want to enable,

1. Click Packages, in the View List under Organization.
2. In the Packages explorer, click the package that you want to configure.
3. On the Common tab, in the Windows Features setting, click the Add New Windows Feature button, and then click one of the available Feature options

For example IIS:

InstallShield adds a new Windows Feature row under the Windows Features setting,

Adding IIS Feature to a Suite Package

This is not available in the Professional edition of InstallShield with the Advancesd UI project, which may be assumed from the wording in the Online documentation
http://helpnet.flexerasoftware.com/installshield21helplib/helplibrary/SteWindowsFeat.htm
Support for scheduling actions to occur at run time on target systems is Not Available in Avanced UI projects whereas it is in a Suite UI projects.

What you would have to do instead for the Non Premier Version is use a Custom Action in your msi to enable the required feature using Deployment Image Servicing and Management (DISM.exe) tool.

DISM is the inbox utility included with Win7/2008 R2 installations,

To install IIS 7.5 on Windows 7, you use DISM.exe to target the running operating system (using the /Online switch) and use the /Enable-Feature option to enable individual IIS features

DISM /online /enable-feature /featurename:<name of feature>

You could run this from a EXE type custom action or a batch file see attached sample bat as an example

Related Documents

Enabling Windows Roles and Features During a Suite/Advanced UI Installation
Advanced UI Projects vs. Suite/Advanced UI Projects
Deployment Image Servicing and Management (DISM)
DISM - Deployment Image Servicing and Management Technical Reference for Windows
Enable or Disable Windows Features Using DISM



Was this article helpful? Yes No
0% helpful (0/1)
Version history
Last update:
‎Jul 13, 2018 10:30 PM
Updated by: