//
you're reading...

Web Interface

Citrix Web Interface: Web Interface 5.4 Unattended Installation

Here’s a Powershell script that can be used to perform a simple unattended installation of the Citrix Web Interface.

Import-Module ServerManager
Add-WindowsFeature Web-WebServer, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext,Web-ISAPI-Filter
Add-WindowsFeature Web-Mgmt-Tools, Web-Scripting-Tools, Web-Mgmt-Service, Web-Mgmt-Compat
Add-WindowsFeature AS-NET-FRAMEWORK
Add-WindowsFeature NET-WIN-CFAC
$installing = $false
While(((Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name Like 'Microsoft Visual J# 2.0%'").Name | Group-Object).Count.ToString -eq $null){
  if(-Not $installing){
    Write-Host "`nInstalling Microsoft J#"
    .\vjredist.exe /q:a /c:"install /q"
    $installing = $true
  }
  Start-Sleep -Seconds 2
}
$installing = $false
While(((Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name = 'Citrix Web Interface'").Name | Group-Object).Count -eq $null){
  if(-Not $installing){
    Write-Host "`nInstalling Web Interface"
    .\webinterface.exe -q
    $installing = $true
  }
  Start-Sleep -Seconds 2
}

 

In addition to the Powershell script, you will need Microsoft J# 2.0 redistributable (vjredist.exe) and Citrix Web Interface 5.4 (WebInterface.exe).  Put all three components into the same directory.

image

Set the Powershell execution policy to remote signed.

image

Run the Powershell script.

image

image

image

image

Now you’re ready to create some sites!