Configure Polycom CMA Desktop Server address
0 Votes |
Description
This task is applicable on: Windows XP, Windows XP x64, Windows Vista, Windows Vista x64, Windows 7 and Windows 7 x64.
Property Details
738 | |
Configure Polycom CMA Desktop Server address | |
BESC | |
Software Configuration | |
0 | |
jgs194 | |
jgs194 | |
6/13/2012 12:00:00 AM | |
Polycom CMA Desktop Vista x64 | |
True | |
jgstew on 12/6/2012 2:38:45 PM | |
jgstew on 12/6/2012 2:38:45 PM | |
4633 Views / 5 Downloads | |
![]() ![]() ![]() ![]() ![]() |
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 |

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 |

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 |

"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:Success Criteria
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
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |