Sign in to follow this  
Followers 0
MaDog

Script paused

5 posts in this topic

Hi all,

I am trying to do an unattended deinstallation of Reflection in Windows XP OS.

Script works just fine, except: The problem occurs when nobody is logged in, so comp is ON and it waits at logon window...the script is paussed because of WinWaitActive function.

Is there any work around for this problem?

Run( "C:\Program Files\Reflection\Setup\R2win32\Setup.exe /U ""C:\Program Files\Reflection\Setup\R2win32\Uninstal.inf"" ","", @SW_HIDE ); call uninstall procedure
WinWaitActive("Reflection 2 for Windows 95 and Windows NT", "", 0.001); first window - default is Next
Send("!n")      ; Next

;etc...

Thank You in advance,

Tomaz.

Share this post


Link to post
Share on other sites



WinWaitActive("Reflection 2 for Windows 95 and Windows NT", "", 0.001)

Are you trying to timeout in 0.001 seconds?

Time is insignificant for this problem. You can put 10 sec if you like...

Share this post


Link to post
Share on other sites

If no one is logged on, then there are no windows for AutIt to work with.

If they are logged on and the computer is locked - that AutoIt can handle.

The Win... function time out settings are integers from 1 to ???


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

If no one is logged on, then there are no windows for AutIt to work with.

If they are logged on and the computer is locked - that AutoIt can handle.

Correct! I know that!

So you recommend logging and locking 1000 computers? No way.

Any other suggestion?

Share this post


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
Sign in to follow this  
Followers 0