This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Knowledge Base
- :
- Enabling Windows Roles and Features During an Installation
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
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 systemsSynopsis
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,
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 InstallationAdvanced 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
0% helpful
(0/1)