Repair Tool of the Week: My Auto Installer AutoIT Script

I want to share with you guys the AutoIT script that I use on new Windows XP installs. The script will do the following:

Registry Tweaks:

  • Disables Windows Tour on Fresh Install
  • Shows the My Computer, My Documents and IE icons on the desktop
  • Sets Google as the default search engine in IE
  • Sets Google as Homepage in IE
  • Disables Automatic Restart on Blue Screen of Death
  • Disables Messenger Service (Often used for spam. not MSN Messenger)
  • Turns on Automatic Updates to Download and Install

Applications:

  • Installs Firefox (works on 2.0.0.14)
  • Installs AVG Free 8 without its SafeSearch/Surf features and updates it
  • Installs Foxit PDF Reader (works on 2.3)

To use AutoIT scripts, you need to have AutoIT installed which you can download here. I have placed some placeholder EXE files in the Installers directory that you will need to replace with the actual installer from their respective websites.

Thank you to focuz. Much of my script is based off his examples.

Downloads:

Automated Auto IT Installer- 8kb



Bryce Whitty

About the Author

Bryce Whitty
More articles by me...
Bryce is an Australian computer technician and the founder of Technibble. He started his computer repair business when he was 17 years old and is still running it 9 years later. He is an avid traveller and spends at least a month of the year in another country.

Comments (14)

  • geekhelp4u says:

    hmm… rather let nLite do the same… so it does it in the unattended install! Minus AVG of course, still think Avast is better!

  • Phil P says:

    Very nice, thanks. I will be adding some programs to auto install to it it. Good start.

  • Jm Boyd says:

    Why would you need use this script to disable the Messenger Service, when it is disabled by default with SP2?

  • Brandon Sanchez says:

    How long does something like this take to run?

  • gregg says:

    On the line to install AVG, in the one I just downloaded from here you have the wrong variable in use:

    yours:

    ; Install AVG Free 8 minus the annoying SafeSurf and SafeSearch “features”
    RunWait($Firefox_Location & ” /hide /no_welcome /REMOVE_FEATURE fea_AVG_SafeSurf /REMOVE_FEATURE fea_AVG_SafeSearch”)

    Fixed:
    ; Install AVG Free 8 minus the annoying SafeSurf and SafeSearch “features”
    RunWait($AVG_Location & ” /hide /no_welcome /REMOVE_FEATURE fea_AVG_SafeSurf /REMOVE_FEATURE fea_AVG_SafeSearch”)

  • Bryce W says:

    Brandon Sanchez, depends on how fast the computer goes through the installs normally. I find AVG takes the longest to install since its the most resource intensive. Firefox install is fairly quick, as is Foxit.

    Greg, I added the variables in just before I released it to make it easier for other people reading the code. I guess I missed that error. Anyway, fixed. Thanks Greg.

  • Anton says:

    Nice script. This will make our life easier every time we will install a copy of Windows XP on our computers.

  • PS3 says:

    That is a great utility Bryce, does everything that you’d typically want on a restall. Why can’t MS implement similar options into the original discs?

  • That’s a great new toy. Thanks!

  • Seems to be great script. I’ll check it.

  • Great Tool to have, But one thing, and this is not just from me, I have read, heard, and read some more about AVG AntiVirus, it is not a good choice to put on a computer. I have tried many freebies, and own several pay versions, but when I test the freebies, it is usually to see if they can produce like they claim they can, I recently tested the New version of AVG, and I have a ftp site with fake viruses, trojans and spamware, and I download those with AVG installed. And it let’s everyone of them install too, then I remove AVG and run Avast, or other AV’s and they scan and catch everyone of them, so AVG is not Cut out to be worth much at all. Just My Opinion

  • @Mick,
    Although I’ve been dealing with a couple of AVG issues in my tech email group (primarily update problems), I’m still scratching my head at the assessment that an AV solution is not good if it doesn’t detect “FAKE” viruses, trojans and spamware. The only worthwhile measure of an AV program’s worth is in how it handles the real thing.

    @Bryce,
    Nice find on this script-based utility. I can see several places where I’ll be putting it to use and I sure anticipate it saving me a boatload of steps. It’ll also allow me to get some other things done while the script does its thing.

    Thank you, Sir.

  • Xander says:

    You can simplify your Firefox with an MSI installer:
    http://www.frontmotion.com/Firefox/download_firefox.htm

    With this, you can point your script to it and just use a “RunWait” command and include the command line parameters for a silent install.
    I use this method and then use a “Run” command:
    Run(@ProgramFilesDir & “\Mozilla Firefox\firefox.exe ” & @ScriptDir & “\progs\housecalls.xpi”)
    to install a few basic XPIs (AdBlock, and a couple of others) into Firefox.

    I’d say it’s not worth including a .REG to deactivate the Messenger service. Seriously, every techie should be installing with a slipstreamed CD anyway and, even if that option isn’t available, they should be installing SP2/SP3 before the system is even put online. Mind you, you might as well deactivate it anyway beforehand just to keep things simple.

  • Anthony says:

    sorry for the dumb questions, but how do I run the script Install.au3?