SiMoNsAyS Posted October 1, 2004 Posted October 1, 2004 (edited) IntroductionWelcome to the marvellous world of unattended installers ( ). This guide will help you to silent install Agnitum Outpost Pro Firewall 2.5.365.4523 (366) with english GUI. Many people don't know about Outpost, as you can image it's a good firewall based on plugins and use rules to let processes access the inet. That will be enough but I strongly recommend it for it ads and popup blocker capabilities. Give it an oportunity.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...; AutoIt Version: 3.0.102; Language: English; Platform: Win9x / NT / XP; Author: SiMoNsAyS aka Bio]-[aZaRD; Script Function: Instalar Agnitum Outpost Pro Firewall 2.5Opt("TrayIconDebug", 1)Opt("WinTitleMatchMode", 3)Run("OutpostProInstall.exe /s")BlockInput(1);pass automatic config screenWinWaitActive("Create New Configuration")WinActivate("Create New Configuration")Send("{ENTER}");pass configuration wizard screenSleep(90000)WinWaitActive("Configuration Wizard")WinActivate("Configuration Wizard")Send("{ENTER}");pass finish installation screenWinWaitActive("Configuration Wizard")WinActivate("Configuration Wizard")Send("{ENTER}");the most important on the installation. cancel the reboot now window.WinWaitActive("Install")WinActivate("Install")Send("{ESC}")EXITNote: 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 OutpostI 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.; AutoIt Version: 3.0.102; Language: English; Platform: Win9x / NT / XP; Author: SiMoNsAyS aka Bio]-[aZaRD; Script Function: Registrar Agnitum Outpost Pro Firewall 2.5Opt("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}")EXITLet me explain, "Serial.txt" is copied during installation to %SYSTEMDRIVE% and there is stored your own key. AutoIt opens the file, then copy the content and launch Outpost to insert that string. For this code to work you need the compiled .exe file on the same directory that the app. Again you need to compile the code like Register.exe for example.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.-ShortcutsI 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.@echo offcmdow @ /HIDMOVE /Y "%SYSTEMDRIVE%\Agnitum" "%ALLUSERSPROFILE%\Start Menu\Programs"It's attached too.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" /fREG ADD %KEY%\010 /V 1 /D "%CDROM%\Software\OutPost\Outpost.exe" /fREG 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 notesFor this exact script to work you'll need:Name of installer have to be OutpostProInstall.exeAutoIt compiled .exe have to be in the same directory of OutpostProInstall.exeMust be installed before any antiviral softwareIt's easy to develop an AutoIt Script, take the code as a base to yours. Good Luck! Thanks to nateklomp for help 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.5On Progress:[XPCD Example]: BioHaZaRD Unattended PRoJeCT[How To]: Silent install Softwin BitDefender 8Silent_Outpost.zip Edited October 10, 2004 by SiMoNsAyS
SiMoNsAyS Posted October 2, 2004 Author Posted October 2, 2004 2.5 was beta, now 2.5.365.4523 (366) it's final
SiMoNsAyS Posted October 2, 2004 Author Posted October 2, 2004 mmm that it's interesting i can't find it on agnitum website because i downloaded it from a torrent. news from the main websitebut as you can see in the screenshot it's a trial version that need a propper key, no beta messages, that's why i thought Outpost Firewall Pro ver. 2.5.365.4523 (366) was final, now not too sure...
lilweirddude Posted October 2, 2004 Posted October 2, 2004 yeah, i could't find anything about it on the site either
edmoncu Posted October 2, 2004 Posted October 2, 2004 anyway, found it here: http://www.agnitum.com/update_beta25/setup...Install_2.5.exeand judging from the link, its supposed to still be in beta form.
SiMoNsAyS Posted October 3, 2004 Author Posted October 3, 2004 ic.... probably it's still a beta version but it's recommended to update, it solves the irq_not_less_or_equal bug that it's very annoying
edmoncu Posted October 3, 2004 Posted October 3, 2004 besides, even if its beta, its now recognized by the security center which is a good thing for me... aesthetically. hehehe...
SiMoNsAyS Posted October 10, 2004 Author Posted October 10, 2004 First post is updated, maybe some1 can come with the help needed to register this **** program!
sdageforde Posted October 13, 2004 Posted October 13, 2004 Outpost PRO is now final....Agnitum: Taking care of your security
edmoncu Posted October 13, 2004 Posted October 13, 2004 @SiMoNsAyS: anyway registering outpost doesnt require creating a registry entry via autoit. mine does register properly.why doesn it register, is because the way regedit exports an existing registry entry of outpost registration. or perhaps the layout of the key that was obtained.the point is that your the key entry should be in one line. that way, it becomes registred to the registry.example, instead of having a registry file containingWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Agnitum\Outpost Firewall]"Key"="ABCDEFGHIJKLMNOPQ"rephrase it and make it a single line.Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Agnitum\Outpost Firewall]"Key"="ABCDEFGHIJKLMNOPQ"the latter will reflect the registry unlike the first example.also, for you to be sure that the registry file is entered to the registry, i tweaked your script and added these autoit commands at the end of your script before the exit. i included some ways to handle the shortcuts as well, since a bug in the outpost installation creates shortcuts at the root of the %systemdrive%.ProcessWaitClose("OutpostProInstall.exe")DirCreate(@ProgramsDir&"\Agnitum")DirCreate(@ProgramsDir&"\Agnitum\Outpost Firewall 2.5")FileCopy(@HomeDrive&"\Agnitum\Outpost Firewall 2.5\*.*", @ProgramsDir&"\Agnitum\Outpost Firewall 2.5\*.*", 1)DirRemove(@HomeDrive&"\Agnitum", 1)RunWait("REGEDIT /S "&@HomeDrive&"\Others\outpost\register.reg")anyways, presently, i still havent figured out a way on not using sleep command. im figuring out a more precise way to detect when the buttons are already clickable instead.
SiMoNsAyS Posted October 13, 2004 Author Posted October 13, 2004 nice! i'll play with the silent install later
lilweirddude Posted October 17, 2004 Posted October 17, 2004 that's odd, i can register with a a .reg entry just fine
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now