Uninstall Syntax

(imported topic written by SystemAdmin)

I’ve run into some problems with uninstalling an installed application (Office 2003) and not sure if its my syntax that is the issue or how I’m doing it. I’ve read the BigFix documentation on “Windows Shell Action Command Libarary” but I haven’t had any luck. I’ve tried a number of options but every time I get the message STATUS: FAILED and the application still exists on the system.

I used the Tools => 'CREATE NEW TASK MESSAGE…" and tried setting the action as below:

waitdetatched msiexec.exe /x {90110409-6000-11D3-8CFE-0150048383C9} /qn

wait msiexec.exe /x {90110409-6000-11D3-8CFE-0150048383C9} /qn

run msiexec.exe /x {90110409-6000-11D3-8CFE-0150048383C9} /qn

dos “msiexec.exe /x {90110409-6000-11D3-8CFE-0150048383C9} /qn”

I’ve also tried many other variations of syntax but all with the same result. What is wrong with my syntax?

Thank you,

David

(imported comment written by brolly3391)

Hello David,

It’s those pesky curly brackets - BigFix action script uses them to denote relevance substitution.

Try:

waitdetached msiexec.exe /X {{90110409-6000-11D3-8CFE-0150048383C9} /qn

As a side note, when I do MSI uninstalls I like to add

/l*v c:\unstLogs\myapp.log

to the command line so I get a log of the uninstall. It helps with troubleshooting if things go wrong.

Cheers,

Brolly

(imported comment written by BenKus)

Hey 52Merc,

Quick note:

If you are using BES 6.0, consider using “waithidden” instead of “waitdetached”. It tends to work better.

Ben