Jump to content

BitDefender 9 Professional Plus


Nucleus

Recommended Posts

After the installation of BitDefender 9 Professional Plus, 2 screens appear, instead of 4 in BitDefender 8 Professional Plus.

screen1.jpg

and

screen2.jpg

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


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

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 by Nucleus
Link to comment
Share on other sites

  • 4 weeks later...

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

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 OFF
taskkill /IM bdmcon.exe /F /T
taskkill /IM bdss.exe /F /T
taskkill /IM bdoesrv.exe /F /T
taskkill /IM bdnagent.exe /F /T

What 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. :thumbup

Link to comment
Share on other sites

  • 2 weeks later...

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

hmm thats a shame, its a really good program otherwise.  I hope they fix this.  :)

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

  • 5 weeks later...

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 post

The 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

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 by MHz
Link to comment
Share on other sites

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 1

MouseClick("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 Installer
If FileExists ( @ScriptDir & "\" & $SF_1 ) Then
Run ( @ScriptDir & "\" & $SF_1 )
Else
Exit
EndIf
Sleep("8000")

; Welcome Screen
$Title1 = "BitDefender 9 Professional Plus Einstellungen"
If WinWait($Title1, "Willkommen zum BitDefender Professional Assistent") Then
ControlClick($Title1, "Willkommen zum BitDefender Professional Assistent", "Button1")
EndIf

; Advice
$Title1 = "BitDefender 9 Professional Plus Einstellungen"
If WinWait($Title1, "Hinweis") Then
ControlClick($Title1, "Hinweis", "Button1")
EndIf

; End User Licence
$Title1 = "BitDefender 9 Professional Plus Lizenzvertrag"
If WinWait($Title1, "Endbenutzer Lizenzvertrag") Then
ControlClick($Title1, "Endbenutzer Lizenzvertrag", "Button2")
ControlClick($Title1, "Endbenutzer Lizenzvertrag", "Button5")
EndIf

; Install Mode
$Title1 = "BitDefender 9 Professional Plus Einstellungen"
If WinWait($Title1, "Einstellung auswählen") Then
ControlClick($Title1, "Einstellung auswählen", "Button3")
EndIf

; Prepare to install
$Title1 = "BitDefender 9 Professional Plus Einstellungen"
If WinWait($Title1, "Installation wird vorbereitet") Then
ControlClick($Title1, "Installation wird vorbereitet", "Button1")
EndIf

; Ready to install
$Title1 = "BitDefender 9 Professional Plus Einstellungen"
If WinWait($Title1, "Bereit zum Installieren") Then
ControlClick($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")
EndIf

Sleep("100000")

; Splash Screen 1
MouseClick("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" )


; Finish
If WinWait("BitDefender 9 Professional Plus Einstellungen", "Beendet den BitDefender 9 Professional Plus Assistent") Then
ControlClick("BitDefender 9 Professional Plus Einstellungen", "Beendet den BitDefender 9 Professional Plus Assistent", "Fertig&stellen")
EndIf

; Install Info - Do not reboot!
If WinWait("Installerinformationen", "") Then
ControlClick("Installerinformationen", "", "&Nein")
EndIf


EXIT

Link to comment
Share on other sites

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