# Using the create_CM_Patch Utility

The utility `create_CM_Patch.sh` is used to create a patch release of CMs. A patch release version is created as a difference between a previous CM version and a new CM version. This type of release may be useful if the implementation team wants to ship only an update of the previously released version by preparing a smaller package that can be delivered easily by email or ftp to the customer.

Fastpath: Before executing the utility, be sure that both packages are available in the same directory on the server. During the installation process at the customer site, the patch install utility will not remove the previous version of CM modules and will only install the patch content on top of the previous CM version.

Here is the process for creating a patch release CM version:

1. Log in to the server with the administrator user id.
2. Change directory to the name of the directory that contains the SDK packaging utilities (`CM_packaging`).
3. Execute the utility by entering the following command:

   `./create_CM_Patch.sh -d $RELEASEHOME`

   Where:

   `$RELEASEHOME` is the directory that currently holds your CM full release packages - and where you also want to put your new patch package.

Tar and zip the resulting CM patch directory for Unix platform or zip it for Windows platform and ship it to your customer. The customer who wishes to install the delivered package onsite must follow these instructions:

1. Decompress and untar the installation media (on Unix) or unzip (on Windows) to a temporary directory.
2. Change directory to that directory.
3. Log in and initialize the target environment.
4. Change to the Installation directory by using the following command

   `cd CMCCB.$VERNO`

   Where:

   `$VERNO` is the version number (the content of the file `CMVERSION.txt`)

5. Run the following script:

   `./install.sh - on Unix`

   `install.cmd - on Windows`

Parent topic: App Server CM Packaging Tools