MaDog Posted February 18, 2008 Posted February 18, 2008 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.
SiteMaze Posted February 18, 2008 Posted February 18, 2008 WinWaitActive("Reflection 2 for Windows 95 and Windows NT", "", 0.001) Are you trying to timeout in 0.001 seconds? Arsenal Football Fan Club in Singapore
MaDog Posted February 18, 2008 Author Posted February 18, 2008 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...
herewasplato Posted February 18, 2008 Posted February 18, 2008 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]
MaDog Posted February 18, 2008 Author Posted February 18, 2008 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?
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