/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


Does anyone have a good way of uninstalling different versions of Tripwire?

11/16/2016 3142 views
I've tried PowerShell but for can't get it to uninstall via SCCM.

$qtVer = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall  |
    Get-ItemProperty |
        Where-Object {$_.DisplayName -match "tripwire" } |
            Select-Object -Property DisplayName, UninstallString
ForEach ($ver in $qtVer) {
    If ($ver.UninstallString) {
        $uninst = $ver.UninstallString
        $uninst = $uninst -replace "/I", "/x "
        Start-Process cmd -ArgumentList "/c $uninst /quiet /norestart" -NoNewWindow
    }
}
0 Comments   [ + ] Show comments

Comments


All Answers

0
Can you perhaps provide *less* information?!?

From what you've told us, we have no idea whether the command line even gets run!

Add verbose logging to the command line so that you can at least determine if MSIEXEC is running. If it is, you'll get a log and that log will contain information as to why the uninstallation is failing.
Answered 11/17/2016 by: VBScab
Red Belt

  • Sorry about that. I actually ended up going a different route completely, using Tripwire's provided "uninstall.cmd"

    For whomever else that may be trying to remotely uninstall Tripwire:

    cmd.exe /c "c:\Program Files\Tripwire\TE\Agent\bin\uninstall.cmd"

    Also, FWIW, I hadn't attempted a straight MSI uninstall. The above powershell script is what I use to typically nuke software.
0

I used Tripwire's provided "uninstall.cmd" to uninstall with SCCM, the below is the program command line that worked.

cmd.exe /c "c:\Program Files\Tripwire\TE\Agent\bin\uninstall.cmd"

Answered 11/18/2016 by: anonymous_94995
White Belt

0

I used Tripwire's provided "uninstall.cmd" to uninstall with SCCM, the below is the program command line that worked.

cmd.exe /c "c:\Program Files\Tripwire\TE\Agent\bin\uninstall.cmd"

Answered 11/18/2016 by: anonymous_94995
White Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ