Deploy - RES ONE Workspace Connector - 1.1.0.3 - Windows (Superseded)
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is the latest version.

1Deploy - RES ONE Workspace Connector - 1.1.0.3 - Windows (Superseded)10/3/2016 4:46:05 PM
2Deploy - RES ONE Workspace Connector - 1.1.0.3 - Windows (Superseded)12/7/2016 2:00:29 AM

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
Failed to load parameterized fixlet.

Property Details

ID22950
TitleDeploy - RES ONE Workspace Connector - 1.1.0.3 - Windows (Superseded)
DomainBESC
CategoryUpgrade
SourceRES Software
Source Release Date12/5/2016 12:00:00 AM
Added by on 12/7/2016 2:00:29 AM
Last Modified by on 12/7/2016 2:00:29 AM
Counters 4358 Views / 25 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 12 fixlets   * Results in a true/false
Show indented relevance
exists service "BESPluginService"
isWindows (Relevance 1172)
Used in 1152 fixlets and 538 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 15 fixlets   * Results in a true/false
Show indented relevance
FALSE
Used in 27 fixlets and 133 analyses   * Results in a true/false
Show indented relevance
NOT in proxy agent context
Used in 22 fixlets   * Results in a true/false
Show indented relevance
exists main gather service whose (version of it >= "9")
Used in 9 fixlets   * Results in a true/false
Show indented relevance
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 43 fixlets   * Results in a true/false
Show indented relevance
exists file (pathname of parent folder of parent folder of file of service "res" & "\pwrtech.exe")
Used in 2 fixlets   * Results in a true/false
Show indented relevance
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 2 fixlets   * Results in a true/false
Show indented relevance
(not exists file (pathname of parent folder of parent folder of file of service "res" & "\res2bes\res2bes.exe") | true)

Actions

Action 1

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// Source Release Date: 2016-12-05
prefetch RES2BES.exe sha1:5C8E03221D1FBAB4AE98A4E615CBA838764D17D5 size:147816 http://downloads.ressoftware.com/downloads/cdm/res2bes/1.1.0.3/RES2BES.exe sha256:196A6DA4249E50C341DB14A9556A3047839CB9C6DBC74CC55DFA971D39AFBC56

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.0"
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:
Share this page on Yammer

Comments