Help - Search - Members - Calendar
Full Version: AutoIT Script Collection - Contributions Only
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2, 3, 4, 5

   
Google Internet Forums Unattended CD/DVD Guide
FuzzBall
If you have a request, please make a new topic in the applications section.

SUBMISSIONS ONLY - PM THE AUTHORS IF SOMETHING DOESNT WORK

Any requests IN THIS THREAD will be DELETED

If you want to submit a script, please do so in the following fashion:

Title

Script version (if applicable)

Other notes


Here are some useful links for AutoIt(Thanks to NoLogic for this suggestion):

AutoIt
[AutoIt3]

Editors
[link]
[Crimson Editor]
[Pspad]
[Textpad]
[UltraEdit(Personal favorite)]

Useful stuff built with AutoIt
[link]
[link]
FuzzBall
Winamp 2.x

Script: Orignal v1.0

This is my first AutoIt script, and it’s for Winamp v2.x There are much better ways to write it now, but I’ve left it for old time sake. The script is attached at the bottom
1chaoticadult
File for Mass Downloader v2.7.528 SR1
Shareware
Script v1.0
[link]

Note
Tested only on above version.
ChiDragon
This is for Kazaa Lite K++ 2.4.3, based on your scripts (thanks for the examples). It's an older version I guess, but it's what I use so meh. The variables let you set everything in the installer except the "Delete all registry keys" option (since it's worthless for unattended installations where you're starting with a new registry), and the option to open Kazaa Lite after installation is deselected automatically.

Strange... let's try this again.
ChiDragon
For BulletProof FTP 2.43 (Client).
1chaoticadult
File for foobar2000 v0.8.3
Shareware
Script v1.0
[link]

Note
Might work for future versions...
FuzzBall
This is for firefox 0.9.3

The RunWait command has been commented out b/c i use that to import my firefox preferences.
Powerhouse
Hey NoLogic,

I figured out how to load Themes for CursorXP, thanks to your hard work. Here is the script...

Using this method, you can load any CursorXP theme you put in the \Themes folder, as long as you specifiy the name of the theme in $SK_1.

Couldn't have done it without all your input (as in fact, I only added on the last little bit... biggrin.gif
FuzzBall
Ad-aware 6-Pro


Note: This is the PRO version of ad-aware, so you must edit the apropriate variable in the script to add in the "password" or reg code.
FuzzBall
DAEMON Tools 3.x

Note:
Remember to check script variables for options!
FuzzBall
EVEREST Professional v1.1
FuzzBall
BitTornado

This should work with ALL versions.
theUnattender
hell guys, i love this tool thumbup.gif
took me just a little of time to know how it works
so here is my contribution
not as sophisticated as NoLogic's rolleyes.gif but it works biggrin.gif

VIDEO LAN Client 0.7.2


*EDIT*
read, understood & changed yes.gif
theUnattender
a script for autoit itself laugh.gif

AutoIt V3

*edit*
removed
theUnattender
McAfee VirusScan 2005

Note 1:
1) Copy the contents of the folder VSC (from CD) to a new directory.
2) Paste this file in the same dir.

Note 2:
Virusscan is extremely different than all other apps I saw so far.
It's not a good script solution, however it works.
It is commented so you can customize settings.
erik_demon
Let's add some gamescript aswell!!

Here are some of mij gamescripts (very basic, some of my first projects)

Command & Conquer Generals
erik_demon
Command & Conquer Generals Zero Hour
erik_demon
Halo Combat Evolved

I put in some sleep to listen to Halo's Music biggrin.gif
newbie4ever
FlashFXP 3.x

AutoIT v3
Edit the script and input your own serial #

/EDIT
changed the end Winclose("flashfxp") to Processclose("flashfxp.exe")
Professor Frink
PowerDVD XP 4.

Note that the serial number is X'd out, so you'll have to edit it and add yours in.
Professor Frink
Adaware SE v1.05
Professor Frink
Roxio 5.3.5.10 Basic.

This is a little bit customized, where DirectCD is removed. I've found it to be too problematic.

Note -- this really installs the basic 5 package. In your Roxio directory, create a folder called "Update". Download the 5.3.5.10 update file and put it in the Update folder. Then rename the file to "update.exe". That way it is automatically integrated.
XPect
ArniWorks - AwxDTools (105b056 but should work for any version1.x)

Note: Place the script in the same dir than the prog and rename the installation to awxDtools.exe
gon freecs
had a much lighter on my drive (there's absolutely no need for all the fuss you're putting on your script for such a light installer).
works with any version I've tested so far. putting this in "code" brackets, the board curiously doesn't want me to post .au3
CODE
;runs the installer "silently"
Run ("awxDTools.exe /S")

;says ok on paypal screen
WinWait ("About awxDTools - Daemon-Tools ShellExtension...")
Send ("{ENTER}")

;skips logoff
WinWait ("arniWORX Daemon-Tools ShellExtension Setup")
Send ("{LEFT}{ENTER}")
gon freecs
The second is for Hitman 2 - Silent Assassin. it installs the game with the default parmeters, skips directx install then calls the patch.
gon freecs
the last one is for Pro Evolution Soccer 3 PC-DVD version. made the script to look for the disc in the second cd drive (since my dvd reader is my second drive, so change $var[2] to the value your's is, if needed).
installs the game with default options, closes the autorun window that appears at the end of the install, installs the patch then calls for the game's settings.
the game is unfortunately quite unconfortable to play, it's been very badly ported from the ps2 version, and the framerate often varies (rarely works well. sometimes goes from over-speeded framerate to even slower than 3Dmark on a geforce2mx, and konami's patches just don't fix this bug). and those f***ing referees are even dumber than those who were at 2002 Korea-Japan World Cup.
hope the fourth won't have these problems unsure.gif
gon freecs
made a script for Soul Reaver 2. full install of the game, closes the readme.rtf (some changes may need to be done according to which software is associated to .rtf files on your system) then calls the 1.02 patch.
gon freecs
made a script for quake 3 arena (req by Wedge1). installs the game with default options then installs the 1.32 pointrelease patch.
I don't have team arena, so if anyone has it and is willing to make script for it...
edit: .au3 upload support is back smile.gif
studguy1
Autoit Script of PGP Personal Desktop 8.1

Rename the script file to pgp81.au3

Extract all the files from PGP executable into a folder and put the autoit script in the same folder.
artbio
Made a scipt for GVim 6.3, installs the full package.
Gvim is a great text editor, best suited for people who make a lot of programming scripting.

From the Vim webpage:
QUOTE
What Is Vim?

Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.

Vim is often called a "programmer's editor," and so useful for programming that many consider it an entire IDE. It's not just for programmers, though. Vim is perfect for all kinds of text editing, from composing email to editing configuration files.

What Vim Is Not?

Vim isn't an editor designed to hold its users' hands. It is a tool, the use of which must be learned.

Vim isn't a word processor. Although it can display text with various forms of highlighting and formatting, it isn't there to provide WYSIWYG editing of typeset documents. (It is great for editing TeX, though.)

Vim's License

Vim is charityware. Its license is GPL-compatible, so it's distributed freely, but we ask that if you find it useful you make a donation to help children in Uganda through the ICCF. The full license text can be found in the documentation. More information about charityware on Charity-ware.org.


You can download it for free at:
http://vim.sourceforge.net/index.php
fourte3n
A-Squared 1.5 AutoIT Script

Kills the Update Screen at the end. It seems that in Silent mode the kill doesnt work... someone else may have better luck with that. Until then its as is.

QUOTE
; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.0
; Language:    English
; Platform:    Win9x / NT
; Author:      fourte3n
;
; Script Function:
; A-Squared 1.5 Free -  Install
;
; ----------------------------------------------------------------------------


; ----------------------------------------------------------------------------
; Set up our defaults/Variables
; ----------------------------------------------------------------------------

AutoItSetOption("WinTitleMatchMode", 1)
$SF= "a2freesetup.exe"

; ----------------------------------------------------------------------------
; Script Start
; ----------------------------------------------------------------------------

Run($SF)

WinWaitActive ("Select Setup Language")
Send ("{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("!N")
WinWaitActive ("Setup - a-squared free")
Send("{TAB}" & "{UP}" & "{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{SPACE}" & "{TAB}" & "{SPACE}" & "{TAB}" & "{SPACE}" & "{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")
WinWaitActive ("a² Updater")
WinKill("a² Updater", "")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")


; ----------------------------------------------------------------------------
; Script End
; ----------------------------------------------------------------------------
gon freecs
QUOTE (fourte3n @ Nov 16 2004, 10:33 PM)
$SF= "a2freesetup.exe"
Run($SF)

don't need to use a variable. type Run("a2freesetup.exe")

QUOTE
Send("{TAB}" & "{UP}" & "{ENTER}")
[...]Send ("{SPACE}" & "{TAB}" & "{SPACE}" & "{TAB}" & "{SPACE}" & "{ENTER}")

when you have chains of command like this, you can type them Send("{TAB}{UP}{ENTER}"). no need to separate each input.

Edit: I tried (and succeeded) to make a script that kills the update window that appears at the end of a silent install
CODE
Run("a2freesetup.exe /VERYSILENT /SP-")
WinWaitActive("a² Updater")
Send("!{F4}")
; sends alt+F4. on most cases as effective as WinClose() and WinKill(), but much less code to type

It was simple, wasn't it ?
fourte3n
EDIT: FTPRush Script (Again... thanks to "gon freecs" my scripter in cotton armor ) laugh.gif

QUOTE
; ----------------------------------------------------------------------------
; Set up our defaults/Variables
; ----------------------------------------------------------------------------

AutoItSetOption ( "WinTitleMatchMode", 1 )
$NAME= "**DELETED**"
$KEY= "**DELETED**"

; ----------------------------------------------------------------------------
; Script Start
; ----------------------------------------------------------------------------

Run  ( "FTPRush.exe /S")
ProcessWaitClose ( "FTPRush.exe")
; Runs the installer silently and waits for its end

FileDelete(@DesktopDir & "\FTPRush.lnk")
;Removes the desktop shortcut

Run(@ProgramFilesDir & "\FTPRush\FtpRush.exe")
;A silent install doesn't start ftprush, so it must be done "manually"

WinWaitActive ( "About FTPRush" )
Send  ( "{ENTER}" )
WinWaitActive ( "Confirm" )
Send  ( "!Y" )
WinWaitActive ( "Enter Key" )

; by default the "name" cell is activated, so just send your name
Send($NAME)

; goes to the "key" cell by pressing tab
Send("{TAB}")

; sends your key
Send($KEY)

; goes to the "ok" button and validate
Send("{TAB 2}{ENTER}")

; Closes ftprush
ProcessClose("FtpRush.exe")
fourte3n
Adaware Script 2 - Silent and Kills Processes.

QUOTE
Run  ("AdAware.exe /s")
ProcessWait ("Ad-Aware.exe")
ProcessClose ("Ad-Aware.exe")
ProcessWait ("hh.exe")
ProcessClose ("hh.exe")
Cee-Kay
Webroot Windows Washer v5.5
Script Version: 1.0a

This script deals with just about everything with regards to installing the latest version of Windows Washer 5. Although Webroot have released 'Spy Sweeper' in more user-friendly installer for our purposes the installer for Window Washer hasn't had the same treatment yet. confused.gif

Fully commented code to select both sets of installation options is included, as well as the program's install path. Also included is the appropiate registry entries to customise Window Washer -- Just 'Wash Items' and most of the 'Options' section, but it should be enough options to keep most people happy. Simply follow the format to include more options. smile.gif

Known Issues:
  • Run "Plug-in Detection" Option hasn't been coded for.
  • Run "Window Washer after Install Is Finished" Option hasn't been coded for.
These options haven't been coded purposly since most people make/use these installers for their uA CD/DVDs.
battleangel3222
File For Unreal Tournament 2004 Game Script
Script V 1.0

Instructions:
1 ) Replace the X's With your Valid Serial Number
2 ) Compile The File
3 ) Enjoy!

What It Does:
Installs The Game with Default Options, to default Directory (C:\UT2004), But does not install DirectX and does not put a Desktop Icon on the Desktop like It does by default.

IMPORTANT It installs via DVD Disk, On my Unattended DVD my CMD Script pauses to ask to insert the Unreal Tournament 2004 DVD and runs E:\Setup.exe. You will Need to change it to suit your disk if you put it on your windows DVD, or have your drive letter assigned to a different letter.
battleangel3222
Another Quickie

File For Unreal Tournament 2004 Patch Script
Script V. 1.0

Instructions:
1 ) Unless you Installed the game to a different directory, you shoudnt need any modifications
2 ) Compile The File
3 ) Enjoy!

What it Does:
Installs The Patch With everything default, to the default Directory (C:\UT2004)

IMPORTANT!!!!!!: Make sure to UNRAR The Patch After downloading it, and place the compiled script in the SYSTEM folder you find after unrarring the patch, this is because thats where the Setup file is!<-------- IMPORTANT!!!
gon freecs
Custom AutoIt Routine to change disc when needed

Script Version 1.2

I have quite a lot of scripts made for automatic game installs so I've done a function to change the disc when an install asks for it.
why ? First I'm quite lazy, and having to type the whole stuff everytime a disc change is needed in every each of my script just makes my hands tired (I told you I'm lazy, even if it's only a copy-paste job plus some modifications).
Second, the whole sequence is not very user friendly and difficult to understand if you're not familiar with the functions used. Using a custom routine makes my scripts easier to understand for you and easier to maintain for me.

Feel free to use it for your own game installs scripts

It's still a bit limited because of some AutoIt restrictions.
I wish the syntax of the routine was something like _DiscChange($DiscLabel,$DiscType) where $DiscLabel is label of the disc needed and $DiscType its type (CD or DVD), with $DiscType optionnal so you would need to specify it only if your game is on a DVD.

To use it, first type #include "cdchange.au3" at the beginning of your script (put it in your game's script dir). When you want to call the function do it this way ONLY (DON'T ADD ANY " AROUND THE COMMA). _DiscChange("LABEL_OF_THE_NEEDED_DISC,TYPE_OF_THE_NEEDED_DISC")
You can omit ,TYPE_OF_THE_NEEDED_DISC if your game is on CDs

some game scripts using this will follow

edit: some progress have been made. I've been able to write a routine that detects the number of alcohol's and daemon-tools virtual drives.
edit bis: using of disc images implemented and working (as far as I've tested). won't post it yet: still some minor things to do, plus it's based on AutoIt's latest beta, which might be kinda bugged and unstable...
gon freecs
File for Legacy of Kain Defiance

Script Version 1.1

Uses a custom routine to change discs. you can find it here
gon freecs
File For Warcraft III Reign of Chaos + The Frozen Throne

Script Version 1.2

Uses a custom routine to change discs. you can find it here

Installs RoC with default parameters, installs TFT with default parameters, calls the patch and when patching is successful, closes it without launching the game.
gon freecs
File For Doom 3

Script Version 1.2

Uses a custom routine to change discs. you can find it here

Installs the game with default options, closes the autorun window that appears at the end of an install, calls the patch and when the patching is done, installs all of your mod files to doom 3\base dir.
gon freecs
File for Star Wars - Knights of The Old Republic

Script Version 1.1

Uses a custom routine to change discs. you can find it here

installs the game with default parameters, skips directx install then calls the patch
gon freecs
File for The Sims 2 CD Version

Script Version 1.2

Uses a custom routine to change discs. you can find it here
gon freecs
File For Legacy of Kain - Blood Omen 2

Script Version 1.1

Uses a custom routine to change discs. you can find it here
gon freecs
File For Max Payne 2 - The Fall Of Max Payne

Script Version 1.1

Uses a custom routine to change discs. you can find it here
gon freecs
File For Hitman Contracts

Script Version 1.1

Uses a custom routine to change discs. you can find it here
gon freecs
File For Vampire The Masquerade - Bloodlines

Script Version 1.1

Uses a custom routine to change discs. you can find it here
Radimus
Avast AV Home

credits to SteBro
MAVERICKS CHOICE
Brother MFC

Version 1.0

With Thanks to Nologic & MHZ

Thanks Guys
--=ddSHADOW=--
BurstCopy 2.700 Build 6921


http://www.burstcopy.com/

for RunOnceEx.cmd
QUOTE
REG ADD %KEY%\012 /VE /D "BurstCopy 2.700 Build 6921" /f
REG ADD %KEY%\012 /V 1 /D "%systemdrive%\install\BURSTCOPY\BurstCopy2.700Build6921.exe /VERYSILENT /NORESTART " /f
REG ADD %KEY%\012 /V 2 /D "REGEDIT /S %systemdrive%\install\BURSTCOPY\register_original.reg" /f
REGISTRATION with AutoIt
QUOTE
Run("C:\Program Files\BurstCopy\BurstCopy.exe")

WinWaitActive("BurstCopy")
Send("{ALT}P")
Send("R")
Send("name{TAB}serial{TAB}{ENTER 2}")
WinClose("BurstCopy")
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.