Creating a layer patch to update a virtual software layer

Article:HOWTO50196  |  Created: 2011-04-18  |  Updated: 2012-01-05  |  Article URL http://www.symantec.com/docs/HOWTO50196
Article Type
How To


Subject


Creating a layer patch to update a virtual software layer

Layer patches provide a mechanism to make small, incremental updates to an existing application layer. Layer patches reduce the need to create a new layer to provide an application update. A layer patch file contains the changes between two versions of an application. Layer patches let you update layers without distributing a completely new layer.

For example, an existing Firefox 3.01 virtual software layer can be updated to version 3.02 by applying a small patch file.

When applying a patch, you can select to keep the previous layer and create new layer with the updated versions. This feature can simplify application migration by providing access to both versions. You can also copy all of the data and the settings that are stored in the writeable sublayer to the new version.

Patch files must be applied incrementally. If you create multiple patches, they must be applied in the order they were created.

To create a layer patch file you need a layer that contains the existing version of an application. This layer must have the same GUID as the layer distributed in your environment. You also need a second layer that contains the updated version of the same application. For example, Firefox 3.01 in the first layer and Firefox 3.02 in the second.

For a detailed explanation of the patch creation process, see the following article on Symantec Connect:

Exploring the layer patch feature

VIDEO: Creating layer patches

Note:

Due to significant path and other system changes in 64-bit, patches that were created for 64-bit operating systems should be created on the specific operating system where they will be deployed. For example, we recommend creating a separate patch file for 64-bit Windows 7 using a 64-bit Windows 7 operating system.

To create a layer patch file

  1. Import the layer that contains the existing version.

  2. Import the layer that contains the updated version of the application.

  3. In the SWV Admin tool, click File > Create patch.

  4. On the Create Layer Patch Archive File dialog box, do the following:

    • Select the original layer from the Original layer drop-down menu.

    • Select the updated layer from the Updated layer drop-down menu.

    • Click Browse , select the name and path for the layer patch file, and then click Open.

    • Click OK.

To apply a layer patch file

  1. In the SWV Admin tool, click File > Apply Patch.

  2. Click Browse, select the name and path for the layer patch file, and then click Open.

    • Click Patch existing layer to apply the patch to an existing layer. This option updates the existing layer.

    • Select Export before patching to create a backup of the layer before the patch is applied.

    • Select Create new layer to apply the patch to a new layer. This option leaves the original layer intact.

    • Select Copy writeable sublayer from existing layer to copy the data that is stored in the writeable sublayer. This option moves the changes that are stored in the existing layer to the new layer.

  3. Click OK.

After a patch is applied, Windows Shortcut files (.LNK) that are contained in the writeable sublayer of the previous version are removed. Any new shortcuts in the new version are available. This process helps prevent unusable shortcuts from being left after an upgrade.


Legacy ID



v19921968_v57224467


Article URL http://www.symantec.com/docs/HOWTO50196


Terms of use for this information are found in Legal Notices