How To Deploy Workspace Streaming Agents Via Managed Software Delivery Policy

book

Article ID: 178761

calendar_today

Updated On:

Products

Workspace Virtualization (formerly SVS) Workspace Streaming (formerly AppStream) Software Management Solution

Issue/Introduction

 

Resolution

1. Obtain the SEVAgents and SetupCfg files

-Download and run the SWS…setup.exe file for the desired version of Workspace Streaming and Virtualization.

-After the installation files have been extracted the Installation Wizard will open. DO NOT proceed through the Installation Wizard.

-Browse to the %TEMP%\disk1\Client folder, this will be somewhere like this: C:\Users\CurrentUser.Domain\AppData\Local\Temp\disk1\Client.

-Copy the SEVAgents.exe and SetupCfg.txt files from here, or for the 64-bit agents go to %TEMP%\disk1\Client\x64 and copy the SEVAgents_x64.exe and setupCfg.txt files from here.

-Move these files to a location on the Notification Server (NS).

-Once the files are copied the Installation Wizard can be closed.

 

2. Modify the SetupCfg file to direct the Streaming Agent to a Streaming Server

-Open the SetupCfg file in a text editor.

-Find the following two lines, delete the “;” character in front of them, and provide an appropriate URL for a streaming server like the following:

SWS.STS_SERVER=fe-w2k8-01.dom.local

SWS.LAUNCH_SERVER_URL=http://fe-w2k8-01.dom.local/

-For more information on SetupCfg.txt file options please find the appropriate version of the Symantec Workspace Streaming Installation and Implementation Guide.

 

3. Import the SEVAgents and SetupCfg files into Altiris

-Open the Altiris Console from the NS and browse to Manage>Software Catalog.

-The Software Library will have to be set up if it is not already: http://www.symantec.com/docs/HOWTO62737

-In the Software Catalog window click the Import button.

-In the Import Software: Specify Software window click the + Add button.

-Browse to the location of the SEVAgents and SetupCfg files and select one of the files, then click Open.

-Do the same for the other file.

-Select the SEVAgents file under Package Contents and click Set Installation File if it is not already bold.

-Click Next.

-Give the software resource an appropriate name, version, and company if the defaults are not acceptable.

-Click OK.

 

4. Create the Command Line to install the agents

-Go to the Package tab.

-Click + Add command.

-In the Add or Edit Command Line window name the command “Silent Install with Config File” or something appropriate.

-Change Installation file type: to EXE Software Installation File.

-Change Command type: to Install.

-Enable Set as the default for this command type.

-Enter the appropriate command below for Command line:

(for 32-bit file) SEVAgents.exe /s SEV.CFG=SetupCfg.txt

(for 64-bit file) SEVAgents_x64.exe /s SEV.CFG=SetupCfg.txt

-Enter the following for Success codes:

0, 3010

-Enter the following for Failure codes:

1

-Click OK.

 

5. Create a Detection Rule to prevent unnecessary installation attempts

-Go to the Rules tab.

-Click * New on the Detection rule: line.

-In the Create Rule window name the rule “Detect AppMgrService.exe” or something appropriate.

-Click the blue + button.

-Browse to Standard Rule>File Version.

-Paste the following in File Path:

C:\Program Files\Symantec\Workspace Streaming\Bin\AppMgrService.exe

-Set Version type: to Product Version.

-Set Version must be: to [].

-Set the version boundaries; for example, for SWS Agent 7.6 use 7.6.0 in the first box and 7.6.99 in the second box.

-Click OK to close the File Version window.

-Click OK to close the Create Rule window.

-Click OK to close the edit software window.

 

6. Create a Managed Software Delivery (MSD) Policy

-In the Software Catalog window search for the name of the software that was just created.

-Right-click on the software and select Actions>Managed Software Delivery.

-In the Managed Software Delivery window click Next >.

-Click Apply to and then use one of the options to select or build a target for the policy. Apply to>Computers is the most commonly used option with the following syntax: exclude computers not in Computer list (Computers).

-Click Next >.

-Under Choose when to check the compliance click Add schedule, and then use one of the options to set up a schedule. Schedule time is the commonly used option with the repeat setting set to Daily.

-Click Next >.

-Click Deliver software.

-The MSD policy will be created under Manage>Policies>Software>Managed Software Delivery.

 

7. Add a Reboot Notification to the Managed Software Delivery policy (this part is optional)

-Find the policy that was just created under Manage>Policies and then Software>Managed Software Delivery, then open the policy by double-clicking it.

-Under the Policy Rules/Actions bar, under the Software tab, click Advanced options.

-In the Advanced options window go to the Results-based actions tab and set Upon success: to Restart computer.

-Enable Allow user to defer action up to: and specify an adequate amount of time. This will show users a popup warning that they need to restart their computer within that time limit.

-Click OK to close the Advanced Options window, then click Save Changes on the policy page.