tehon3299 Posted March 7, 2004 Share Posted March 7, 2004 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! Link to comment Share on other sites More sharing options...
Developers Jos Posted March 7, 2004 Developers Share Posted March 7, 2004 Isn't there some unique text on the reboot window ... something like the word "Reboot" ? You can test for that in the 2nd parameter.... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Wallfire Posted March 7, 2004 Share Posted March 7, 2004 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? Link to comment Share on other sites More sharing options...
tehon3299 Posted March 7, 2004 Author Share Posted March 7, 2004 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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now