Jump to content

RunWait help needed


Recommended Posts

I am trying to execute the following, the

$value contains Uninstall string value(eg: 56DCEBC6-5C13-11D4-9981-00D0B72E2D98})

RunWait("MSIEXEC /X" & $value & "/qn")

I am wondering about how to use the /qn switch in the above RunWait, as /qn comes after the $value

variable in the command.

MSIEXE /X {Uninstall String} /qn

Any :)

Thanks in advance.

[font="Franklin Gothic Medium"]RnJ[/font][font="Franklin Gothic Medium"]Script: AutoIT v3.1.1.124 (beta)[/font][font="Franklin Gothic Medium"]OS: Windows XP/2000[/font]
Link to comment
Share on other sites

I have also tried RunWait("MSIEXEC /X " & $value & " " & " /qn")

Does not work??

[font="Franklin Gothic Medium"]RnJ[/font][font="Franklin Gothic Medium"]Script: AutoIT v3.1.1.124 (beta)[/font][font="Franklin Gothic Medium"]OS: Windows XP/2000[/font]
Link to comment
Share on other sites

No, the spaces was the answer (it's what I was gonna say).

And MSIEXEC IS an executable. You don't need ".exe" after it, Windows knows. Do...

RunWait("MsiExec");

And you will see.

Something else must be wrong with the command, no?

Does windows let you run the quiet uninstall string like that? Dunno, never tried.

-mu

Link to comment
Share on other sites

(eg: 56DCEBC6-5C13-11D4-9981-00D0B72E2D98})

First of all I think that should be (eg: {56DCEBC6-5C13-11D4-9981-00D0B72E2D98}) but that might have just been a typo.

If {56DCEBC6-5C13-11D4-9981-00D0B72E2D98} is a registry key (it looks like it) then you will likely have to do a RegRead to get the value. I don't know for sure because the less I have to do with MSI the better. As Microsoft screwups go it runs a close second to Windows ME as far as I am concerned.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

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...