Jump to content

Comodo Firewall 2.4.16.174


rado354

Recommended Posts

  • 3 weeks later...

  • 4 weeks later...

Hi friends!

Pezzy, I test your compiled exe and in the third screen of instalation, it aborts.

Can you help me?

PS: I'm trying to install a brazilian portuguese version, but I renamed the file to "setup.exe"

Thanks

Link to comment
Share on other sites

  • 1 month later...

Here is an Autoit script based on previously Bi0haZarD, with some minor changes.

One can change the default install path and choose to delete the desktop icon.

Credits go to him.

; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.2.0.1
; Author: Bi0haZarD
; Edited by JohnS
; Script Function:
; Silent Install Comodo Firewall 2.4 EN using ControlClicks
;
; ----------------------------------------------------------------------------
; You must change the install setup file to ComodoFirewall_Setup.exe
$OPTION = "Y" ; (Y)es or (N)o - Change or not the Default Destination Folder: Program Files\Comodo\Firewall
$InstallPath = "Test" ; Location For Destination Folder under Program Files in case $OPTION="Y".
;Ex: if Test is chosen then install folder will be \Program Files\Test\Comodo\Firewall (\Comodo\Firewall is not changeable)
$Icon = "N" ; (Y)es or (N)o - Delete or not the desktop icon

$InstallPath1 = "\" ; Don't change this
$InstallerTitle = "Comodo Personal Firewall Installation..."
$MainSetup = "COMODO Firewall Pro Installer"
$ConfigWiz = "Firewall Configuration Wizard"
$Filename = @ScriptDir&"\ComodoFirewall_Setup.exe"

$message1 = " Installing Comodo Firewall..."&@CRLF&@CRLF&" Please do NOT touch The Keyboard or Mouse until installation is complete."
$message2 = " ¤ Starting "&$Filename&"..."&@CRLF
$message3 = " ¤ Waiting for Main Installer to Start"&@CRLF
$message4 = " ¤ Waiting for Configuration Wizard to Start"&@CRLF
$message5 = " ¤ Waiting for Configuration Wizard to Finish"&@CRLF
$message6 = " ¤ Waiting for Restart Dialog to Appear"&@CRLF
$message7 = " ¤ Finished Installing"&@CRLF

SplashTextOn($InstallerTitle, "", 370, 120, 7, 300, 4, -1, 8, -1)
ControlSetText($InstallerTitle, "", "Static1", $message1 )

Run($Filename)
ControlSetText($InstallerTitle, "", "Static1", $message1 & $message2)
WinWaitActive("COMODO");Wait till Installer is shown
ControlClick("COMODO", "In case", "Button1");Click the Yes Button to Confirm Install

ControlSetText($InstallerTitle, "", "Static1", $message1 & $message2 & $message3)
WinWaitActive($MainSetup);Wait until the Main installer is shown
sleep(300)
ControlClick($MainSetup, "Welcome to", "Button2");Click "Next" Button
WinWaitActive($MainSetup, "END USER LICENSE AGREEMENT");Wait until the Licence Agreement is shown
ControlClick($MainSetup, " END USER LICENSE AGREEMENT", "Button2");Click Yes to Accept License Agreement
WinWaitActive($MainSetup, "Setup will install");Wait until Choose destination folder is shown
If $OPTION = "N" Then
sleep(300)
ControlClick($MainSetup, "Setup will install", "Button2");Click "Next" Button for Default Install Path
sleep(5000)
EndIf
If $OPTION= "Y" Then
DirCreate(@ProgramFilesDir & $InstallPath1 & $InstallPath)
sleep(1000)
ControlClick($MainSetup, "Setup will install", "Button5");Click "Browse" Button to choose other than Default Install Path
WinWait("", "Please select a folder");Wait until Choosing Window is shown
If Not WinActive("", "Please select a folder") Then WinActivate("", "Please select a folder")
WinWaitActive("", "Please select a folder")
Sleep(4000)
Send ("{TAB}{TAB}{RIGHT}")
Send ($InstallPath2)
Send ("{ENTER}")
WinWaitActive($MainSetup, "Setup will install");Return to the same window as line 43
ControlClick($MainSetup, "Setup will install", "Button2");Click "Next" Button to begin install
sleep(5000)
EndIf
;Done Installing

;Configuration Wizard
ControlSetText($InstallerTitle, "", "Static1", $message1 & $message2 & $message3 & $message4)
Do
sleep(500)
Until WinExists($ConfigWiz) = "1"
sleep(300)
$ConfigHandle = WinGetHandle($ConfigWiz)

WinActivate($ConfigHandle); Wait Until Configuration Wizard is shown
sleep(300)
ControlClick($ConfigHandle, "Sign me up for news", "Button4");Unticks sign in for Comodo news in licence window
ControlClick($ConfigHandle, "Sign me up for news", "Button2");Click Next
sleep(300)
ControlClick($ConfigHandle, "Automatic configuration", "Button2");Click "Next" Button for Automatic Configuration
sleep(300)

ControlSetText($InstallerTitle, "", "Static1", $message1 & $message2 & $message3 & $message4 & $message5 & $message6)
WinWaitActive($MainSetup, "Restart the computer");Wait until the Restart Screen is Shown
sleep(300)
ControlClick($MainSetup, "Restart the computer", "Button6");Unticks Restart the computer
sleep(300)
ControlClick($MainSetup, "Restart the computer", "Button2");Click Finish
ControlSetText($InstallerTitle, "", "Static1", $message1 & $message2 & $message3 & $message4 & $message5 & $message6 & $message7)
If $Icon = "Y" Then
FileDelete (@DesktopCommonDir & "\COMODO Firewall Pro.lnk")
EndIf
Sleep(8000);Sleep for 8 Seconds to let Winzip Self-Extract to delete and close

If you have a setup not in english then you have to replace lines 20 and 78 to 81 for whatever is in the configuration windows, which is language dependent:

$ConfigWiz = "Firewall Configuration Wizard"
ControlClick($ConfigHandle, "Sign me up for news", "Button4");Unticks sign in for Comodo news in licence window
ControlClick($ConfigHandle, "Sign me up for news", "Button2");Click Next
sleep(300)
ControlClick($ConfigHandle, "Automatic configuration", "Button2");Click "Next" Button for Automatic Configuration

I can add right now continental portuguese:

$ConfigWiz = "Ajudante da Configuração da Firewal"
ControlClick($ConfigHandle, "Inscrever-me para", "Button4");Unticks sign in for Comodo news in licence window
ControlClick($ConfigHandle, "Inscrever-me para", "Button2");Click Next
sleep(300)
ControlClick($ConfigHandle, "Configuração automatica", "Button2");Click "Next" Button for Automatic Configuration

English attached

ComodoFirewall_EN.au3

Link to comment
Share on other sites

  • 3 months later...

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