To deploy the OfficeScan client via Citrix Receiver, administrators need to prepare an OfficeScan client installation package and a Metadata file that describes the OfficeScan client installation package.
The Citrix Receiver will receive the Metadata file and process it to detect current user environment. If the OfficeScan client is not installed, Citrix Receiver will download the OfficeScan client installation package and launch the setup procedure.
If there is an existing OfficeScan client, Citrix Receiver will check the Metadata file and perform an upgrade. Administrators can use this article to modify the Metadata file for OfficeScan client deployment through the Citrix Receiver environment.
Creating the OfficeScan client installation package
To deploy OfficeScan client through the Citrix Receiver environment, you need to create the OfficeScan client installation package. Do the following:
- On the OfficeScan server, open Windows Explorer and go to the ..\PCCSRV\Admin\utility\clientpackager\ folder.
- Double-click the ClnPack.exe file to open the Client Packager console.
- For the Package type, select Setup.
- For the Windows operating system type, select the client operating system.
- For Scan Mode, select between Conventional Scan and Smart Scan.
- Under Options, select Silent mode or/and Disable prescan (only for fresh install).
- For User Update agent options, select the Update agent service types.
- For Source file, click the "…" button and then look for the ofcscan.ini file in the \PCCSRV folder.
- For Output file, click the "…" button and specify the package filename and the location where you will save it.
- Click Create. The Client Packager builds the package and then you will be notified if the Package is created successfully.
- Click OK.
Modifying the Metadata file of the MErchandising server
After creating the OfficeScan client packager, you need to modify the Metadata file of the Merchandising Server. Do the following:
- Open a Notepad (or a text editor) and provide a name for the Metadata file.
For example: officescan10.5 (x86) Smart Scan_template.xml
- Create one GUID for the OfficeScan client installation package and provide the product name in the Metadata file.
<!-- This GUID is not related to MSI product code -->
<plugin product="644EC9AF-4C8D-4f91-9F9C-0551F70D374F" productName=" Trend Micro Officescan Client 10.5 (x86) Installation EXE Setup "> - Specify the supported platform.
For example: XP, Vista, 2K3, WS08 and Win7
<platforms> XP Vista 2K3 WS08 Win7 </platforms>
- Describe the installation parameter.
<command>$INSTALLERFILENAME $SILENTSWITCH $PARAMETERS</command>
<commandParameters></commandParameters>
<silentSwitch></silentSwitch>
<startAfterInstall>true</startAfterInstall>...
</autoInstall> - Define the Package Version.
- In OfficeScan, the version should only contain major and minor version information because the OfficeScan client only stores the product version "m.n" style in the registry key.
For example, OfficeScan 10.5 will be 10.50.0000
- Citrix Receiver will use this version string to compare with the local value in the specified registry key (defined in tag <detectCurrentVersionRulesList>) to determine a fresh installation or an upgrade case.
<!-- Released Version of Plugin (Installer) -->
<version>10.50.0000</version>
<!-- Rules use to detect currently installed version of plugin - see AR Client SDK doc for more details -->
<detectCurrentVersionRulesList>
<detectRule>REG:HKLM\Software\TrendMicro\PC-cillinNTCorp\CurrentVersion\Misc.\ProgramVer</detectRule>
</detectCurrentVersionRulesList>
- In OfficeScan, the version should only contain major and minor version information because the OfficeScan client only stores the product version "m.n" style in the registry key.
- Use Administrator privileges to perform install and upgrade tasks.
<!-- this referring to admin privileges and is preferred over standard user -->
<adminOptions>prefer</adminOptions> - Describe the package information.
<!-- Informed Consent / Plugin Description -->
<pluginDescriptions>
<descriptions language="en" >
<description>Trend Micro Officescan Client Version 10.5 (x86) EXE Setup
</description>
<shortdescription>Trend Micro Officescan Client Version 10.5 (x86) EXE Setup</shortdescription>
</descriptions>
</pluginDescriptions> - Describe the upgrade information.
<!-- Upgrade string & Attributes -->
<autoUpgrade reboot="false" canUpgradeWhilePluginRunning="false" >
<command>$INSTALLERFILENAME $SILENTSWITCH $PARAMETERS</command>
<commandParameters></commandParameters>...
</autoUpgrade> - Describe the OfficeScan readme file location.
<READMElocation>\\{OfficeScan_Server_Name}\ofcscan\readme.htm </READMElocation>
- Save the Metadata file.
- Upload the OfficeScan client installation packages and Metadata file to the Citrix Merchandising Server.