Uninstall - RES ONE Workspace Connector - Windows
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is the latest version.

1Uninstall - RES ONE Workspace Connector - Windows6/21/2016 9:33:05 AM
2Uninstall - RES ONE Workspace Connector - Windows6/21/2016 9:33:24 AM
3Uninstall - RES ONE Workspace Connector - Windows8/11/2016 12:56:57 PM
4Uninstall - RES ONE Workspace Connector - Windows10/3/2016 4:46:50 PM
5Uninstall - RES ONE Workspace Connector - Windows12/7/2016 2:01:23 AM

Description

Removes an installed RES ONE Workspace Connector.

This simply runs a standard uninstall and does not perform any additional cleanup.


Property Details

ID22972
TitleUninstall - RES ONE Workspace Connector - Windows
DomainBESC
SourceInternal
Source Release Date12/5/2016 12:00:00 AM
Added by on 12/7/2016 2:01:23 AM
Last Modified by on 12/7/2016 2:01:23 AM
Counters 4682 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 106 fixlets and 5 analyses   * Results in a true/false
Show indented relevance
exists main gather service
isWindows (Relevance 1172)
Used in 1152 fixlets and 538 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 3 fixlets and 3 analyses   * Results in a true/false
Show indented relevance
(exists file "res2bes.exe" of folder "res2bes" of parent folder of parent folder of file of service "res" | false) or (exists (file "res2bes.exe" of folder (value "path" of key "HKLM\SOFTWARE\BigFix\Enterprise Server\Applications\res2bes" of registry as string)) | false)

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// Source Release Date: 2016-12-05
//
// Uninstall RES2BES < 1.1.0.0 if it exists
//
if {(exists file "res2bes.exe" of folder "res2bes" of parent folder of parent folder of file of service "res" | false)}
    parameter "old_install_path"="{(pathname of parent folder of parent folder of file of service "res" & "\RES2BES\")}"
    wait cmd.exe /c rmdir /s /q "{parameter "old_install_path"}"
endif

//
// Uninstall RES2BES > 1.1.0.0 if it exists
//
if {(exists (file "res2bes.exe" of folder (value "path" of key "HKLM\SOFTWARE\BigFix\Enterprise Server\Applications\res2bes" of registry as string)) | false)}
    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"

    wait cmd.exe /c rmdir /s /q "{parameter "pluginFolder"}"
    wait cmd.exe /c del /s /q "{parameter "configFolder"}\res2bes.xml"
    wait cmd.exe /c reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\Applications\res2bes" /f
endif
Success Criteria

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


Sharing

Social Media:
Share this page on Yammer

Comments