Welcome to the marvellous world of unattended installers (
1.-Starting...
Current version 2.5.365.4523 (366) is on development. Nearly final but it's not still released. Anyway it's recommend to update because the bugs solved are over the new bugs. First we need AutoIt application that can be downloaded from here. Current version it's 3.0.102 (4th Aug, 2004).
2.-AutoIt Script...
Quote
; 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")
WinActivate("Create New Configuration")
Send("{ENTER}")
;pass configuration wizard screen
Sleep(90000)
WinWaitActive("Configuration Wizard")
WinActivate("Configuration Wizard")
Send("{ENTER}")
;pass finish installation screen
WinWaitActive("Configuration Wizard")
WinActivate("Configuration Wizard")
Send("{ENTER}")
;the most important on the installation. cancel the reboot now window.
WinWaitActive("Install")
WinActivate("Install")
Send("{ESC}")
EXIT
Note: The above red code marks a default wait time of 90sec., this time can be reduced to 60 sec. on a machine with 128MB ram.
Save the above code to a .txt file and rename it to .au3. Then compile it (f you don't want to do it, the attached .ZIP file contains Outpost.exe that it's ready to go).
3.-Registering Outpost
I thought that export the key would be enough but after many tests (with many I mean more than 10 unattended installations), I haven't been sucessful. This key...
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Agnitum\Outpost Firewall] "Key"="serial"... contains the serial but after aplying it Outpost continue unregistered. I have built a new AutoIt script, the problem now is that it needs to call outpost just after the installation and at that step, launching the program will fail. Here it is anyway.
Quote
; Language: English
; Platform: Win9x / NT / XP
; Author: SiMoNsAyS aka Bio]-[aZaRD
; Script Function: Registrar Agnitum Outpost Pro Firewall 2.5
Opt("TrayIconDebug", 1)
Opt("WinTitleMatchMode", 2)
BlockInput(1)
Run("Notepad.exe")
WinWaitActive(" - ","")
Send("{LALT}{DOWN}{DOWN}{ENTER}")
Send("%SYSTEMDRIVE%\Serial.txt{ENTER}")
WinWaitActive("Serial.txt -","")
Send("^a")
Send("^c")
Send("{LALT}{UP}{UP}{ENTER}")
Run("outpost.exe /register")
WinWaitActive("Outpost Firewall Pro Registration")
WinActivate("Outpost Firewall Pro Registration")
Send("D")
WinWaitActive("Enter code")
WinActivate("Enter code")
Send("^v")
Send("{ENTER}")
WinWaitActive("Outpost Firewall Pro")
WinActivate("Outpost Firewall Pro")
Send("{ENTER}")
EXIT
4.-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".
5.-Shortcuts
I have note that shortcuts aren't created properly when silently installing this software. They are stored on the same unit from where you launch the installation. Generally %SYSTEMDRIVE% so I've created a Outpost.cmd to place the things properly.
Quote
cmdow @ /HID
MOVE /Y "%SYSTEMDRIVE%\Agnitum" "%ALLUSERSPROFILE%\Start Menu\Programs"
6.-RunOnce entries...
I think that's all. To call the installation will use:
REG ADD %KEY%\010 /VE /D "Agnitum Outpost Firewall Pro 2.5" /f REG ADD %KEY%\010 /V 1 /D "%CDROM%\Software\OutPost\Outpost.exe" /f REG ADD %KEY%\010 /V 2 /D "%CDROM%\Software\OutPost\Outpost.cmd" /fAfter the app it's installed and a reboot it's done you can run the Register.exe file. I'm still working on that thing and hope that someone can come here to the solution on how to register this **** thing without AutoIt!
7.-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
Other interesting links
[How To]: Use 2 CDs for Windows XP and Office
[How To]: Windows 95 on 5,35Mb!
[How To]: Silent install Mozilla Firefox 0.9.3
[How To]: Silent install Nullsoft WinAmp 5.05
[How To]: Silent install Agnitum Outpost Pro 2.11
[How To]: Silent install Softwin BitDefender 7.2
[How To]: Silent install MSN Messenger 6 & Messenger Plus! 3.20
[How To]: Silent install Alcatel Speedtouch 330 USB DSL Modem
[How To: Silent install Agnitum Outpost Pro 2.5
On Progress:
[XPCD Example]: BioHaZaRD Unattended PRoJeCT
[How To]: Silent install Softwin BitDefender 8
Attached File(s)
-
Silent_Outpost.zip (83.99K)
Number of downloads: 236
This post has been edited by SiMoNsAyS: 10 October 2004 - 08:50 AM



Help

Back to top









