Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
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.
5. A prompt to pick a location will open select your desktop and click Save.
6. Once the packager is downloaded go to your desktop and double click the Packager_ENG.exe icon.
8. A prompt You are about to install Symantec packager, Do you want to Continue? Select Yes.
9. The Symantec pcAnywhere InstallShield Wizard will open and select Next >
10. After the packager extracts itself a Symantec Packager 1.4 InstallSheild Wizard screen will come up click Next >
15. Live update will run. Because there are no updates for packager click Cancel
17. The latest build of pcAnywhere will then be imported into Symantec Packager.
C:\ProgramData\Symantec\pcAnywhere
1. 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 How To document. 2. 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. 3. To configure windows to show hidden files and folders from within the Windows Explorer select Tools > Folder Options
4. From the Folder Options menu select the View tab and then select the radio button for Show hidden files and folders. 9
5. Click OK. 6. now you should be able to see the hidden Application Data folder
10
Note: the following Host on MachineOne .BHF and PCA.pca.CIF were built in the How to install and configure a host How To document. Your Host and caller files may have different names. The host files are where the preconfigured preferences and security settings are stored and make this install and all future deployments behave in a specific way. Similarly the callers files reflect the settings and level of access for the user or group that have been configured to be used by this installation. Note that if your packager program is installed on the same machine as your host you dont need to do anything with these files. If your host is configured on a different machine you will need to copy the BHF and CHF files to the machine that has packager installed.
Downloading SP2 and SP3 for pcAnywhere 12.5 to be included in the install.
Symantec pcAnywhere 12.5 has 2 patches sp2 (build 463) and sp3 (build 486) that can be included with the install package. Please download the 12.5 sp2 and sp3 from the following Knowledge base documents and save them to the following location C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\ These files will be referred to again under the Building a Custom Command section of this document. Title: Symantec pcAnywhere 12.5 SP2 (Build 463): Release Notes Document ID: TECH132060 > Web URL: http://Symantec.com/docs/TECH132060 11
Title: Symantec pcAnywhere 12.5 build 486 SP3 standalone installer Document ID: TECH167734 > Web URL: http://Symantec.com/docs/TECH167734
Creating a batch file that will run the sp2 and sp3 files.
Symantec Packager can include a custom command that will launch one command after the install of pcAnywhere is completed. Because we need to run both the sp2 and sp3 installers we will need to create a batch file that can be launched to then run multiple commands. The following is the contents of a batch file that will A. B. C. D. Remove the Symantec pcAnywhere icon form the desktop Install sp2 silently Install sp3 silently Remove the sp2 and sp3 install files. ----------------
Rem ---- This line removes the desktop short cut on Windows xp systems del "C:\Documents and Settings\All Users\Desktop\symantec pcanywhere.lnk" Rem ---- This line removes the desktop short cut on Windows 7 systems del C:\Users\Public\Desktop\symantec pcanywhere.lnk" Rem ---This line installs sp2 silently c:\windows\temp\pcAnywhere_12.5_SP2.exe /qn Rem ---This line installs sp3 silently c:\windows\temp\pcAnywhere_12.5_SP3.exe /qn Rem ---- These lines clean up the sp2 and sp3 files after the install del c:\windows\temp\pcAnywhere_12.5_SP2.exe del c:\windows\temp\pcAnywhere_12.5_SP3.exe To create the batch file perform the following steps. 1. Open Notepad and paste the above bold lines into the new document
12
2. Select File and then Save as a. In the Save as window browse to the following location C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\ b. Name the file shortcutremoval.bat c. Change the Save as type to All Files d. Click Save
13
4. 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 packager files then you may have more than one version to choose from.) 14
15
8. Highlight and remove all of the files that were default in this product. See screen shot to follow.
16
10. Brows 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
17
11. Highlight the Caller Files (*.CIF) line and click Add
12. Brows to the folder noted in Gathering Packager Files section and select the appropriate .CIF file and click Open.
18
14. Select the Host object to start with Windows click Modify
15. From the Value drop down menu select your host .BHF click OK.
19
16. Click OK again 17. 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
20
4. The Command Editor opens. Highlight the Description line and click Modify
21
5. Enter a clear description of what this custom command is used for and click OK
22
7. Navigate to the C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\ folder and highlight the pcAnywhere_12.5_SP2.exe file that was downloaded earlier, click Open
8. In the Additional files section click the Add button again and navigate to the C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\ folder and highlight the pcAnywhere_12.5_SP3.exe file that was downloaded earlier, click Open 9. In the Additional files section click the Add button again and navigate to the C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\ folder and highlight the shortcutremoval.bat file that was created earlier, click Open 10. Highlight the Target location for additional files and click Modify
23
11. Select the Custom path radio button and under the Folder specification: enter c:\Windows\temp and click OK
24
13. In the Command line Specification screen type the following information. a. In the Command line and switches line type c:\Windows\temp\shortcutremoval.bat b. Select the 3 boxes at the bottom under the Run options
14. Your Command Editor screen should look like the following, click OK and
25
15. In the Save As screen type an appropriate name like pcAnywheresp2installer and click Save
16. You will now have a custom command listed in the Configure Products tab of packager with the name of the custom command that you built.
26
3. Click Add
27
4. Locate C:\Documents and Settings\%user profile%\My Documents\Packager and select the My_Host_Only_Product.pcg and click OK.
28
7. Select the Passive radio button and click OK Note: Passive and Silent mode installations may yield installation issues during upgrade installs. It is recommended at this time to use interactive mode for upgrades or uninstall the prior version prior to installing the new pcAnywhere 12.5 with sp2 and sp3.
29
9. Locate C:\Documents and Settings\%user profile%\My Documents\Packager and select the custom command file that was created earlier pcAnywheresp2installer.pcg Click Open
10. On the Package Editor screen select OK a. Note: Make sure that the Host product is in the list above the custom command. The files will be installed from top to bottom so it is important that the custom command
30
with the updates is last in the list. You can highlight any of the items on the left hand screen and then select the Move Up or Move Down buttons to rearrange the order.
11. In the Save as dialog name this file My_Host_Only_Package.pkg and select Save.
31
13. 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 TECH110406 http://symantec.com/docs/TECH110406 32
Package Deployment
Symantec Packager will build several files located in the following locations depending on the OS that is being used. Windows xp C:\Documents and Settings\%user profile%\My Documents\Packager \Deployment Windows Vista and 7 C:\Users\%user profile%\My Documents\Packager \Deployment My_Host_Only_Package.exe This file will be larger than the other two files that are created and is the combination of the core pcAnywhere program files and the custom command wrapped together in a single installer. This is the file that must be deployed if only one file is to be deployed. See below for more information about the .msi and smaller .exe files. My_Host_Only_Product.msi This file is not as large as the .exe file and contains only the core pcAnywhere install; it does not include the custom command or the sp2 and sp3 files that were added to the custom package. When using the MSI to deploy pcAnywhere then the smallest.exe must be deployed also (see next item) pcAnywheresp2installer.exe This file is the smallest and contains only the custom command and the sp2 and sp3 files. As mentioned above, if the MSI file is installed directly, then it will be necessary to run this file in order to apply the sp2 and sp3 updates.
33