08/21/2009 3644 views
If you've been trying to silently/quietly uninstall Inventor 2010 and finding it hangs, it's very often due to a prompt it wants to make that it needs to stop the explorer.exe process. If you precede the uninstall statement with a PSKILL or TASKKILL statement to terminate the explorer.exe process it will continue on without interruption (unless you have antivirus real-time protection running, which may give it problems).

Set objShell = CreateObject("Wscript.Shell")
result = objShell.Run("c:\pskill.exe explorer.exe", 1, True)
wscript.echo "result: ", result
result = objShell.Run("msiexec /x {long-as-hell-guid} /qn /l*v c:\inv2010_uninstall.log", 1, True)
wscript.echo "result: ", result

' clean up folders and registry keys left behind

0 Comments   [ + ] Show comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

Why on God's green earth would an application require the killing of Explorer? Nasty...
Answered 08/22/2009 by: VBScab
Red Belt

Gods green earth - lol

Does seem a pretty bizarre thing to have to do.. is this a vendor install or repackaged?

I personally wouldn't be comfortable deploying this setup but each to their own I guess.
Answered 08/23/2009 by: MSIPackager
3rd Degree Black Belt