Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Chapter 17: Using Software Virtualization with Altiris Deployment Solution

Created: 07 Jun 2007 • Updated: 12 Feb 2013
Language Translations
Admin's picture
+1 1 Vote
Login to vote

You can use Altiris® Deployment Solution™ to install the Software Virtualization Agent on managed computers and deploy and manage Virtual Software Packages (VSPs) on managed client computers. This chapter describes the following tasks:

  • Using Deployment Server to Install the Software Virtualization Agent
  • Copying Virtual Software Archive Files to Deployment Server
  • Using Deployment Server to Deploy VSPs
  • Using Deployment Server to Manage VSPs
  • Using Deployment Server to Uninstall the Software Virtualization Agent

Using Deployment Server to Install the Software Virtualization Agent

This procedure explains how to install the Software Virtualization Agent on client computers managed by Deployment Solution.

Note By default, the managed computer is restarted after the Software Virtualization Agent is installed.

To install the Software Virtualization Agent using a job

  1. On your Deployment share, create a folder to store the agent and Virtual Software
  2. Archive (VSA) files.
    Example:
    Create a folder named SVS with subfolders named Agent and VSAs, such as \\servername\eXpress\SVS\Agent\
  3. Copy the Software_Virtualization_Agent.msi file into the folder that was just created.
  4. Open the Deployment Console and create a new job. Example: Name the job, "Install SVS Agent and Restart".
  5. Add a "Distribute Software" task to the job.
  6. In the task, browse to the Software_Virtualization_Agent.msi file and select it as the file to deploy.
  7. Select the "Run in quiet mode" checkbox.
  8. Under the Additional command-line switches add the following:
    PRODUCT_KEY=<product key>

    For information about agent installation command line options, see Software Virtualization Agent Installation.

  9. In the Code box, enter 1641.

    To see the definition of this exit code open a command prompt and type "net helpmsg 1641". It is a success code, but it is not recognized by DS as one.

  10. Click Finish.
  11. After configuring the job, drag the job onto the managed computer and click OK.

Copying Virtual Software Archive Files to Deployment Server

To deploy a Virtual Software Package (VSP), you must export the VSP to a Virtual Software Archive (VSA). For information on creating VSAs, see Getting Started with Virtual Software Layers and Archive Files (page 31). You must then make the VSA available to the Deployment Server. The easiest way to do this is to copy the VSA files to your Deployment Server.

To copy Virtual Software Archive files to Deployment Server

  1. We recommend creating a unique location on your Deployment share to store your VSAs.
    Example:
    \\servername\eXpress\SVS\VSAs\
  2. Under the VSAs folder, create a subfolder for each VSA.
    Example:
    \\servername\eXpress\SVS\VSAs\AcrobatReader7
    \\servername\eXpress\SVS\VSAs\Firefox 1.5
  3. Copy the VSA files to the appropriate folders on your Deployment share.

Using Deployment Server to Deploy VSPs

This procedure explains how to create a job in Deployment Server to import a VSA and set it to activate on start.

To deploy a VSP using a job

  1. From the Deployment Console, create a new job. Example: Acrobat Reader 7.
  2. Under the job folder, create a new Copy file task. Example: Acrobat Reader 7: Import and Set Activate on Start.
  3. Enter the source path where the VSA is stored on the share.
  4. Enter a destination path for the VSA to be copied on the managed computer. Example: C:\windows\temp.
  5. Click Finish.
  6. Create a new Run Script task inside of the job to call the SVS command-line interface.
    Example:
    SVSCMD.exe I -P "C:\windows\temp\AcrobatReader7.vsa" 
    SVSCMD.exe "AcrobatReader7" AUTO -Y 
    

    For a list of available command-line options and information on how to use them, see Using SVSCMD Command-Line Parameters.

  7. Select Windows as the script operating system.
  8. Click Next.
  9. Click Finish.
  10. Drag and drop the computer on the job.
  11. In many cases, depending on the application, after the job has completed, the managed computer may need to be restarted. You can do this using Deployment Server power controls.

Using Deployment Server to Manage VSPs

You can also use jobs to manage VSPs, such as resetting, deactivating, and deleting.

To manage VSAs using a job

  1. Create a new job.
    Example: Acrobat Reader 7: Reset.
  2. Create a new Run Script task inside of the job to call the SVS command-line interface.
    Example: To reset the VSP, use the following script:
    SVSCMD.exe "AcrobatReader7" RESET -F 
    

    You can use a wide variety of command-line options. For a list of available command-line options and information on how to use them, see Using SVSCMD Command-Line Parameters (page 61).

  3. Select Windows as the script operating system.
  4. Click Next.
  5. In the Script Window option, select Hidden.
  6. Click Finish.
  7. Drag and drop the client computer onto the job.

Using Deployment Server to Uninstall the Software Virtualization Agent

This procedure describes how to uninstall the Software Virtualization Agent from a managed computer using Deployment Server.

Note By default, uninstalling the Software Virtualization Agent does not remove layers. To uninstall the Software Virtualization Agent and also remove all layers see Uninstalling the SVS Agent and removing all layers

To uninstall the Software Virtualization Agent using a job

  1. Under the job, create a new Copy file task.
    Example: Uninstall SVS Agent and Restart.
  2. Enter the source path where the VSA is stored on the share.
  3. Enter a destination path for the file to be copied on the managed computer.
    Example: C:\windows\temp.
  4. Click Finish.
  5. Add a run script task to the job to execute the following script:

    Msiexec.exe /x c:\windows\temp\Software_Virtualization_Agent.msi /q

  6. Select Windows as the script operating system.
  7. Click Next.
  8. In the Script Window option, select Hidden.
  9. Click Next.
  10. At the Return Codes screen, click Add.
  11. In the Code box, enter 1641.

    To see the definition of this exit code open a command prompt and type "net helpmsg 1641". It is a success code, but it is not recognized by Deployment Server as one.

  12. Change the Response to Continue and Result to Success.
  13. In the Status box, enter "SVS Agent removed, machine restarting".
  14. Clear the "Add to Master return code list" checkbox.
  15. Click OK.
  16. Click Finish.
  17. Drag the computer to the job.

Chapter 16: SVS Task Server Plug-in

Chapter 18: Software Virtualization Solution Technical Reference