08-28-2020 01:30 AM
Could some one share how to silently upgrade/uninstall/install Traps client
using PowerShell?
I tested that
msiexec /x c:\Traps_x64_4.2.3.41131.msi /quiet /l*v c:\traps_uninstall_log.txt UNINSTALL_PASSWORD=UninstalNow!
does work in cmd, but cant get it to work under PowerShell?
09-01-2020 11:58 PM
Hi @MihaIT ,
Have you tested the following command:
For Install:
Start-Process msiexec.exe -Wait -ArgumentList '"c:\Traps_x64_4.2.3.41131.msi"', '/i', '/q', '/l*v c:\traps_install_log.txt'
For uninstall:
Start-Process msiexec.exe -Wait -ArgumentList '"c:\Traps_x64_4.2.3.41131.msi"', '/x', '/q', '/l*v c:\traps_uninstall_log.txt', 'UNINSTALL_PASSWORD=UninstalNow!'
/Kim
09-07-2020 12:08 AM
Sorry for late response. I was on vacation, so I could try it.
No unfortunately that command for uninstall doesn't work.
It just waits for ever. (under WinRM)
If I run it locally it opens popup that msiexec didn't get the parameters.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!