Sign in to follow this  
Followers 0
howe

automate driver installation

6 posts in this topic

Hi,

I'm a newbie using this software and i'm trying to automate a driver installation using autoit.

I'm currently running the installation in vista.

Autoit manage to run the setup.exe, following the setup screen, next, next, next until it reaches a window which it can't proceed anymore.

The window's title = windows security, text inside the windows = always trust software from matrox, available buttons=install, do not install.

I have tried using the command WinWaitActive or WinActive ("Windows Security")

and try sending a keystroke ("!i") to click install but it is not working.

post-31468-1201014272_thumb.jpg

Am I using the wrong command? I've been trying this for days.

Pls help. Thanks a lot.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I don't know if it's the same in Vista (I am still blissfully Vista-free), but for Win2K\XP\2003 is use calls to DevCon.exe to query\install\update drivers in my scripts. Avoids all the GUI stuff altogether.

:D

P.S. Since it's a security dialog, Vista my be blocking simulated keyboard inputs, too.

Edited by PsaltyDS

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Moin,

so, you're a newbe to AutoIt ? Did you tried the 'Window Info Tool' that comes up with AutoIt ?

Try it out and, please, post an example Script of what you've done written.

Greetz

Greenhorn

Share this post


Link to post
Share on other sites

Message From AutoIt Moderators.

Dear User#31468,

This Is An Vista Free World! Vista Has Been Known To Cause Most AutoIt Creations To Work Improperly.

It Is Recommened To Install Windows XP Over Vista Home Edition.

Thanks For Your Help,

-The Moderators.

hahah.... just messing around guys :P:D

Share this post


Link to post
Share on other sites

Message From AutoIt Moderators.

Dear User#31468,

This Is An Vista Free World! Vista Has Been Known To Cause Most AutoIt Creations To Work Improperly.

It Is Recommened To Install Windows XP Over Vista Home Edition.

Thanks For Your Help,

-The Moderators.

hahah.... just messing around guys :P:D

Posted Image

Share this post


Link to post
Share on other sites

Hi

Did anybody else try this?

I am having a similar problem. The check box doesn't show a separate control (class) , so even though I tell AutoIt to click on the check box, its not doing so.

Any help will be appreciated.

Thanks,

Raj

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