Nucleus Posted August 27, 2005 Share Posted August 27, 2005 After the installation of BitDefender 9 Professional Plus, 2 screens appear, instead of 4 in BitDefender 8 Professional Plus.and I have tried modifying the old AutoIT script (that worked with BitDefender 8 Professional Plus), but that crashed and burned.I have also tried creating a new script, using SciTe ScriptWriter. No good either.Can anyone help me out here? Link to comment Share on other sites More sharing options...
Nologic Posted August 27, 2005 Share Posted August 27, 2005 Just use the AutoIT window Info tool to get the window names and control ID's...shouldn't be that bad of a deal to change the old script...most installers don't change that much....acutally surprised this one has. Link to comment Share on other sites More sharing options...
Nucleus Posted August 28, 2005 Author Share Posted August 28, 2005 (edited) I actually tried that too. I don't know if i was doing something wrong, but the info tool didn't give names for the buttons. (button1, button2) Thats why i couldn't edit the old script. When i hover over the button "Register" there is no Control ID: or Text:ClassNameNN: is Internet Explorer_Server1 Edited August 28, 2005 by Nucleus Link to comment Share on other sites More sharing options...
Nologic Posted August 29, 2005 Share Posted August 29, 2005 Then instead of using controlclick use mouseclick...ie send the mouse over to do the job...just make sure you set it based off the window...and not the desktop. Link to comment Share on other sites More sharing options...
Nucleus Posted August 29, 2005 Author Share Posted August 29, 2005 No idea how to do that If anyone feels like making an autoit script for this job, good. If not, no big deal Link to comment Share on other sites More sharing options...
Sodium Cyanide Posted September 25, 2005 Share Posted September 25, 2005 I tried it, but the "BitDefender 9 Professional Plus" (the bigger of the two pictured) window title is null so it is impossible to get control of it with AutoIT (if there is some other way, for God's sakes let me know). You would have to try and get the window focus using raw mouse inputs, and that would be just too much of a risk with other programs running in the foreground.Also, regshot did not detect any usable registry settings that got changed after registration, only the crypto one and a couple of un-editable files under the system32 folder (same place where SAM hash is). Files you can't edit while Windows is running. So it has to be done with window control of the running program...This is the only program I haven't been able to get working yet. Any help would be appreciated. Otherwise, I guess I'll have to use version 8. Link to comment Share on other sites More sharing options...
bonedaddy Posted September 25, 2005 Share Posted September 25, 2005 this is what I use, I'm sure you know how to get the msi........bdpro9.msi /qb REBOOT=Suppress SCAN=0 UPDATE=0 ICON=0BD B) Link to comment Share on other sites More sharing options...
Sodium Cyanide Posted September 25, 2005 Share Posted September 25, 2005 I guess I should have made it clearer... I'm trying to automate the registration process, which pops up right after install. I'm not having a problem actually installing Bitdefender silently. Right now I just have script that kills all the processes after install.bdkill.bat@ECHO OFFtaskkill /IM bdmcon.exe /F /Ttaskkill /IM bdss.exe /F /Ttaskkill /IM bdoesrv.exe /F /Ttaskkill /IM bdnagent.exe /F /TWhat I need is something that will register automatically, if I truly want to make the setup unattended.Thanks for the switches though, I didn't know you could disable the automatic virus scan from the parameters. Link to comment Share on other sites More sharing options...
Sodium Cyanide Posted October 4, 2005 Share Posted October 4, 2005 Looks like we are SOL for a silent registration of BitDefender 9 Professional! (read entire post)I have been corresponding with the BitDefender Support Team for the past week or so trying to get a solution for this. According to tech support, the method for silent registration is to pass your registration key using the following parameter:WIN_KEY="XXXXXXXXXXXXXXXXXXXX"Following their logic, my final target parameters looked like this:bdprof.msi /qb- REBOOT=ReallySuppress SCAN=0 UPDATE=0 ICON=1 WIN_KEY="XXXXXXXXXXXXXXXXXXXX" USERNAME="Test"Which would disable reboot, disable the automatic scan, disable auto-update, add an icon to desktop, and auto-register with the username "Test". You can also pass a COMPANYNAME parameter if you wish to register with a certain company name.HOWEVER, it seems that after some testing we discovered that none of this will work with BitDefender 9 Professional! The WIN_KEY parameter is only available to the BitDefender Client that is packaged with the Enterprise Manager 2.5 suite. There is no comparative way to do this with BD 9 Pro (and yes I've tried PIDKEY, it doesn't work either). According to support, they are considering implementing WIN_KEY in the future but at the moment there is NO solution for this problem if you are using BD 9 Pro. Just thought I would share this with everyone. Link to comment Share on other sites More sharing options...
DigeratiPrime Posted October 4, 2005 Share Posted October 4, 2005 (edited) hmm thats a shame, its a really good program otherwise. I hope they fix this. Edited October 4, 2005 by DigeratiPrime Link to comment Share on other sites More sharing options...
Sodium Cyanide Posted October 5, 2005 Share Posted October 5, 2005 hmm thats a shame, its a really good program otherwise. I hope they fix this. <{POST_SNAPBACK}>Indeed. The Tech Support guy mentioned that they are considering enabling this parameter for future standalone kits of BitDefender. You can take a crack at editing the .msi file with Orca if you are pretty good, you might get it to work. I tried it myself and I did get the registration to change, however it told me that I had an invalid key rather than just not registering like it was before. From my experiments it seems that if you have a correct key that it ignores you, but if you have an incorrect key it will complain. So something is disabled somewhere.Anyway if you hack a working .msi together, please let me know. I would be interested. Link to comment Share on other sites More sharing options...
cachirro Posted November 4, 2005 Share Posted November 4, 2005 does anyone knows how to tell the installer not to install the firewall and spamcontrol?thanks. Link to comment Share on other sites More sharing options...
Nucleus Posted November 9, 2005 Author Share Posted November 9, 2005 I am a big fan of BitDefender, but all I have is problems regarding it's registration. Like mentioned in this post before, it is not possible to register BitDefender without using an AutoIT script.The following script will register BitDefender 9 Pro Plus. It has been tested, and it's working. Big thanks to Larry at www.autoitscript.com This is the original postThe problem is, when bitdefender installation finishes and the script tries to run, so that it can complete the registration, bitdefender detects it as a virus, and does not let it run.I don't know who's fault is that, bitdefender's or autoit's, but i am suspecting bitdefender, because other antivirus software, do not detect the script as a virus.Anyone knows a way to work around this problem?bitdefender.au3 Link to comment Share on other sites More sharing options...
MHz Posted November 9, 2005 Share Posted November 9, 2005 (edited) You were blessed to get Larry's help. Larry (AutoIt Dev) always trys to help as he is nice person. His code is can get so complex that it makes my head hurt trying to understand it.AV programs constantly pick on AutoIt compiled scripts. The compiled scripts have a common bin file (interpreter) that is present in all compiled scripts. The AV companies make a mistake by targeting the bin code rather then the uncommon script code. Do a search of the AutoIt forums and you will find posts showing this.One idea I have is to use Adlib to monitor for the presence of the definition file that BitDefender installs, delete it and perhaps copy over a later version. Hopefully this could be done before BitDefender runs.Or you could get onto BitDefender and tell them to update their installer with an AutoIt friendly installer? Edited November 9, 2005 by MHz Link to comment Share on other sites More sharing options...
microbion Posted November 10, 2005 Share Posted November 10, 2005 here is my version of the autoit install routine. its german and its a modification of the code provided here a few month ago for version 8... but i hope you'll handle that. it works fine!check the code and have a look at the line; Splash Screen 1MouseClick("left", 750, 572, 1)consider also that you have to "sleep" the installation before the splash screen thing like that:Sleep("100000"); Serial Number$SN_1 = "12345-12345-12345-12345"$SF_1 = "bitdefender_setup.exe"; Execute InstallerIf FileExists ( @ScriptDir & "\" & $SF_1 ) Then Run ( @ScriptDir & "\" & $SF_1 )Else ExitEndIfSleep("8000"); Welcome Screen$Title1 = "BitDefender 9 Professional Plus Einstellungen"If WinWait($Title1, "Willkommen zum BitDefender Professional Assistent") ThenControlClick($Title1, "Willkommen zum BitDefender Professional Assistent", "Button1")EndIf; Advice$Title1 = "BitDefender 9 Professional Plus Einstellungen"If WinWait($Title1, "Hinweis") ThenControlClick($Title1, "Hinweis", "Button1")EndIf; End User Licence$Title1 = "BitDefender 9 Professional Plus Lizenzvertrag"If WinWait($Title1, "Endbenutzer Lizenzvertrag") ThenControlClick($Title1, "Endbenutzer Lizenzvertrag", "Button2")ControlClick($Title1, "Endbenutzer Lizenzvertrag", "Button5")EndIf; Install Mode$Title1 = "BitDefender 9 Professional Plus Einstellungen"If WinWait($Title1, "Einstellung auswählen") ThenControlClick($Title1, "Einstellung auswählen", "Button3")EndIf; Prepare to install$Title1 = "BitDefender 9 Professional Plus Einstellungen"If WinWait($Title1, "Installation wird vorbereitet") ThenControlClick($Title1, "Installation wird vorbereitet", "Button1")EndIf; Ready to install$Title1 = "BitDefender 9 Professional Plus Einstellungen"If WinWait($Title1, "Bereit zum Installieren") ThenControlClick($Title1, "Bereit zum Installieren", "Button6")ControlClick($Title1, "Bereit zum Installieren", "Button7")ControlClick($Title1, "Bereit zum Installieren", "Button4")ControlClick($Title1, "Bereit zum Installieren", "Button5")ControlClick($Title1, "Bereit zum Installieren", "Button1")EndIfSleep("100000"); Splash Screen 1MouseClick("left", 750, 572, 1); Registration$Title = "BitDefender 9 Professional Plus - Registrierung"WinWaitActive ( $Title )$SN = StringSplit( $SN_1 , "-" )ControlSetText ( $Title , "" , "Edit1" , $SN[1] )ControlSetText ( $Title , "" , "Edit2" , $SN[2] )ControlSetText ( $Title , "" , "Edit3" , $SN[3] )ControlSetText ( $Title , "" , "Edit4" , $SN[4] )ControlClick ( $Title , "" , "Button1" ); FinishIf WinWait("BitDefender 9 Professional Plus Einstellungen", "Beendet den BitDefender 9 Professional Plus Assistent") ThenControlClick("BitDefender 9 Professional Plus Einstellungen", "Beendet den BitDefender 9 Professional Plus Assistent", "Fertig&stellen")EndIf; Install Info - Do not reboot!If WinWait("Installerinformationen", "") ThenControlClick("Installerinformationen", "", "&Nein")EndIfEXIT 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