Configure Polycom CMA Desktop Server address
Log In or Register to download the BES file, and more.

0 Votes

Description

This task will configure: Polycom CMA Desktop v5.2.2.

This task is applicable on: Windows XP, Windows XP x64, Windows Vista, Windows Vista x64, Windows 7 and Windows 7 x64.

Property Details

ID738
TitleConfigure Polycom CMA Desktop Server address
DomainBESC
CategorySoftware Configuration
Download Size0
Sourcejgs194
Source IDjgs194
Source Release Date6/13/2012 12:00:00 AM
KeywordsPolycom CMA Desktop Vista x64
Is TaskTrue
Added by on 12/6/2012 2:38:45 PM
Last Modified by on 12/6/2012 2:38:45 PM
Counters 4633 Views / 5 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 57 fixlets and 4 analyses   * Results in a true/false
Show indented relevance
(name of it = "WinXP" OR name of it = "WinXP-2003" OR (name of it = "WinVista" AND product type of it = nt workstation product type AND NOT x64 of it) OR (name of it = "WinVista" AND product type of it = nt workstation product type AND x64 of it) OR (name of it = "Win7" AND NOT x64 of it) OR (name of it = "Win7" AND x64 of it)) of operating system
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists key whose (value "DisplayName" of it as string contains "Polycom CMA Desktop" AND (it >= "5.2" as version) of (value "DisplayVersion" of it as string as version)) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists file (value "InstallLocation" of key whose (value "DisplayName" of it as string contains "Polycom CMA Desktop" AND (it >= "5.2" as version) of (value "DisplayVersion" of it as string as version)) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry as string & "assets\config\configuration.xml")
Used in 1 fixlet   * Results in a true/false
Show indented relevance
"0.0.0.0" != (it as text) of xpath "//Varies/specCmaServerIpAddress" of xml document of file (value "InstallLocation" of key whose (value "DisplayName" of it as string contains "Polycom CMA Desktop" AND (it >= "5.2" as version) of (value "DisplayVersion" of it as string as version)) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry as string & "assets\config\configuration.xml")

Actions

Action 1 (default)

Action Link Click here to initiate the deployment process.
Script Type BigFix Action Script
// Set default Server IP address:
delete __createfile
// Using ActionScript, this will create a new VBScript file, write to it, execute it with cscript, and delete it.
// Begin reading lines and write to the VBScript file.
createfile until END_OF_FILE
'Begin VBScript Code
Set xmlDoc = _
CreateObject("Microsoft.XMLDOM")
xmlDoc.Async = "False"
xmlDoc.Load("{value "InstallLocation" of key whose (value "DisplayName" of it as string contains "Polycom CMA Desktop" AND (it >= "5.2.2.13044" as version) of (value "DisplayVersion" of it as string as version)) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry}assets\config\configuration.xml")
Set colNodes=xmlDoc.selectNodes ("/Varies/specCmaServerIpAddress")
For Each objNode in colNodes
objNode.Text = "0.0.0.0"
Next
Set colNodes=xmlDoc.selectNodes ("/Varies/cmaServerType")
For Each objNode in colNodes
objNode.Text = "specify"
Next
Set colNodes=xmlDoc.selectNodes ("/Varies/signinAutoStart")
For Each objNode in colNodes
objNode.Text = "disable"
Next
xmlDoc.Save "{value "InstallLocation" of key whose (value "DisplayName" of it as string contains "Polycom CMA Desktop" AND (it >= "5.2.2.13044" as version) of (value "DisplayVersion" of it as string as version)) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry}assets\config\configuration.xml"
END_OF_FILE
// Copy the newly created file to a filename that has a .vbs extension.
delete EditXML.vbs
copy __createfile EditXML.vbs
waithidden cscript.exe EditXML.vbs
delete EditXML.vbs
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!