Installing Citrix Clients without User Interaction

Columnist David Carroll explains how to install and configure the 32-bit Citrix client on a new workstation automatically, without user interaction.

David Carroll

January 6, 2000

3 Min Read
ITPro Today logo

Is there any way I can install and configure the 32-bit Citrix client on a new workstation automatically, without user interaction?

The short answer is yes. Citrix administrators have been asking for remote installation and configuration for a long time, and Citrix has provided a complete solution in its latest client, Program Neighborhood. First, you configure the client for connection and client parameters; then, you automate the install to eliminate the need for client response.

ReadyConnect Client
When administrators hear the name ReadyConnect Client, they often start looking around for a utility under MetaFrame Tools. ReadyConnect Client is really just a name for the process of configuring a client install for standard default configuration. Despite the absence of a friendly wizard, the ReadyConnect Client process is easy, and it works.

  1. Use Citrix Client creator to create the two install diskettes.

  2. Install the client on a new machine.

  3. Using the Program Neighborhood interface, configure the client the way you want all users to see it the first time they log on. Exit Program Neighborhood.

  4. Rename the following files from *.ini to *.src and copy them to the second install disk:

    • appsrv.inithe application server configuration file, which contains user settings that define applications.

    • module.inia file that contains all the configuration information for demand-loadable client modules; the client modules that module.ini supports include transport drivers, protocol drivers, Winstation drivers, and virtual drivers.

    • wfclient.inithe Citrix ICA client configuration file, which contains initialization information for the Citrix ICA Client program.

    • pn.inithe Program Neighborhood configuration file, which can set the Program Neighborhood environment (e.g., the application set).

Now you're ready to use the install diskettes to create a new, preconfigured workstation.

Silent Install
The setup.exe program installs the Citrix client using Install Shield. Install Shield typically creates a wizard that walks you through an installation, but it can also run in a silent (unattended) mode. To run setup.exe in silent mode, use the following parameters:

  • -r causes setup.exe to automatically generate a silent response file (.iss), which records the installation input to the setup wizard screens in the %systemroot%.

  • -s performs a silent installation using the .iss file to enter install parameters.

  • -f1 points to an alternate location and name of the .iss file. Without this parameter, setup.exe looks for the response file setup.iss in the same folder as setup.exe.

  • -f2 points to an alternate location and name of the log file for the install. By default, the setup program creates and stores the setup.log file in the same folder as setup.exe.

For example, type setup.exe -s -f1C:windowssetup.iss to initiate a silent installation of the components you specified with the -r option in the setup.iss response file.

You can only run a silent install for the Program Neighborhood client; the silent install process doesn't work for Remote Application Manager or any other ICA clients. The silent install must be the first installation of the client to a clean system, or the installation will fail.

You can make changes to the setup.iss file manually. For example, if you want to change the directory that the client installs to, change the line szDir=C:Program FilesCitrixICA Client to point to the new directory location. You can also create an .iss file in a text editor. The following is an example:

[InstallShield Silent]Version=v5.00.000File=Response File[DlgOrder]Dlg0=SdWelcome-0Count=6Dlg1=SdLicense-0Dlg2=SdAskDestPath-0Dlg3=SdSelectFolder-0Dlg4=SdShowDlgEdit1-0Dlg5=SdFinishReboot-0[SdWelcome-0]Result=1[SdLicense-0]Result=1[SdAskDestPath-0]szDir=C:Program FilesCitrixICA ClientResult=1[SdSelectFolder-0]szFolder=Citrix ICA ClientResult=1[SdShowDlgEdit1-0]szEdit1=ICAClientResult=1[Application]Name=ICA ClientVersion=4.0Company=Citrix[SdFinishReboot-0]Result=1BootOption=0
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like