AutoIT
hi guys, i need to use autoIT to stop a warning appearing. the warning appears towrd the end of the installation. Can anyone tell me the code for AutoIt so that it is running in the background waiting for the warning to appear, once it has it needs to activate it and then send the !Continue Anyway key.
what is the best custom action settings to use in my msi?
thanks in advance for any info provided!
what is the best custom action settings to use in my msi?
thanks in advance for any info provided!
0 Comments
[ + ] Show comments
Answers (6)
Answer Summary:
AutoItSetOption ( "TrayIconHide", 1) if WinWaitActive ("Continue") Then Send ("{ENTER}") EndIf
AutoItSetOption ( "TrayIconHide", 1) if WinWaitActive ("Continue") Then Send ("{ENTER}") EndIf
Please log in to answer
Posted by:
akhlaque
18 years ago
Posted by:
aogilmor
18 years ago
Posted by:
misk
18 years ago
Posted by:
aogilmor
18 years ago
well, autoit relies a lot on keystrokes which would be a problem if the screen is locked.
Maybe you can force it to keep the active installation window active (even hidden windows should generate some sort of activity and your screen should not lock on you)
Or (even more kludgy) get AutoIT to start a dummy batch files that does something stupid, like flash a message and close, every 5 minutes or so, so the screen doesn't lock.
IF you're trying to install this in the background with the user logged off, or initiate it with the screen locked, forget about it. That'll never work. Of course I'm always glad to be proven wrong [8D] But the type of installation I think you're talking about doesn't work like that.
Maybe you can force it to keep the active installation window active (even hidden windows should generate some sort of activity and your screen should not lock on you)
Or (even more kludgy) get AutoIT to start a dummy batch files that does something stupid, like flash a message and close, every 5 minutes or so, so the screen doesn't lock.
IF you're trying to install this in the background with the user logged off, or initiate it with the screen locked, forget about it. That'll never work. Of course I'm always glad to be proven wrong [8D] But the type of installation I think you're talking about doesn't work like that.
Posted by:
akhlaque
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.