Subscribe to Windows IT Pro
January 07, 2000 12:00 AM

Installing Citrix Clients without User Interaction

Windows IT Pro
InstantDoc ID #7965
Rating: (1)

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.ini the application server configuration file, which contains user settings that define applications.
    • module.ini a 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.ini the Citrix ICA client configuration file, which contains initialization information for the Citrix ICA Client program.
    • pn.ini the 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<path\ResponseFile> 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<path\LogFile> 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:\windows\setup.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 Files\Citrix\ICA 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.000
File=Response File
[DlgOrder]
Dlg0=SdWelcome-0
Count=6
Dlg1=SdLicense-0
Dlg2=SdAskDestPath-0
Dlg3=SdSelectFolder-0
Dlg4=SdShowDlgEdit1-0
Dlg5=SdFinishReboot-0
[SdWelcome-0]
Result=1
[SdLicense-0]
Result=1
[SdAskDestPath-0]
szDir=C:\Program Files\Citrix\ICA Client
Result=1
[SdSelectFolder-0]
szFolder=Citrix ICA Client
Result=1
[SdShowDlgEdit1-0]
szEdit1=ICAClient
Result=1
[Application]
Name=ICA Client
Version=4.0
Company=Citrix
[SdFinishReboot-0]
Result=1
BootOption=0

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Jun 03, 2005

    you can also use the %Computername% variable:
    szEdit1=%Computername%

  • Anonymous User
    7 years ago
    Feb 07, 2005

    you must have a space in between the quotes...
    szedit=" "
    for it to work

  • pat wood
    8 years ago
    May 05, 2004

    I have w2k machines. I have tried to create asetup.iss for the client install but the local machine will stil have the machine name of the initial setup machine.

    Have tried the szedit="" to no avail.

  • John Talbert
    9 years ago
    Oct 09, 2003

    You can also change the client name for citrix with a registry hack after the install. The key name is HKLM\\SOFTWARE\\Citrix\\ICA Client\\ClientName
    it is a string value.

  • brian
    10 years ago
    Feb 27, 2002

    If you want the client to assign the netname of the locally installed workstation you will have to edit the .iss entry:
    szEdit=""
    The created .iss file will retain the netname of the original workstation that created the .iss file. This is a Citrix solution from their support web site.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.