ricktendo Posted November 25, 2007 Share Posted November 25, 2007 (edited) Hello I am working on a COMODO Firewall Pro AddOn and I need somebody who knows autoit to help me with this configuration wizard that it needs to fully install the programHere is the idea:- Download the latest COMODO v3 firewall http://personalfirewall.comodo.com/- Now silently install using the -s switch"CFP_Setup_3.0.12.266_XP_Vista_x32.exe" -s- Now the above only partially installs the program, this second command needs to get executed"%ProgramFiles%\COMODO\Firewall\cfpconfg.exe" -i- And these are the choices I would like to enter into the wizard that will pop up after you run the above commandHopefully I explained it good enough TIA Edited November 25, 2007 by ricktendo64 Link to comment Share on other sites More sharing options...
ricktendo Posted November 25, 2007 Author Share Posted November 25, 2007 (edited) Here is my attempt, I moded another au3 file to try and get it to work but It only gets pass the first box; AutoIt options.AutoItSetOption("TrayIconHide", 0)AutoItSetOption("WinTitleMatchMode", 4); Verify only one instance of installer is running.$installername = "Auto COMODO Firewall Config"If WinExists($installername) ThenSplashTextOn("Error", @CRLF & @CRLF & "An instance of this script is already running.", 350, 90, -1, -1, -1, "Arial", 11, 11)WinActivate("Error")Sleep(500)SplashOff()ExitEndIfAutoItWinSetTitle($installername); Installation variables.$installerpath = @ScriptDir & "\cfpconfg.exe"$installer = @ScriptDir & "\cfpconfg.exe -i"; Verify installation file path.If Not FileExists($installerpath) ThenSplashTextOn("Error", @CRLF & " File not found:" & @CRLF & " " & $installerpath, 500, 90, -1, -1, 4, "Arial", 11, 11)WinActivate("Error")Sleep(500)SplashOff()ExitEndIf; Start installation.Run($installer); Wizard dialog.WinWait("Comodo Firewall Pro Configuration Wizard", "Welcome to the COMODO Firewall Configuration Wizard.")ControlClick("Comodo Firewall Pro Configuration Wizard", "Welcome to the COMODO Firewall Configuration Wizard.", "Button2"); Firewall setup.WinWait("Comodo Firewall Pro Configuration Wizard", "COMODO Firewall Pro has many powerful features wich affect the")ControlClick("Comodo Firewall Pro Configuration Wizard", "COMODO Firewall Pro has many powerful features wich affect the", "Button2")Exit Edited November 25, 2007 by ricktendo64 Link to comment Share on other sites More sharing options...
johndoe74 Posted November 25, 2007 Share Posted November 25, 2007 try mine. it only pauses at the last (reboot) screen - seems to be a comodo installer quirk. when you click anywhere on the installer window, the scripts resumes Link to comment Share on other sites More sharing options...
ricktendo Posted November 25, 2007 Author Share Posted November 25, 2007 (edited) Thanks johndoe74 this will help me allot The way I install it the restart window does not pop up Because I use a mix between INF and AU3 Edited November 25, 2007 by ricktendo64 Link to comment Share on other sites More sharing options...
johndoe74 Posted November 26, 2007 Share Posted November 26, 2007 (edited) if you don't mind, i wouldn't mind seeing how you do it cuz i spent d@mn near two futile hours trying to make that d@mn restart window go away Edited November 26, 2007 by johndoe74 Link to comment Share on other sites More sharing options...
ricktendo Posted November 26, 2007 Author Share Posted November 26, 2007 (edited) Well i use txtsetup to copy the system32 and driver files... Then my INF copies only the nessesary program files to its respective folder, it adds the uninstall and other registry settings then during t13 it launches cfpconfg.exe -i ("-i" stands for Install) which is launched and configured with the autoit file (thanks to you)You can probably do the same with your silent installer... just do as I said above, run the installer with the -s switch and no config window will launch.Then you force the config window by running cfpconfg.exe -i and you will not get the restart prompt (that is done by the installer)The drawback to this is no uninstall registry entries or program shortcuts are added (maybe you can use autoit to do so, I use INF)Here is my updated addon http://www.msfn.org/board/AddOn-COMODO-Fir...268-t99733.html Edited November 26, 2007 by ricktendo64 Link to comment Share on other sites More sharing options...
electroglyph Posted November 29, 2007 Share Posted November 29, 2007 (edited) i can't even get Comodo's silent install to work. it crashes every time, but if i do a regular install it works great Edited November 30, 2007 by electroglyph Link to comment Share on other sites More sharing options...
ricktendo Posted November 29, 2007 Author Share Posted November 29, 2007 -s will not install it as I said... It will only extract the files to their directories, to install it you run cfpconfg.exe -i and follow the wizard (thats what the au3 file is for) Link to comment Share on other sites More sharing options...
electroglyph Posted November 29, 2007 Share Posted November 29, 2007 (edited) oh cool, even though it crashes on me it does extract the files first. Edited November 30, 2007 by electroglyph Link to comment Share on other sites More sharing options...
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