Jump to content

Autoit Scripts


Recommended Posts

Hello People, :)

Kicking off a topic for autoit users. Autoit was designed by someone for automating mass PC rollout. Good for us. And free.

Get from http://www.autoitscript.com/autoit3/

My contribution is XP's File and Settings wizard, in this post.

Some details below. Details also included in the script.

; --- File & Settings Wizard ---

; Summary:

; Make F&S Wiz do all the work of setting up your new Desktop, Startmenu, etc.

; Designed this script for mostly settings use.

; Hmm, use script for file extraction instead of using third-party archivers? Sounds cool.

; This script should work OK from CD or HardDrive

; Instructions:

; Recommend installing unattended OS and programs from CD into Virtual Machine.

; Run F&S Wiz after you have made settings the way you like them.

; Save the settings in "$OEM$\$Docs\All Users" in preparation for burning.

; You should now have a folder called "USMT2.UNC" in the above directory.

; Use latest Autoit V3 to compile scipt and put it as a last entry for RunOnceEx.

Hope you enjoy,

Bye. :rolleyes:

FS_Wiz.zip

Link to comment
Share on other sites


  • 2 weeks later...

Adiel:

These are the install scripts created for Autoit to compile. You can edit the script with notepad, to change the target filename etc.

Ensure that you have latest Autoit v3 installed. Just right click on the script and compile.

You just put the compiled exe into the same directory as your program installer and execute the compiled exe from runonceex script.

Should be ok running from CD or harddrive. :)

Link to comment
Share on other sites

Agnitum Outpost Pro Firewall 2.11 (Spanish Lang)

; AutoIt Version: 3.0.102

; Language: English

; Platform: Win9x / NT / XP

; Author:  SiMoNsAyS aka Bio]-[aZaRD

; Script Function: Instalar Agnitum Outpost Pro Firewall 2.11

Opt("TrayIconDebug", 1)

Opt("WinTitleMatchMode", 3)

Run("OutpostProInstall.exe")

BlockInput(1)

;this is language depending, this  4 keystrokes select spanish.

;if yours it's not spanish you will need to change the title and keystrokes for windows and buttons.

;thanks to nateklomp and big_gie : )

WinWaitActive("Select Language")

Send("{DOWN}{DOWN}{DOWN}{DOWN}")

ControlClick("Select Language","OK","Button2")

;pass welcome screen

WinWaitActive("Bienvenido")

Send("S")

;pass license agreement

WinWaitActive("Contrato de Licencia")

ControlClick("Contrato de Licencia","Acepto","Button3")

Send("S")

;pass readme screen

WinWaitActive("Léame")

Send("S")

;select installation directory (default %PROGRAMFILES%\Agnitum\Outpost Firewall)

WinWaitActive("Seleccionar la carpeta de instalación")

Send("S")

;program group only for default user (not all users)

WinWaitActive("Se ha completado la configuración de parámetros necesarios")

ControlClick("Se ha completado la configuración de parámetros necesarios","Crear grupo de programa para todos los usuarios del ordenador","")

Send("S")

;pass automatic config screen

WinWaitActive("Configuración automática")

Send("S")

;default config for aplications

WinWaitActive("Aplicaciones")

ControlClick("Aplicaciones","Utilizar las reglas configuradas automáticamente","Button6")

Send("S")

;default config for local net

WinWaitActive("Red local")

ControlClick("Red local","Utilizar las reglas configuradas automáticamente","Button6")

Send("S")

;pass finish installation screen

WinWaitActive("Se ha completado la instalación")

Send("F")

;the most important on the installation. cancel the reboot now window.

WinWaitActive("Instalar")

ControlClick("Instalar","Cancelar","Button3")

EXIT

To be saved as .au3 file.

More info can be found here

Link to comment
Share on other sites

  • 2 weeks later...

Here is my scripts for full-unattended.

Working good for me.

Contains:

Runonceex

Dotnet

Acrobat 6.01

Autoit 3.0102

Avast antivirus 4.1

Free dowload manager v1.0

Fraunhofer MP3 pro v1.263

HideOE v1.1

Maxthon Combo v1.0.220

Scite4Autoit3 v1.61

Serials2k v7.1

Sunjava v1.4.2

Talking messenger v3.1

WinRAR v3.3

Might be helpful for anyone. Only 19kb. B)

Scripts.zip

Link to comment
Share on other sites

  • 3 weeks later...

two questions:

1) Anyone know of a good place to learn how to CREATE these scripts? I want to contribute!

2) If I create an .exe from a script, using "compile script to exe", do i need to have autoit installed on the machine I will use the new exe command on? Or does the exe run standalone?

Link to comment
Share on other sites

two questions:

1) Anyone know of a good place to learn how to CREATE these scripts?  I want to contribute!

2) If I create an .exe from a script, using "compile script to exe", do i need to have autoit installed on the machine I will use the new exe command on?  Or does the exe run standalone?

1) The Autoit Forum is a good resource for learning Autoit.

2) You will need Autoit to compile scripts to exe. Once compiled, the exe can be run standalone just like any other exe.

You can get Autoit from here.

Also Scite4Autoit3 is an awesome, script editor from here.

Hope your queries are answered.

:)

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...