/build/static/layout/Breadcrumb_cap_w.png

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

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

Answers (3)

Posted by: anonymous_9363 7 years ago
Red Belt
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.

Comments:
  • 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. - anonymous_94995 7 years ago
Posted by: anonymous_94995 7 years ago
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"

Posted by: anonymous_94995 7 years ago
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"

 
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