Re: Removing multiple versions of Office

Home Forums Scripting General Scripting Removing multiple versions of Office Re: Removing multiple versions of Office


h0me
Member
#377630

Very crude, but this is what I have so far. I just need to make it run silently…

This is in a batch file…

cd c:program files (x86)
cd common files
cd microsoft shared
cd office14
cd office setup controller
setup.exe /uninstall STANDARD /dll OSETUP.dll

For some reason, when I type cd C:the whole path it can’t find the path so I have to break it up like this.

If I run this batch file as administrator, the uninstaller opens up (which I don’t want it to do) and asks me if I want to uninstall yes or no (which I want it to automatically choose yes).

So I’m over halfway there…

Any further assistance would be great!