Siebel Medical Handheld Guide > Deploying Siebel Handheld Applications > Distributing Siebel Handheld Application Patches >

Deploying Patches to Handheld Applications with Direct Server Synchronization   


This task is a step in Process of Installing the Siebel Handheld Application.

In order to set up patch deployment for Direct Server Synchronization users, you need to patch the Siebel Server and patch one Siebel Handheld Client which serves as the "model" from which patch files are pulled. Then the patch files are then packaged and placed in the location on the Siebel Server where PatchAgent expects to find the files. The next time the user synchronizes with Siebel Server, the patch is installed onto their handheld device.

For more information about how the patch process works with synchronization, see Downloading Patches to the Handheld Device.

To set up patch deployment

  1. On Siebel Server, verify that the following directories exist. If they do not, create the directories.
    • C:\patch\AppBinDir
    • C:\patch\WinDir

      NOTE:  You can specify a drive other than C:. However, the directory names must be specified as shown above.

  2. Apply the patch to Siebel Server.
  3. Apply the patch to one Siebel Handheld Client.
  4. Examine the Handheld application directory (My Device\Program Files\Siebel Handheld) to determine which files to copy over to the Siebel Server directory (C:\patch\AppBinDir).
  5. Examine the Handheld application directory (My Device\Windows) to determine which files to copy over to the Siebel Server directory (C:\patch\WinDir).

    To do Step 4 and Step 5 accurately, it is recommended that you use one of the following methods:

    • First, take a snapshot of all files in the Siebel Handheld application directory before you install the new build. Then install the new Handheld application build, making a note of all files that are installed in the process.

      By comparing the list of files in the Handheld application directory before installation of the new build with the list of files in the Handheld application directory after installation of the new build, you can determine which files are new and which files remain the same.

      Copy all new files over to the Siebel Server directory.

    • Take a snapshot of the siebel.inf file before you install the new build. The siebel.inf file contains a complete list of all files that are installed on the handheld device, and is created just before the installation of the Handheld application (before clicking the finish button to finish installation of your Siebel Handheld application, the %temp%\siebelhh\files\siebel.inf file is created).

      In the case of Step 4, by comparing the list of files in the [Files.AppBinDir] section of siebel.inf with the list of files that are installed with the new build in the \Program Files\Siebel Handheld folder, you can determine which files are new and which files remain the same.

      In the case of Step 5, by comparing the list of files in the [Files.Windows] section of siebel.inf with the list of files that are installed with the new build in the \Windows folder, you can determine which files are new and which files remain the same.

      Copy all new files over to the Siebel Server directory.

      NOTE:  In all cases, compare the file size and timestamp on the older build with the newer build to determine which files need to be patched.

  6. From the DOS prompt, change directory to Siebel Root\SWEApp\BIN.
  7. Execute the following command to stage the patch files and the patchlist.txt in the correct location on the Siebel Server:

    C:\Siebel Root\SWEApp\BIN>createpatchlist /s c:\patch /t c:\Siebel Root\sweapp\cepatch

    where

    • /s - source directory. The directory where the patch files were moved.
    • /t - target directory. The directory where PatchAgent checks for the patch files.

      NOTE:  You can specify a drive other than C:. However, the location of the source and target directories must be specified exactly as shown.

      After the patch files have been moved and the patch list created, the following message appears: Patch List has been successfully created in Siebel Root\SWEApp\cepatch files transferred successfully.

The patch files are now ready to be deployed to Direct Server Synchronization users.

Siebel Medical Handheld Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.