Uninstall Bloomberg Office Tools
I need help to silently uninstall Bloomberg Office Tools. It has an uninstall shortcut:
"C:\blp\API\Office Tools\unwpxy.exe" "C:\ProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe" MODIFY=FALSE REMOVE=TRUE
I have tried to run it through 2 separate files
"C:\blp\API\Office Tools\unwpxy.exe" and
"C:\ProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe" with several different combinations of parameters.
I have tried: Execute-Process -Path '"C:\blp\API\Office Tools\unwpxy.exe" "$envProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe"' -Parameters "MODIFY=FALSE REMOVE=TRUE"
I even tried to run "C:\ProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe" as a parameter :)
I dont have a problem with uninstall of Bloomberg terminal because its uninstall shortcut point only to one file. I uninstall it like this:
Execute-Process -Path "$envProgramData\{6D1CADCF-370D-4D81-9C6D-2AB09C08F34D}\sotrt.exe" -Parameters "REMOVE=TRUE /s"
Answers (3)
$ParamaterU = "$envProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe MODIFY=FALSE REMOVE=TRUE"
Execute-Process -Path "$envSystemDrive\blp\API\Office Tools\unwpxy.exe" -Parameters $ParamaterU
Avoid using hardcode values in script .
Difference between ' and " using in command line.
Comments:
-
Thanks man!
It works.
I used this code for silent uninstall:
$ParamaterU = "$envProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe MODIFY=FALSE REMOVE=TRUE"
Execute-Process -Path "$envSystemDrive\blp\API\Office Tools\unwpxy.exe" -Parameters "$ParamaterU /s" - bananaman 4 years ago