Jump to content

Uninstall Office 2010


leegend
 Share

Recommended Posts

Hi, I am brand new to auto it and require a little bit of help.

I’m creating a script that will uninstall office 2010 on windows 7 machines, my script looks like this:

#RequireAdmin

RunAsWait('User', "Domain", 'Password',0, "\\server\share\office2010\setup.exe /uninstall proplus /config \\server\share\office2010\ProPlus.WW\SilentRepairConfig.xml")

Which doesn’t run the uninstaller, but if i run;

#RequireAdmin

RunAsWait('User', "Domain", 'Password',0, "\\server\share\office2010\setup.exe"

The setup will start, is there a way to get the switches working?

Thank You in anticipation

Link to comment
Share on other sites

What about:

RunAsWait('User', "Domain", 'Password',0, "\\server\share\office2010\setup.exe /uninstall proplus /config ""\\server\share\office2010\ProPlus.WW\SilentRepairConfig.xml""")

A working dir is not a command line switch... Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...