Deploy - RES ONE Workspace Connector - 1.1.0.7 - Windows
0 Votes |
Description
Deploy a new RES ONE Workspace Connector!
The following requirements must be met on your BigFix Root Server prior to this Fixlet being relevant for your BigFix Root Server:
- = "9.0") then (links of fixlets (708; 1294) of bes site whose (id of it = 1)) else (links of wizards whose (dashboard id of it = "MFSConfiguration.ojo") of bes site whose (id of it = 1))) ?>
- RES ONE Workspace Console installed
- No existing RES ONE Workspace Connectors Installed
Property Details
21858 | |
Production - Fully Tested and Ready for Production | |
Deploy - RES ONE Workspace Connector - 1.1.0.7 - Windows | |
BESC | |
Upgrade | |
RES Software | |
10/3/2016 12:00:00 AM | |
RES on 10/3/2016 4:46:09 PM | |
RES on 10/3/2016 4:46:09 PM | |
2092 Views / 23 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance
isWindows (Relevance 1172)

windows of operating system

NOT in proxy agent context
Used in 22 fixlets | * Results in a true/false |

exists main gather service whose (version of it >= "9")
Used in 3 fixlets | * Session Relevance |

/* BES Server Plugin Service is Configured */ exists key "HKLM\SOFTWARE\BigFix\Enterprise Server\MFSConfig" whose (exists value "RESTUsername" of it AND exists value "RESTPassword" of it AND exists value "RESTURL" of it AND exists value "RESTPasswordEncryption" of it) of registry
Used in 3 fixlets | * Results in a true/false |

/* New RES2BES Connector is not installed */ not exists (file "res2bes.exe" of folder (value "path" of key "HKLM\SOFTWARE\BigFix\Enterprise Server\Applications\res2bes" of registry as string)) | true
Used in 3 fixlets | * Results in a true/false |

/* Old RES2BES Connector is not installed */ not exists file ((value "InstallDir" of it as string & "res2bes\res2bes.exe") of key "HKEY_LOCAL_MACHINE\Software\RES\Workspace Manager" of x32 registry) | true
Actions
Action 1
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// Source Release Date: 2016-10-03
prefetch RES2BES.exe sha1:BF7F4587AD824B245385C66E3138C32BF257A8F5 size:153960 http://downloads.ressoftware.com/downloads/cdm/res2bes/1.1.0.7/RES2BES.exe sha256:B40319BB034FC0C20698A8BC3FE42540E483959FE997A011712BE1DA250D84AB
prefetch REST.zip sha1:F147FF2309DA7C003B87BA6FBE87D7CE5A23E30C size:126678 https://bitbucket.org/bigfixme/bigfix-rest-api-c-library/downloads/REST.1.0.4.zip sha256:514B22C09D54EC82FBF1D7B6EEC2A52905BF185A269983C8F9E60A00557B1801
prefetch json.zip sha1:2651F5C44C0E9EEA6481654FD0141B94EBE4F4B3 size:6417283 https://github.com/JamesNK/Newtonsoft.Json/releases/download/5.0.8/Json50r8.zip sha256:BFEC6F0B8576CE3CD5C72EF11440BC80CA216011A2EBD9CA3C63064FBD9EE9AB
prefetch libcmdline.zip sha1:DD6BF03C041DCC2336AF69F03EDAC47F16009682 size:6289760 http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=commandline&DownloadId=631639&FileTime=130064582294400000&Build=21031 sha256:EC9BF298DFE4950C2DD993EE1DA06C95D8451DA129C503604F195BCDB3AAE6B3
prefetch unzip.exe sha1:e1652b058195db3f5f754b7ab430652ae04a50b8 size:167936 http://files.bigfix.me/unzip-5.52.exe sha256:8d9b5190aace52a1db1ac73a65ee9999c329157c8e88f61a772433323d6b7a4a
utility __Download\unzip.exe
waithidden __Download\unzip.exe -o "{pathname of client folder of current site}\__Download\REST.zip" -d "{pathname of client folder of current site}\__Download\REST"
waithidden __Download\unzip.exe -o "{pathname of client folder of current site}\__Download\Json.zip" -d "{pathname of client folder of current site}\__Download\JSON"
waithidden __Download\unzip.exe -o "{pathname of client folder of current site}\__Download\libcmdline.zip" -d "{pathname of client folder of current site}\__Download\CmdLineParse"
parameter "pluginVersion" = "1.1.0.7"
parameter "serverFolder" = "{parent folder of file (following text of first "%22" of (image path of main gather service as string))}"
parameter "pluginsFolder" = "{parameter "serverFolder"}\Applications"
parameter "configFolder" = "{parameter "pluginsFolder"}\Config"
parameter "pluginFolder" = "{parameter "pluginsFolder"}\res2bes"
folder create "{parameter "pluginsFolder"}"
folder create "{parameter "pluginFolder"}"
folder create "{parameter "configFolder"}"
delete "{parameter "pluginFolder"}\res2bes.exe"
move "__Download\RES2BES.exe" "{parameter "pluginFolder"}\res2bes.exe"
delete "{parameter "pluginFolder"}\REST.dll"
move "{pathname of descendants whose (name of it is "REST.dll") of client folder of current site}" "{parameter "pluginFolder"}\REST.dll"
delete "{parameter "pluginFolder"}\CommandLine.dll"
move "{pathname of descendants whose (name of it is "CommandLine.dll" and pathname of it contains "libcmdline\bin\Release") of client folder of current site}" "{parameter "pluginFolder"}\CommandLine.dll"
delete "{parameter "pluginFolder"}\Newtonsoft.Json.dll"
move "{pathname of descendants whose (name of it is "Newtonsoft.Json.dll" and pathname of it contains "Bin\Net35") of client folder of current site}" "{parameter "pluginFolder"}\Newtonsoft.Json.dll"
// Configure Plugin settings
delete __createfile
delete "{parameter "configFolder"}\res2bes.xml"
createfile until _end_
="1.0" encoding="utf-8" ?>
res2bes
" {parameter "pluginFolder"}\res2bes.exe" --RESTURL "%RESTURL%" --RESTUSERNAME "%MOUSERNAME%" --RESTPASSWORD "%MOPASSWORD%" {if (parameter "ConnectorAuthMethod" of action = "SQL Authentication") then "--SQL" else ""}
900
True
_end_
move __createfile "{parameter "configFolder"}\res2bes.xml"
// configure plugin
regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\Applications\res2bes]" "Installation Time"="{now}"
regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\Applications\res2bes]" "Version"="{parameter "pluginVersion"}"
regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\Applications\res2bes]" "Path"="{escape of (parameter "pluginFolder")}"
regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\Applications\res2bes]" "DebugLevel"="0"
regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\Applications\res2bes]" "KeepLogs"="15"
waithidden cmd.exe /C net restart BESPluginService
notify client forcerefresh
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Action 2
Action Link Click
here to review this task in the bigfix.me Content Database.
Script Type
URL
http://bigfix.me/cdb/fixlet/21166
Sharing
Social Media: |