Sign in to follow this  
Followers 0
firman

Silent Autoit Script Installs

9 posts in this topic

I need to do some silent installs of a few of my software titles for work. I was wondering if a compiled autoit script could be run silently so that the user sees nothing on their screen?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Yes, you will have to use controlsend, controlclick, etc. Also make sure you run everything in @sw_hide mode, or run it remotely.

Controls work well anytime you don't want the window itself to have focus. Not all programs and installs will work this way, but most instalation programs will, and it is one of the most reliable ways to use autoit.

...edit first set up the script to do the install normally with only control functions, then when satisfied, start the instals with the @sw_hide option, and make sure they all still complete. Last thing would be to turn the hide icon in autoit on. (it will still display for .5 sec.)

Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

Now if I want this to work while the computer is sitting at the login screen (the CNTRL +ALT + DEL screen) I can not use winwait right? because it will not see the window? will the control commands wait for the windows...or what do I need to do?

Share this post


Link to post
Share on other sites

Looks like you are understanding it. Control functions can send to hidden windows, and click hidden buttons. The window would be open, but you can't see it, and thus Control commands work better.

check out PStools at www.sysinternals.com

With the right access you might be able do it all remotely.

PS. its FREE.


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

So is there anyway to have an auto script work while a computer is at a logon screen?

Share this post


Link to post
Share on other sites

So is there anyway to have an auto script work while a computer is at a logon screen?

You can run programs with Scheduled Tasks in Windows, at startup.

But I don't think installations would always work.

At the logon screen only the registry hive key LOCAL_MACHINE is loaded,

and sometimes installations want to write something to the current user registry hive.

And because explore.exe isn't loaded, the installation is not able to create shortcuts or check files.

This is my theory. If someone can prove me wrong, post it.

Share this post


Link to post
Share on other sites

What I am basically trying to do, is use the ghost client to install programs... I do not like AI Builder.....therefore... I want to do silent installs with AUTOIT...just not sure the ability to do that.

Share this post


Link to post
Share on other sites

Tell me, what's a 'ghost client'?

You can create a logon script, and with AutoIt you can block user input.

And why do you want to install programs 'inivisibly'?

Does it matter if the user sees what happens?

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

I want to install invisibly so that if the computer is at a logon screen....the program will still install.... jsut like installing a service pack silently.

Edited by firman

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