Jump to content

Recommended Posts

Posted

Hey guys -

I am trying to uninstall a program that uses MSI and I am using the WinWaitActive function to wait for the window that asks to reboot so I can say No, Dont Reboot. But when the MSI loads to uninstall the program, that window has the same name as the window that asks to reboot the computer. Is there anyway around this??

Thanks!

Posted

or you can use a risker method and have AutoIt select "No,Dont Reboot" with a mouse click.

if the window pops up in the same place everytime you could have AutoIt wait untill the pixels change color where the window pops up and then click "No"

but i wouldnt suggest this, this is only if you cant use WinWaitActive function.

:cheer: awww...wheres the chick?

Posted

DOH! Thanks JdeB! What is really funny, is I am using the WinWaitActive function someplace else in the code to do the same thing and I did it right!...lol...thanks again!

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
×
×
  • Create New...