Jump to content

Recommended Posts

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


Link to post
Share on other sites
  • Developers

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 post
Share on other sites

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 post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...