• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
FuzzBall

AutoIT Script Collection - Contributions Only

265 posts in this topic

My first AutoIt script. This one is really simple, no nonsense. For Firefox Setup 3.0.3.exe though it should work on most older/future setups.

Link to Firefox Setup 3.0.3.exe: http://mozilla.stu.edu.tw//firefox/release...tup%203.0.3.exe

Important Rename Firefox Setup 3.0.3.exe to Firefox_Setup_3_0_3.exe as AutoIt doesn't like this file name. :wacko:

#cs ----------------------------------------------------------------------------
Firefox_Setup_3_0_3.exe by av2606
#ce ----------------------------------------------------------------------------

; Define $FireFox
$FireFox = "Firefox_Setup_3_0_3.exe"

; Disable mouse and keyboard
BlockInput (1)

; Run installer
Run($FireFox)

; Control window 1 - Close programs warning window
WinWaitActive("Mozilla Firefox Setup", "It is recommended that you close all")
ControlClick ("Mozilla Firefox Setup", "It is recommended that you close all", "&Next >")

; Control window 2 - Licence agreement
WinWaitActive("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement")
ControlClick ("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement", "I &accept the terms in the Licence Agreement")
ControlClick ("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement", "&Next >")

; Control window 3 - Default or custom install
WinWaitActive("Mozilla Firefox Setup", "You may choose individual options to be installed")
ControlClick ("Mozilla Firefox Setup", "You may choose individual options to be installed", "&Next >")

; Control window 4 - Install location
WinWaitActive("Mozilla Firefox Setup", "Firefox will be installed to the following location")
ControlClick ("Mozilla Firefox Setup", "Firefox will be installed to the following location", "&Install")

; Control window 5 - Finish and exit
WinWaitActive("Mozilla Firefox Setup", "Click Finish to close this wizard")
ControlClick ("Mozilla Firefox Setup", "Click Finish to close this wizard", "&Launch Firefox now")
ControlClick ("Mozilla Firefox Setup", "Click Finish to close this wizard", "&Finish")

; Enable mouse and keyboard
BlockInput (0)

i think this much code is not need fro firefox because silent switch of firefox is -ms why dont make a script with that

0

Share this post


Link to post
Share on other sites
Irfanview 4.23

Enjoy it!

iview423.exe /silent /folder="%ProgramFiles%\irfanview" /desktop=1 /thumbs=0 /group=1 /allusers=0 /assoc=1

This program also can be installed silently without Autoit.

0

Share this post


Link to post
Share on other sites

Hi All!

Comodo Internet Security 32-Bit & Comodo Firewall Only 32-Bit for XP & Vista can be found Here

64-Bit - Coming as soon as I get my hands on some 64-Bit machines.

Enjoy All!

Edited by pcjames
0

Share this post


Link to post
Share on other sites

utorrent 1.8.5 (build 17091)

Couldn't find another autoit for utorrent, so decided to post my own here.

This script is customized for my personal settings, anyone can take it and modify it to their purposes...

I made it specifically to use with WPI (so not many configuration options are set) It's commented to help with modification should anyone need to..

enjoy!

utorrent.au3

Edited by gorara
0

Share this post


Link to post
Share on other sites

Winamp 5112_pro with settings


#NoTrayIcon

$DELAY = 400

Run ( "winamp5112_pro.exe" )
WinWaitActive("Winamp Setup", "License Agreement")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Choose Components" )
Send("{TAB}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{DOWN 4}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 2}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Choose Install Location" )
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Choose Install Options" )
Sleep($DELAY)
Send("{DOWN 3}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{DOWN 2}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 2}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Internet Connection and Language Settings" )
Sleep($DELAY)
Send("{DOWN 2}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)

WinWaitActive ( "Winamp Setup" , "Interface and Skin Selection" )
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)

WinWaitActive ("1. DJ Mike Llama - Llama Whippin' Intro - Winamp [Stopped]" , "")
Sleep($DELAY)
Send("!f")
Sleep($DELAY)
Send("#o")
Sleep($DELAY)
Send("#p")
Sleep($DELAY)
WinWaitActive ("Winamp Preferences" , "")
Sleep($DELAY)
Send("{UP}")
Sleep($DELAY)
Send("{TAB 5}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("USERNAME")
Sleep($DELAY)
Send("{TAB}")
Sleep($DELAY)
Send("SERIAL")
Sleep($DELAY)
Send("{TAB}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
Send("{TAB 2}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{TAB 9}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 8}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{TAB 4}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 10}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
WinWaitActive("[CLASS:Winamp v1.x]")
WinClose("[CLASS:Winamp v1.x]")


0

Share this post


Link to post
Share on other sites

TCP-Z, V2.6.1.72 (the in memory tcpip.sys patcher-driver (default value after appling patch is 252)

Run('TCPZ_Setup-x86.exe')
WinWaitActive('TCP/IP Half Open Limited Patcher (TCP-Z)')
send("{ENTER}")

WinWaitActive('TCP/IP Half Open Limited Patcher (TCP-Z)')
ControlClick('TCP/IP Half Open Limited Patcher (TCP-Z)','Action','Button1')
send("{ENTER}")


WinWaitActive('TCP/IP Half Open Limited Patcher (TCP-Z)')
send("{ENTER}")

WinWaitActive('OK')
send("{ENTER}")

If WinExists('TCP/IP Half Open Limited Patcher (TCP-Z)') Then
WinClose('TCP/IP Half Open Limited Patcher (TCP-Z)')
EndIf

sleep(1000)
WinWaitActive('Device Manager')
WinClose('Device Manager')

Edited by CrackMe
0

Share this post


Link to post
Share on other sites

NOD32 2.70.39 EN - Standard (retail)

Run('setup.exe')
WinWaitActive('Setup Wizard')
ControlCommand('Setup Wizard','Installation','Expert (Fully customized installation)','Check','')
send("!n")

WinWaitActive('End-user Software License Agreement')
ControlCommand('End-user Software License Agreement','SOFTWARE LICENSE AGREEMENT','I agree','Check','')
send("!n")

WinWaitActive('Select destination folder')
send("!n")

WinWaitActive('Setup of Automatic Update')
ControlCommand('Setup of Automatic Update','Automatic Internet update of NOD32 system will only work if a valid Username and Password are entered in the fields below. Username and Password are assigned by the vendor or distributor, and must be entered exactly as printed on the license.','Set update parameters later','Check','')
send("!n")

WinWaitActive('General Setup')
send("!n")

WinWaitActive('Program graphics and splash screen options')
ControlCommand('Program graphics and splash screen options','To disable display of the NOD32 splash screen at system startup, select the appropriate checkbox.','Do not display NOD32 splash screen at startup','Check','')
send("!n")

WinWaitActive('Warning distribution')
send("!n")

WinWaitActive('ThreatSense.Net Early Warning System')
send("!e")
send("!n")

WinWaitActive('Detection of potentially unwanted applications')
send("!d")
send("!n")


WinWaitActive('File system monitor - AMON')
send("!n")

WinWaitActive('On-Demand Scanner integration')
send("!n")

WinWaitActive('Microsoft Office document protection (DMON)')
ControlCommand('Microsoft Office document protection (DMON)','DMON protects your computer against infiltrations in Microsoft Office documents.','Enable protection of Microsoft Office documents (DMON)','Check','')
send("!n")

WinWaitActive('Internet Monitor (IMON)')
;ControlCommand('Internet Monitor (IMON)','It is designed principally for workstations and should not be enabled on servers.','Register Internet monitor (IMON) to the system','Check','')
Send("{SPACE}")
send("!n")

WinWaitActive('Email monitor for Microsoft Outlook (EMON)')
send("!e")
send("!n")

WinWaitActive('Setup configuration complete')
send("!n")

WinWaitActive('Installation complete')
ControlCommand('Installation complete','','Restart later','Check','')
send("{ENTER}")

Edited by CrackMe
0

Share this post


Link to post
Share on other sites

Here is a script for DAP - Download Accelerator Plus Version 93, for offline install, pls don't use it when you're online.

This is for free version and it won't put any desktop icons and would also stop internet explorer or firefox to run at the end

dap_autoit93.au3

Edited by laz3boy
0

Share this post


Link to post
Share on other sites

utorrent 2.0.0 (build 18097)

Updated from previous au3, 1.8.5 (build 17091)

Basic settings, made mostly for WPI installation...

enjoy!

utorrent.au3

0

Share this post


Link to post
Share on other sites

Here's my AutoIT Script to dtrace Symantec Enteprise Vault when it's doing some archiving tasks. (Of course you can modify what you want to monitor)

Done because i didn't want to wake at 4am to do this myself :)

WinActivate is used to be sure that autoit send the keys in the right place. (Note that the windows name is dtrace's path)



; Open dtrace and run specifics commands to monitor enterprise vaultservices
Run("C:\PROGRA~1\ENTERP~1\DTrace.exe")


; Wait for the dtrace become active
WinWaitActive("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Sleep(3000)

;Focus to dtrace windows
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")

;List recordable events
Send("view")
Sleep(3000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(3000)

;Record event 84 - StorageDelete
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("set 84 v")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Record event 85 - StorageFileWatch
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("set 85 v")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Record event 86 - StorageManagement
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("set 86 v")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Record log to a specific directory with a current date
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("log C:\Scripts\dtrace\tracelog-"& @Year & "-" & @MON & "-" & @MDAY & "-" & @HOUR & "-" & @MIN & "-" & @SEC & ".log")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")

;Record for an hour
Sleep(3600000)


;Stop logging
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("log")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Confirmation to stop logging
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("yes")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Quit dtrace
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("exit")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")


; Finished!

0

Share this post


Link to post
Share on other sites

CCleaner

Installation

This will automate the installation of CCleaner. This is the version of CCleaner that DOES NOT come with the toolbar (recommended).

Download CCleaner Slim from here:

http://www.piriform.com/ccleaner/download/slim

Running

Also inside the .rar compressed file is another script to Open CCleaner > Run Cleaner > Open Registry Section > Scan For Registry Issues > Fix All Registry Issues > Close CCleaner > Display confirmation message.

In order for the running script to work properly, please go into the CCleaner settings and uncheck/disable the following options:

  • Check for Updates automatically
  • Ask for Registry Backups

Everything is attached. Just extract to the same folder and make sure your installation file is in the same folder as well and your good to go!

CCleaner AutoIT.rar

0

Share this post


Link to post
Share on other sites

iTunes 10

Tested with iTunes v10.0.1.22

download site: http://www.apple.com/itunes/

Full installation of all components but w/o quicktime association (i.e. quicktime is installed)

Tested ok with XP English via svcpack

Edit: 3 Mar 2012

Customisation for v10.5.3.3

(Note: The attach au3 is for the old one. There is no v10.5.3.3 au3)

iTunesscript.au3

Edited by Geej
0

Share this post


Link to post
Share on other sites

hi guys i am new at autoit, but i can't find how to add exe file in the script... I am create script and whan i compile my file is only 295kb but program is 19mb...

program is VLC 1.1.5 when i start script from the autoit everything is fine and install work perfectly, but only in the autoit working, i have write "RUN" and the vlc is in the same folder and then is perfectly, but what i need to type to get vlc inluced in the script whan i compile, exe compile file just run and run, in the task manager i have cca 15 VLC apps runing, but

how i can inlcude vlc in the script, what options file install, installer?

sorry if i have mistakes in the english i am croatian thnx in advanced

Edited by borism25
0

Share this post


Link to post
Share on other sites

; SAVE FILE IN SELECT FOLDER
$var = FileSelectFolder("Select local save file", "")
If ($var) Then
$VarTwo = FileCopy("doc\file_name.pdf",$var&"\", 1)
If ($VarTwo) Then
MsgBox(1,"File Copy to:",@ScriptDir & $var &"\"& "file_name.pdf")
EndIf
If @error > 0 Then
MsgBox(0, "Error!", "This file not copy!")
Exit
EndIf
Else
Exit
EndIf

0

Share this post


Link to post
Share on other sites

iTunesSetup.exe

10.3.1.55

I used it in RunOnceEx.

And some Start Menu clean up.

iTunesSetup.au3

Note: reg command to fix the locale to ENU and let installer installs in English

Edited by ykchanaed
0

Share this post


Link to post
Share on other sites

hi guys i am new at autoit, but i can't find how to add exe file in the script... I am create script and whan i compile my file is only 295kb but program is 19mb...

program is VLC 1.1.5 when i start script from the autoit everything is fine and install work perfectly, but only in the autoit working, i have write "RUN" and the vlc is in the same folder and then is perfectly, but what i need to type to get vlc inluced in the script whan i compile, exe compile file just run and run, in the task manager i have cca 15 VLC apps runing, but

how i can inlcude vlc in the script, what options file install, installer?

sorry if i have mistakes in the english i am croatian thnx in advanced

When you compile the script, you are not compiling the source files necessary for the installation. You're just compiling the script. You have to supply the executable for the installation and make references to there location in the script. An AutoIT script is just a gloried batch file.

0

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

  • Recently Browsing   0 members

    No registered users viewing this page.