Jump to content

someone can help me to silent install outpost?


SiMoNsAyS

Recommended Posts

well most of my AutoIt code it's finished but i don't know how to bypass a window that select the language. anybody can help me (please see red text and attached image)??

; AutoIt Version: 3.0.102

; Language: English

; Platform: Win9x / NT / XP

; Author:  SiMoNsAyS aka Bio]-[aZaRD

; Script Function: Instalar Agnitum Outpost Firewall 2.11

Opt("TrayIconDebug", 1)

Opt("WinTitleMatchMode", 3)

Run("OutpostProInstall.exe")

BlockInput(1)

WinWaitActive("Select Language")

ControlClick("Select Language","Spanish","")

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

WinWaitActive("Bienvenido")

Send("S")

WinWaitActive("Contrato de Licencia")

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

Send("S")

WinWaitActive("Léame")

Send("S")

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

Send("S")

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")

WinWaitActive("Configuración automática")

Send("S")

WinWaitActive("Aplicaciones")

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

Send("S")

WinWaitActive("Red local")

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

Send("S")

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

Send("F")

WinWaitActive("Instalar")

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

EXIT

Link to comment
Share on other sites


I send keys for the languages instead of "clicking" like you do. I don't have the script here at work but if the first language higlited is english, then you need to send 3 times the "down arrow" key ({DOWN}{DOWN}{DOWN} or something like this. I know there is a "switch" like 3x{DOWN} but I don't know it by hart)

Link to comment
Share on other sites

Quick Guide to Silent Install Agnitum Outpost Pro Firewall 2.11

1.-Starting...

First we need AutoIt application that can be downloaded from here. Current version it's 3.0.102 (4th Aug, 2004).

2.-AutoIt Script...

; 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

Save the above code to a .txt file and rename it to .au3

3.-Compiling...

Finally we're going to compile our AutoIt script. Search for a folder on AutoIt directory called "Aut2Exe".

After running the compiler select your .aut (.au3) script, then imput the name of the .exe file that you like (must be in the same Outpost folder). Leave everything and press "Convert".

4.-Finish...

Add the entry of the compiled .exe file to your .cmd file.

5.-Final notes...

For this exact script to work you'll need:

  • Name of installer have to be OutpostProInstall.exe
  • AutoIt compiled .exe have to be in the same directory of OutpostProInstall.exe
  • Must be installed before any antiviral software

It's easy to develop an AutoIt Script, take the code as a base to yours. Good Luck! :thumbup

Link to comment
Share on other sites

  • 2 weeks later...

This is what i use, its WHSript,

Set WshShell = WScript.CreateObject("WScript.Shell")
On Error Resume Next
WScript.Sleep 7000
wshshell.appactivate("Welcome")
WScript.Sleep 1000
WshShell.SendKeys "n"
WScript.Sleep 5000
WshShell.SendKeys "{TAB 2}"
WScript.Sleep 1000
WshShell.SendKeys "{UP}"
WScript.Sleep 1000
WshShell.SendKeys "n"
WScript.Sleep 10000
WshShell.SendKeys "n"
WScript.Sleep 1000
WshShell.SendKeys "n"
WScript.Sleep 1000
WshShell.SendKeys "n"
WScript.Sleep 30000
WshShell.SendKeys "n"
WScript.Sleep 1000
WshShell.SendKeys "{TAB 4}"
WScript.Sleep 1000
WshShell.SendKeys "{ }"
WScript.Sleep 1000
WshShell.SendKeys "n"
WScript.Sleep 1000
WshShell.SendKeys "{TAB 4}"
WScript.Sleep 1000
WshShell.SendKeys "{ }"
WScript.Sleep 1000
WshShell.SendKeys "n"
WScript.Sleep 1000
WshShell.SendKeys "f"
WScript.Sleep 1000
WshShell.SendKeys "{TAB}"
WScript.Sleep 1000
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1000
Wscript.Quit

SiMoNsAyS, What theme are u using :thumbup

Link to comment
Share on other sites

  • 2 weeks later...
Here's my first try at AutoIt scripting:

; AutoIt Version: 3.0.102
; Language: English
; Platform: Win9x / NT
; Author:  nateklomp
; Script Function: Install Agnitum Outpost Firewall 1.0.
Opt("TrayIconDebug", 1)
Opt("WinTitleMatchMode", 3)
Run("outpost.exe")
BlockInput(1)
WinWaitActive("Welcome")
Send("N")
WinWaitActive("License Agreement for Agnitum Outpost Firewall 1.0")
ControlClick("License Agreement for Agnitum Outpost Firewall 1.0","","Button3")
Send("N")
WinWaitActive("Choose Destination Location")
Send("N")
WinWaitActive("Languages")
Send("N")
WinWaitActive("Start Installation")
Send("N")
WinWaitActive("Installation Complete")
Send("F")
WinWaitActive("Install")
ControlClick("Install","","Button3")
EXIT

Untested, please be gentle...

Tried with a couple of Autoit scripts myself but yours seems to be the best so far but still not installing yet? It basically stalls at the licence agreement?

Link to comment
Share on other sites

  • 3 weeks later...

OK, here's the final ENGLISH VERSION installer from my unattended XPCD:

; AutoIt Version:  3.0.102
; Language:  English
; Platform:  Win9x / NT
; Author:  nateklomp
; Script Function:  Install Agnitum Outpost Firewall Professional v2.1.303.314
Run("outpost.exe")
Sleep(5000)
WinWaitActive("Welcome")
WinActivate("Welcome")
ControlClick("Welcome","","Button1")
WinActivate("License Agreement for Outpost Firewall 2.1")
ControlClick("License Agreement for Outpost Firewall 2.1","","Button3")
WinActivate("License Agreement for Outpost Firewall 2.1")
ControlClick("License Agreement for Outpost Firewall 2.1","","Button1")
WinWaitActive("Read Me File")
WinActivate("Read Me File")
ControlClick("Read Me File","","Button1")
WinWaitActive("Choose Destination Location")
WinActivate("Choose Destination Location")
ControlClick("Choose Destination Location","","Button1")
WinWaitActive("Start Installation")
WinActivate("Start Installation")
ControlClick("Start Installation","","#327701")
ControlClick("Start Installation","","Button1")
Sleep(5000)
WinWaitActive("Auto-configuration")
WinActivate("Auto-configuration")
ControlClick("Auto-configuration","","Button1")
WinWaitActive("Application")
WinActivate("Application")
ControlClick("Application","","Button6")
WinActivate("Application")
ControlClick("Application","","Button1")
WinWaitActive("Network")
WinActivate("Network")
ControlClick("Network","","Button6")
WinActivate("Network")
ControlClick("Network","","Button1")
WinWaitActive("Installation Complete")
WinActivate("Installation Complete")
ControlClick("Installation Complete","","Button1")
WinWaitActive("Install")
WinActivate("Install")
ControlClick("Install","","Button3")
EXIT

You can also silently reg with this key (s/n removed of course):

[HKEY_LOCAL_MACHINE\SOFTWARE\Agnitum\Outpost Firewall]
"Key"="-"

I've also attached the compiled EXE--change OutpostProInstall.exe to outpost.exe and run in the same dir (or in an SFX).

I've tested it, this one's been working for me.

Good Luck!

OutpostProInstaller.exe

Edited by nateklomp
Link to comment
Share on other sites

oh thanks

save me a lot of trouble

is this right?

ECHO.
ECHO Installing Agnitum Oupost Pro Firewall v2.1
ECHO Please wait...
start /wait %systemdrive%\install\Agnitum Outpost Firewall Pro\OutpostProInstaller.exe
start /wait %systemdrive%\Install\Agnitum Outpost Firewall Pro\Key.reg
ECHO Done

thanks

Link to comment
Share on other sites

@lilweirddude, the code it's ok but i would preffer to run it from runonce and not cmdlines. to be sure try to use quotes like

ECHO.
ECHO Installing Agnitum Oupost Pro Firewall v2.1
ECHO Please wait...
start /wait "%systemdrive%\install\Agnitum Outpost Firewall Pro\OutpostProInstaller.exe"
start /wait "%systemdrive%\Install\Agnitum Outpost Firewall Pro\Key.reg"
ECHO Done

Link to comment
Share on other sites

well i've mostly finished an autoit script to silent install outpost .366 (english lang) but i can't bypass a window:

; AutoIt Version: 3.0.102

; Language: English

; Platform: Win9x / NT / XP

; Author:  SiMoNsAyS aka Bio]-[aZaRD

; Script Function: Instalar Agnitum Outpost Pro Firewall 2.5

Opt("TrayIconDebug", 1)

Opt("WinTitleMatchMode", 3)

Run("OutpostProInstall.exe /s")

BlockInput(1)

;pass automatic config screen

WinWaitActive("Create New Configuration")

Send("{ENTER}")

;pass configuration wizard screen

WinWaitActive("Configuration Wizard")

Send("{ENTER}")

;pass finish installation screen

WinWaitActive("Configuration Wizard")

Send("{ENTER}")

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

WinWaitActive("Install")

ControlClick("OK","Cancel","Button3")

EXIT

what it's marked in red is the window that i can't bypass. i need a code that can wait for a button to be active (the keypress is sent when the button is still greyed out).

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