Install reqired Windows Roles and Features via Commandline

Version 1

    Verified Product Versions

    AppSense Environment Manager 8.3AppSense Environment Manager 8.2AppSense Environment Manager 8.1AppSense Environment Manager 8.0

    Introduction

    When you plan a full unattended installation of a Personalization Server you must script the installation of the required Windows Roles and Features.

    Detail

    To install all AppSense Personalization Server Windows Components prerequisites please use the following command:


    ServerManagerCmd.exe -inputPath install_AppSensePrerq.xml 
    Run this command from PowerShell or an elevated command prompt.
     
    A reboot is necessary after the successful installation.
     
    The following XML should be saved to a file named 'install_AppSensePrerq.xml' in order to run the above command.
     
    <ServerManagerConfiguration xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1" Action="Install">
     <RoleService Id="Web-Static-Content"/>
     <RoleService Id="Web-Default-Doc"/>
     <RoleService Id="Web-Dir-Browsing"/>
     <RoleService Id="Web-Http-Errors"/>
     <RoleService Id="Web-Http-Redirect"/>
     <RoleService Id="Web-Net-Ext"/>
     <RoleService Id="Web-ISAPI-Ext"/>
     <RoleService Id="Web-ISAPI-Filter"/>
     <RoleService Id="Web-Http-Logging"/>
     <RoleService Id="Web-Log-Libraries"/>
     <RoleService Id="Web-Request-Monitor"/>
     <RoleService Id="Web-Http-Tracing"/>
     <RoleService Id="Web-Basic-Auth"/>
     <RoleService Id="Web-Windows-Auth"/>
     <RoleService Id="Web-Digest-Auth"/>
     <RoleService Id="Web-Filtering"/>
     <RoleService Id="Web-IP-Security"/> 
     <RoleService Id="Web-Stat-Compression"/>
     <RoleService Id="Web-Mgmt-Console"/>
     <RoleService Id="Web-Metabase"/>
     <RoleService Id="Web-Asp-Net"/>
     <Feature Id="NET-HTTP-Activation"/>
     <Feature Id="NET-Win-CFAC"/>
     <Feature Id="NET-Framework-Core"/>
     <Feature Id="RSAT-Web-Server"/>
    </ServerManagerConfiguration>