ITStuff.ca - ITStaff is all about Windows, VMware, Hyper-V, Virtualization, HP Servers, Blades and other IT Technologies. An invaluable source of Tools and Scripts for IT Network Administrators. A valuable advice, Tips, Tricks and best practices for Net Admins.

03 May 2009

Everybody knows that I'm real fun of Unattended Installation. I try to do as much as possible to automate everything :). Time to time, I meet applications are not supporting unattended or silent installation. In this situation, my "Best Friend" is Autoit helps me. In the following video, you can see a demo, how by using Autoit script (BTW, any Autoit script could be compiled into .EXE file) I'm installing Avira Antivirus on Windows 7 RC1 (Win7 RC1).

Note: To see a content of the demonstrated script click on "Read more" link.

2 comments:

Ok, but you could make it more robust in case another screen tries to take focus during the install. For every call of WinWaitActive("title") you should rewrite it toWinwait("title")If Not WinActive("title") Then WinActivate("tle")WinWaitActive("title")

Only use ("title", "visible text") for cases where screens are identical in title from one to next.

Other than that I believe you could make this install invisible and still be successful. When using the Run command be sure to use it like this:Run("Program", "Working Dir", @SW_HIDE)This way the windows can be still interacted with using AutoIt, but not visible to the user. Go a step further to make it invisible by using the #NoTrayIcon directive so nothing shows up in the task bar.

The Internet- - because it could present a radical new universe of accommodations for everybody who utilizes it, has additionally impelled the making of many noxious online dangers; one of them being infections. mcafee antivirus program for business