Uninstall WinSCP v5.10
Log In or Register to download the BES file, and more.

0 Votes

Description

WinSCP is an open source free SFTP client, SCP client, FTPS client and FTP client for Windows. Its main function is file transfer between a local and a remote computer. Beyond this, WinSCP offers scripting and basic file manager functionality.

Property Details

ID665
TitleUninstall WinSCP v5.10
DomainBESC
CategoryUninstall
Sourcedanielheth@bigfix.me
Source ID<Unspecified>
Source Severity<Unspecified>
Source Release Date11/5/2012 12:00:00 AM
KeywordsWinSCP Uninstall wikilink1 title bigfix
Is TaskTrue
Added by on 11/13/2012 4:35:18 PM
Last Modified by on 11/13/2012 4:35:18 PM
Counters 4448 Views / 14 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

isWindows (Relevance 274)
Used in 593 fixlets and 3 analyses   * Results in a true/false
Show indented relevance
name of operating system starts with "Win"
Not in Proxy Agent Context (Relevance 1131)
Used in 1061 fixlets and 12 analyses   * Results in a true/false
Show indented relevance
if exists property "in proxy agent context" then ( not in proxy agent context ) else true
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists key whose (value "DisplayName" of it as string contains "WinSCP 5.1") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
parameter "app"="winscp3_is1"
//first retrieve our uninstall command...
parameter "QuietUninstallString"="{if (exists x64 registry) AND (exists key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x64 registry) AND (exists value "QuietUninstallString" whose (it as string != "") of key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x64 registry) then ((value "QuietUninstallString" whose (it as string != "") of key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x64 registry as string)) else if (exists key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x32 registry) AND (exists value "QuietUninstallString" whose (it as string != "") of key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x32 registry) then ((value "QuietUninstallString" whose (it as string != "") of key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x32 registry as string)) else ""}"
parameter "UninstallString"="{if (exists x64 registry) AND (exists key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x64 registry) AND (exists value "UninstallString" whose (it as string != "") of key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x64 registry) then ((value "UninstallString" whose (it as string != "") of key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x64 registry as string)) else if (exists key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x32 registry) AND (exists value "UninstallString" whose (it as string != "") of key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x32 registry) then ((value "UninstallString" whose (it as string != "") of key (concatenation of ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";(parameter "app" as string))) of x32 registry as string)) else ""}"
continue if {(parameter "UninstallString" != "") OR (parameter "QuietUninstallString" != "")}
if {parameter "QuietUninstallString" != ""}
    if {parameter "QuietUninstallString" as lowercase contains "msiexec.exe"}
        waithidden msiexec.exe /x {parameter "app" as string} /quiet
    else
        waithidden {parameter "QuietUninstallString"}
    endif
else
    if {parameter "UninstallString" != ""}
        if {parameter "UninstallString" as lowercase contains "msiexec.exe"}
            waithidden msiexec.exe /x {parameter "app" as string} /quiet
        else
            waithidden {parameter "UninstallString"} /quiet /norestart
        endif
    endif
endif
Success Criteria

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

Action 2

Action Link Click here to learn more about WinSCP.
Script Type URL
http://winscp.net/eng/index.php
    

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!