Jump to content

AutoIT Script Collection - Contributions Only


FuzzBall

Recommended Posts

Winamp 5.52 FR&US Version PRO

Version Française

Run('winamp.exe')

WinWaitActive("Installer Language", "")
Send("{ENTER}")
WinWaitActive("Installation de Winamp", "")
Send("{ENTER}")
WinWaitActive("Installation de Winamp", "")
Send("!C")
WinWaitActive("Installation de Winamp", "")
Send("!S")
WinWaitActive("Installation de Winamp", "")
Send("!S")
WinWaitActive("Installation de Winamp", "")
Send("!S")
WinWaitActive("Installation de Winamp", "")
Send("{TAB}")
Send("{TAB}")
Send("{SPACE}")
Send("{TAB}")
Send("{SPACE}")
Send("{TAB}")
Send("{SPACE}")
Send("{ENTER}")
WinWaitActive("Installation de Winamp", "Installation terminée")
Send("{TAB}")
Send("{SPACE}")
Send("!F")

;Ajout de clé registre pour la version pro
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Nullsoft\Winamp", "regname", "REG_SZ", "Utilisateur")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Nullsoft\Winamp", "regkey", "REG_SZ", "la clé")

Version English/US

Run('winamp.exe')

WinWaitActive("Windows Installer", "")
Send("{ENTER}")
WinWaitActive("Windows Installer", "")
Send("!A")
WinWaitActive("Windows Installer", "")
Send("!N")
WinWaitActive("Windows Installer", "")
Send("!N")
WinWaitActive("Windows Installer", "")
Send("!N")
WinWaitActive("Windows Installer", "")
Send("{TAB}")
Send("{TAB}")
Send("{SPACE}")
Send("{TAB}")
Send("{SPACE}")
Send("{TAB}")
Send("{SPACE}")
Send("{ENTER}")
WinWaitActive("Windows Installer", "Installation Complete")
Send("{TAB}")
Send("{SPACE}")
Send("!F")

;Adding key register for the pro version
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Nullsoft\Winamp", "regname", "REG_SZ", "NAME")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Nullsoft\Winamp", "regkey", "REG_SZ", "The KEY")

Edited by flamme-demon
Link to comment
Share on other sites


Messenger Plus! Live

Version Française :

Run('MsgPlusLive-450.exe')
WinWaitActive("Installation", "")
Send("{ENTER}")
WinWaitActive("Installation", "")
Send("{TAB}")
Send("{SPACE}")
Send("{ENTER}")
WinWaitActive("Installation", "")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("{SPACE}")
Send("{ENTER}")
WinWaitActive("Messenger Plus! Live", "")
Send("{ENTER}")

Version English :

Run('MsgPlusLive-450.exe')
WinWaitActive("Setup", "")
Send("{ENTER}")
WinWaitActive("Setup", "")
Send("{TAB}")
Send("{SPACE}")
Send("{ENTER}")
WinWaitActive("Setup", "")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("{SPACE}")
Send("{ENTER}")
WinWaitActive("Messenger Plus! Live", "")
Send("{ENTER}")

Link to comment
Share on other sites

  • 1 month later...

TuneUp Utilities 2008 7.0.8002

My first script! :thumbup

change if needed (early lines of code):

- $EXECUTABLE (file name)

- $JOBNAME (WinDir\Tasks\jobname.job) to remove

- $RCOMP, $RUSER, $RCODE (registration info)

it removes unuseful stuff and autostart

comments appreciated!

TuneUp_Utilities_2008.au3

Edited by Gremo
Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...

iSiloX 4.37

Notes:

Save as a .au3 file in the same folder as the original installer and compile to have a working passive installer.

Read the script at least once to see if you want to change the customizations options, this script changes the default options for components, install location and shortcut creation.

#cs ----------------------------------------------------------------------------

AutoIt Version: 3.2.12.0
Author: JC

Script Function:
Automate iSiloX 4.3.7 Install.

#ce ----------------------------------------------------------------------------
#NoTrayIcon
Opt("TrayIconHide", 1)

Dim $aOptTxt[3] = ['&Create a shortcut to iSiloX on the desktop','Install iSiloX Clipper for Internet &Explorer 5.0 or later','Make iSiloX available for &all users on this computer']
Dim $aOptCID[3] = [1006, 1013, 1012]
Dim $aOpt[3] = [False,False,True]
Dim $aOrgOpt[3] = [True,True,False]
Dim $aOptC[3]
For $i = 0 To 2
If $aOpt[$i] <> $aOrgOpt[$i] Then
$aOptC[$i] = True
Else
$aOptC[$i] = False
EndIf
Next
$ParentPrgGrp = 'Palm'
$InstallDir = @ProgramFilesDir & '\Utilities\Palm\iSiloX'

FileInstall("iSiloX437Setup.exe", @TempDir & "\")
Run(@TempDir & "\" & "iSiloX437Setup.exe")

$WinTitle = 'iSiloX Setup: Welcome'
$WinText = 'Welcome to iSiloX Setup.'
WinWait($WinTitle, $WinText)
WinActivate($WinTitle, $WinText)
ControlClick($WinTitle, $WinText, 1)

$WinTitle = 'iSiloX Setup: Software License Agreement'
$WinText = 'Please read the following license agrement. Scroll to see the rest of the agreement.'
WinWait($WinTitle, $WinText)
WinActivate($WinTitle, $WinText)
ControlClick($WinTitle, $WinText, 1)

$WinTitle = 'iSiloX Setup: Options'
$WinText = 'Destination Folder'
WinWaitActive($WinTitle, $WinText)
WinActivate($WinTitle, $WinText)
ControlSetText($WinTitle, $WinText, 1004, $InstallDir)
For $i = 0 To 2
If $aOptC[$i] == True Then
ControlClick($WinTitle,$WinText,$aOptCID[$i])
EndIf
Next
ControlClick($WinTitle, $WinText, 1)

$WinTitle = 'iSiloX Setup: Complete'
$WinText = 'Congratulations! Setup successfully installed iSiloX onto your computer.'
WinWait($WinTitle, $WinText)
WinActivate($WinTitle, $WinText)
ControlClick($WinTitle, $WinText, 1)

ProcessWaitClose("iSiloX437Setup.exe", 180)
If FileExists (@ProgramsCommonDir & "\" & "\iSiloX") Then
If Not FileExists (@ProgramsCommonDir & "\" & $ParentPrgGrp) Then
DirCreate (@ProgramsCommonDir & "\" & $ParentPrgGrp)
EndIf
DirMove (@ProgramsCommonDir & "\iSiloX", @ProgramsCommonDir & "\" & $ParentPrgGrp, 1)
EndIf

If FileExists (@ProgramsDir & "\" & "\iSiloX") Then
If Not FileExists (@ProgramsDir & "\" & $ParentPrgGrp) Then
DirCreate (@ProgramsDir & "\" & $ParentPrgGrp)
EndIf
DirMove (@ProgramsDir & "\iSiloX", @ProgramsDir & "\" & $ParentPrgGrp, 1)
EndIf

If FileExists (@TempDir & "\" & "iSiloX437Setup.exe") Then FileDelete (@TempDir & "\" & "iSiloX437Setup.exe")

Edit: attached script file.

iSiloX437Setup.AU.au3

Edited by Twisten
Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

CCleaner 2.08 Without Yahoo Toolbar

I couldn't find any command line options to install ccleaner without the Yahoo! Toolbar, so I used the standard silent switch /s to install ccleaner silently with the toolbar and then I run the corresponding silent paramaters to uninstall the yahoo toolbar immediately following.

RunWait(@ScriptDir & '\ccsetup208.exe /S')
RunWait(@ProgramFilesDir & '\Yahoo!\Common\unyt.exe /s')
Run(@SystemDir & '\regsvr32 /u ' & FileGetShortName(@ProgramFilesDir) & '\Yahoo!\Common\YINSTH~1.DLL /s')
TrayTip('CCleaner 2.08', 'CCleaner Installation Complete', 5)
Sleep(5000)

ccleanerSilent.au3

Link to comment
Share on other sites

Here's my first script ever created, and still learning to use AutoIt. Tested plenty of times to ensure it works flawlessly. Any improvement suggestions welcome.

This is for Axialis IconWorkshop 6.20 Professional. Instructions for using this script is in the au3 file. This script will install Axialis IconWorkshop followed by launching it and inserting your name, company, and serial number. It will disable dialogs should file association breaks, along with disabling online registration, and Tip of the Day pop up box. Finally, this script will close the app automatically once it's done.

Enjoy :)

#cs ----------------------------------------------------------------------------
AutoIt: 3.2.12.0
Author: InfinitiProject
Script Created For: Axialis IconWorkshop 6.20 Professional

Instructions:
- Run this script in the same directory with Axialis IconWorkshop 6.20 Professional executable. Name it "iconworkshop.exe" if it's named otherwise.
- Enter your name, company, and serial number in the fields below.

#ce ----------------------------------------------------------------------------

; Enter Name, Company, and Serial Number Information Here
$YourName = "John Doe"
$Company = "Company/Location"
$SerialNumber = "12345678-12345-12345-12345-12345"

; Axialis IconWorkshop Installation Folder
$INSTALLLOCATION = @ProgramFilesDir & "\Axialis IconWorkshop"

If FileExists($INSTALLLOCATION & "\IconWorkshop.exe") Then
MsgBox(0x40010, @ScriptName, "Please uninstall the previous version of Axialis IconWorkshop before this install can proceed.", 10)
Exit
EndIf

; Axialis Install Executable
$Executable = "iconworkshop.exe"

; Start Axialis IconWorkshop 6.20 Professional Install
Run($Executable)

WinWaitActive("Axialis IconWorkshop 6.20 Installation" , "Welcome to Axialis IconWorkshop 6.20 Installation!")
Sleep(1000)
Send("{ENTER}")
WinWaitActive("Axialis Installation - Product Information" , "Product Information")
Sleep(1000)
Send("{ENTER}")

WinWaitActive("Axialis Installation - User License Agreement", "License Agreement: Terms and Conditions of Use")
Sleep(1000)
Send("{TAB}{TAB}{TAB}{SPACE}")
Sleep(1000)
Send("{ENTER}")

WinWaitActive("Axialis Installation - Destination Folder", "Destination Folder")
Sleep(1000)
Send(@ProgramFilesDir)
Sleep(1000)
Send("\Axialis IconWorkshop")
Sleep(1000)
Send("{ENTER}")

WinWaitActive("Axialis Installation - Installation Successfully Completed", "Installation Successfully Completed!")
Send("{TAB}{TAB}{TAB}{SPACE}")
Sleep(1000)
Send("{ENTER}")

; Launch Axialis IconWorkshop 6.20 Professional
Run($INSTALLLOCATION & "\IconWorkshop.exe")

; Waiting For Application to Launch and Load to Configure App Preferences
Sleep(9000)

; File Association and Prompt Box If Unassociated
WinWaitActive("Warning: File Associations")
Send("{TAB}{TAB}{TAB}{SPACE}{TAB}{SPACE}{TAB}")
Sleep(1000)
Send("{ENTER}")

; Name, Company, Registration Key Information
WinWaitActive("Product Activation")
Send($YourName)
Sleep(1000)
Send("{TAB}")
Send($Company)
Sleep(1000)
Send("{TAB}")
Send($SerialNumber)
Sleep(1000)
Send("{ENTER}")
Sleep(1000)

; Configure Online Registration (Denying Registration)
WinWaitActive("Online Registration Using Internet")
Send("{TAB}")
Sleep(1000)
Send("{TAB}")
Sleep(1000)
Send("{ENTER}")
Sleep(1000)

; Cancel Registration Confirmation
WinWaitActive("Axialis IconWorkshop")
Send("{ENTER}")
Sleep(1000)

; Never Remind About Registration
WinWaitActive("Axialis IconWorkshop")
Send("{ENTER}")
Sleep(1000)

; Welcome to Axialis IconWorkshop! Did you know...
WinWaitActive("Welcome to IconWorkshop")
Send("{TAB}")
Sleep(1000)
Send("{TAB}")
Sleep(1000)
Send("{TAB}")
Sleep(1000)
Send("{TAB}")
Sleep(1000)
Send("{TAB}")
Sleep(1000)
Send("{SPACE}")
Sleep(1000)
Send("{ENTER}")
Sleep(1000)

; Exit Axialis IconWorkshop 6.20 Professional
Send("{ALT}")
Sleep(1000)
Send("{UP}")
Sleep(1000)
Send("{UP}")
Sleep(1000)
Send("{ENTER}")

; Force Close Axialis IconWorkshop 6.20 Professional If It's Still Opened
$PID = ProcessExists("IconWorkshop.exe")
If $PID Then
ProcessClose($PID)
EndIf

Axialis_IconWorkshop_6.20_Professional.au3

Edited by InfinitiProject
Link to comment
Share on other sites

  • 4 months later...

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)

Firefox.au3

Edited by av2606
Link to comment
Share on other sites

  • 3 weeks later...

Adobe Shockwave Player 11.0.3.470 Silent Installer

I have been looking for a way to do a silent install of Shockwave Player for about a week now. I gave up looking and decided to try to make my own with AutoIt. See Attached.

This will disable the Google toolbar installation and allow for a Unattended install of Adobe Shockwave Player 11.0.3.470

Shock.au3

Link to comment
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.
×
×
  • Create New...