Using Symantec Packager and pcAnywhere, Part 7 of Using pcAnywhere
Symantec Packager
Symantec Packager is a tool to use in conjunction with pcAnywhere to build a custom install that includes all settings and customizations so that you can deploy to an end user with no user intervention if you choose.
Symantec Packager Installation
- Symantec Packager is no longer included on the pcAnywhere install CD. To download the packager files run the setup.exe located on the root of the pcAnywhere installation CD.
- Click View Other Installation Options.

- Click Download Symantec Packager.

- A prompt to run or save the file will appear select Save

- A prompt to pick a location will open select your desktop and click Save.

- Once the packager is downloaded go to your desktop and double click the Packager_ENG.exe icon.

- Click Run if a Security Warning comes up.

- A prompt You are about to install Symantec packager, Do you want to Continue? Select Yes.

- The Symantec pcAnywhere - InstallShield Wizard will open and select Next >

- After the packager extracts itself a Symantec Packager 1.4 - InstallShield Wizard screen will come up click Next >

- Enter User Name: and Organization: appropriately.

- Select the I agree radio button and click Next.

- Select the destination default is fine click Next >

- Click Install

- Live update will run. Because these lab machines don't have internet access click Cancel

- Click Finish

- The latest build of pcAnywhere will then be imported into Symantec Packager.

- Once the import is finished the wizard will close.
Gathering Packager files
Packager can be used to build any combination of customized installations. For this How To we will be building a host only installation that will auto launch with windows and have a passive installation.
Packager can include preconfigured Host , Remote, Caller, Option sets, Security Identifiers and Command Queues, these files can be harvested from following folders of a machine that has pcAnywhere installed and configured the way you want it to be.
For this How To we are interested in the host files (.bhf) and caller files (.cif). Be familiar with the remote files (.chf), option sets (.opt), security Identifiers (.sid) and Command Queues (.cqf) configuration files.
The location of these files varies by operating system:
- Windows 2000: C:\Documents and Settings\All Users.WINNT\Application Data\Symantec\pcAnywhere
- Windows XP: C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere
- Windows 2003: C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere
- Windows Vista: C:\ProgramData\Symantec\pcAnywhere
- Windows Server 2008: C:\ProgramData\Symantec\pcAnywhere
- For this How to you will need to have a Host and Caller configured. If you are new to pcAnywhere you can refer to the How to install and configure a host.
- Open Windows Explorer and locate the Hosts folder in the appropriate location based on your OS. If you are working with a default install on windows XP the path will be the following. C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts

Note: If you are not able to locate the Application data folder the machine may be configured to not show hidden files and folders.
- To configure windows to show hidden files and folders from within the Windows Explorer select Tools > Folder Options

- From the Folder Options menu select the View tab and then select the radio button for Show hidden files and folders.

- Click OK.
- Now you should be able to see the hidden Application Data folder

- Navigate to the C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts

Note: The following Host on MachineOne .BHF and PCA.pca.CIF were built in an earlier How To and that your files may have different names.
These files are what make up the host and the caller file that was created to allow the host to run and accept a caller of pca or whatever caller you have made. Note that if your packager program is installed on the same machine as your host you don't need to do anything with these files. If your host is configured on a different machine you will need to copy them to the machine with packager installed on it.
Creating a custom product
Packager has four phases to be able to build a custom install. The first is automatically taken care of when you install it. That is the importing of the product files (.pmi). The second is to customize a product.
- From your desk top double click the Symantec Packager icon.

- Select the Configure Products tab

- Select File > New Product Configuration

- Select the version of the product that you will be configuring and click OK (by default you will only have one choice but if you imported multiple versions of pcAnywhere then you may have more than one version to choose from.)

- The product editor page opens.

- Uncheck the Remote option as we will be making a host only package.

- Select the Configuration Files tab

- Highlight and remove all of the files that were default in this product. See screen shot to follow.

- Highlight the Host Files (*.BHF) line and click Add

- Browse to the folder noted in Gathering Packager Files section C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts and select the appropriate .BHF file and click Open

- Highlight the Caller Files (*.CIF) line and click Add

- Brows to the folder noted in Gathering Packager Files section and select the appropriate .CIF file and click Open.

- Click the Installation Options tab.

- Select the Host Object to Launch After Install click Modify

- From the Value drop down menu select your host .BHF click OK.

- Select the Host object to start with Windows click Modify

- From the Value drop down menu select your host .BHF click OK.

- Click OK

- At the Save As dialog name this file My_Host_Only_Product.pcg and select Save.

Note: The default location for packager files is C:\Documents and Settings\%user profile%\My Documents\Packager
Creating a Custom Package
The third step to building a custom install is to configure a package that includes your custom product. Once the package is created it can be selected and built into a deployable installation file.
- Select the Configure Packages tab

- Select File > New Package Definition

- Click Add

- Locate C:\Documents and Settings\%user profile%\My Documents\Packager and select the My_Host_Only_Product.pcg and click OK.

- Select the Installation Options tab

- Select the Default installation mode and click Modify

- Select the Passive radio button and click OK

- Select the Product Selection Tab and review the properties of the package. Click OK

- In the Save as dialog name this file My_Host_Only_Package.pkg and select Save.

- Right click the My_Host_Only_Package and select build.

- Once the package is done building and the Close button is available click Close

Note: There is a know defect with Packager when a package is built. The windows what shows the status does not have enough a large enough buffer to hold all of the lines of information that pcAnywhere 12.5 has. You won't fully know if the package was a success or a failure until it is deployed. In all of my testing the packages that I have built that had failures failed soon enough that the failure was displayed in the status window. Additionally you can only determine that the package is done being built by when the cancel button changes to a close button.
For more information see KB# 2008111313124860
http://service1.symantec.com/SUPPORT/on-technology...
Package Deployment
Once a package is built it can be deployed using the package deployment tool available in the Symantec Packager product.
- Select the Deploy Package tab.

- Select the My_Host_Only_Package and right click and select Deploy.

- On the Package Deployment page.
a. Enter the Computer name or IP address:
b. Click Add
c. Click Deploy
- Enter the appropriate Administrative credentials
a. Domain\Username:
b. Password:
c. Click OK
- If no errors occur then click Close. And you are ready to connect to you host only install.
If you do receive an error try to determine why and resolve the error. (The most common is simple file sharing and you will need to disable simple file sharing on your destination to complete this How To) See steps below to disable simple file sharing on your destination computer.
- To disable simple file sharing open My Computer and select Tools > Folder Options...

- Select the View tab and scroll to the bottom of the Advanced settings box. Look for the Use simple file sharing (Recommended) option and then uncheck it.

For more information on what simple file sharing is and what it is used for see Microsoft KB http://support.microsoft.com/kb/304040
Now that the simple file sharing is disabled test that you have connectivity from the computer with Packager installed to the administrative share on the machine you are deploying to.
- From the Start menu on the packager machine go to the Run Line and type \\thedeploytocomputername\c$
- You may be prompted for credentials to the s$ share. Use an administrative user name and password.
- If you can successfully get to this share then restart the package deployment section of this lab. If you can't then check the status of the firewall and try to resolve further.
A PDF Version of this article is attached below.
Review Part 6 here: Using Thin Host from pcAnywhere 12.5, Part 6 of Using pcAnywhere
See Part 8 here: Installing and Configuring pcAnywhere Gateway, Part 8 of Using pcAnywhere