MSFN Forum: BitDefender 9 Professional Plus - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

BitDefender 9 Professional Plus Registering - AutoIT Rate Topic: -----

#1 User is offline   Nucleus 

  • Member
  • PipPip
  • Group: Members
  • Posts: 267
  • Joined: 15-February 05

Posted 27 August 2005 - 02:33 PM

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

Posted Image

and

Posted Image

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?


#2 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 27 August 2005 - 03:33 PM

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.

#3 User is offline   Nucleus 

  • Member
  • PipPip
  • Group: Members
  • Posts: 267
  • Joined: 15-February 05

Posted 27 August 2005 - 07:24 PM

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

This post has been edited by Nucleus: 27 August 2005 - 07:27 PM


#4 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 28 August 2005 - 11:15 PM

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.

#5 User is offline   Nucleus 

  • Member
  • PipPip
  • Group: Members
  • Posts: 267
  • Joined: 15-February 05

Posted 29 August 2005 - 10:00 AM

No idea how to do that :)
If anyone feels like making an autoit script for this job, good. If not, no big deal ;)

#6 User is offline   Sodium Cyanide 

  • Now I Am Become Death, Destroyer of Worlds
  • Group: Members
  • Posts: 23
  • Joined: 23-September 05

Posted 25 September 2005 - 11:47 AM

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

#7 User is offline   bonedaddy 

  • Bonafide Member
  • PipPipPip
  • Group: Members
  • Posts: 454
  • Joined: 20-October 03

Posted 25 September 2005 - 11:57 AM

this is what I use, I'm sure you know how to get the msi........

Quote

bdpro9.msi /qb REBOOT=Suppress SCAN=0 UPDATE=0 ICON=0


BD B)

#8 User is offline   Sodium Cyanide 

  • Now I Am Become Death, Destroyer of Worlds
  • Group: Members
  • Posts: 23
  • Joined: 23-September 05

Posted 25 September 2005 - 12:37 PM

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

#9 User is offline   Sodium Cyanide 

  • Now I Am Become Death, Destroyer of Worlds
  • Group: Members
  • Posts: 23
  • Joined: 23-September 05

Posted 04 October 2005 - 05:26 PM

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.

#10 User is offline   DigeratiPrime 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,490
  • Joined: 18-August 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 October 2005 - 05:31 PM

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

This post has been edited by DigeratiPrime: 04 October 2005 - 05:32 PM


#11 User is offline   Sodium Cyanide 

  • Now I Am Become Death, Destroyer of Worlds
  • Group: Members
  • Posts: 23
  • Joined: 23-September 05

Posted 04 October 2005 - 06:02 PM

DigeratiPrime, on Oct 4 2005, 06:31 PM, said:

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

#12 User is offline   cachirro 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 11-August 04

Posted 04 November 2005 - 01:14 PM

does anyone knows how to tell the installer not to install the firewall and spamcontrol?

thanks.

#13 User is offline   Nucleus 

  • Member
  • PipPip
  • Group: Members
  • Posts: 267
  • Joined: 15-February 05

Posted 09 November 2005 - 07:03 AM

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?

Attached File(s)



#14 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 09 November 2005 - 07:40 AM

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?

This post has been edited by MHz: 09 November 2005 - 07:41 AM


#15 User is offline   microbion 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 17-January 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 November 2005 - 05:29 AM

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


#16 User is offline   Nucleus 

  • Member
  • PipPip
  • Group: Members
  • Posts: 267
  • Joined: 15-February 05

Posted 10 November 2005 - 08:46 AM

Are you sure that this script works with BitDefender Version 9? And what does this script has, that will stop it from being detected as a virus by BitDefender?

#17 User is offline   microbion 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 17-January 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 November 2005 - 09:49 AM

yes the script works. of course you have to translate the titles into english. but it works definitely!

the issue with the virus thing is wellknown and dinky :D . after installing BD9 just update the virus signatures and it'll work properly.

do you need a translation into english :hello: ?

#18 User is offline   Nucleus 

  • Member
  • PipPip
  • Group: Members
  • Posts: 267
  • Joined: 15-February 05

Posted 10 November 2005 - 11:06 AM

Nope. This does the job for me just fine :)

RunOnceEx.cmd

REG ADD %KEY%\020 /VE /D "BitDefender v9.0 Pro" /f
REG ADD %KEY%\020 /V 1 /D "%CDROM%\Software\BitDefender\BitDefender.msi /qb REBOOT=Suppress SCAN=0 UPDATE=0 ICON=0" /f
REG ADD %KEY%\020 /V 2 /D "%CDROM%\Software\BitDefender\AutoIt3.exe \"%CDROM%\Software\BitDefender\BitDefender.au3\"" /f


BitDefender.au3 is the one i posted before.

microbion said:

after installing BD9 just update the virus signatures and it'll work properly


The autoit script is detected as a virus while trying to complete bitdefender registration. At least thats what happened with my unattended installation. But, i followed MHz advice, and i didnt compile the script. I just executed it as shown above in my RunOnceEx.cmd

This post has been edited by Nucleus: 10 November 2005 - 11:10 AM


#19 User is offline   Nucleus 

  • Member
  • PipPip
  • Group: Members
  • Posts: 267
  • Joined: 15-February 05

Posted 11 December 2005 - 04:52 PM

There is no detailed explanation on how to register BitDefender 9 Professional Plus using the win.ini method, so here it goes.

First of all let’s make it clear, that win.ini is totally useless in WinNT, Win2K and WinXP, so the first move is to DELETE it. (%WINDIR%\win.ini) BitDefender will create it again.

Taken from http://www.computerh...on/w/winini.htm

Win.ini
The Microsoft Windows 3.x, 95, and 98 initialization file located in windows directory. The win.ini file is used to load various settings each time Windows boots, for example, the communications drivers, wallpaper, screen saver, languages, fonts, etc... are loaded each time the win.ini is initialized. If this file becomes corrupt or bad Windows will either not load, or have several errors as it loads. Users who are running Windows NT 4.0, 2000, XP, or later operating systems no longer have a win.ini. Instead of storing these settings in this file they are stored in the system registry.

Step 1:

Install BitDefender and register it. A new win.ini will be created. Put it on your unattended cd.

Step 2:

RunOnceEx.cmd

REG ADD %KEY%\023 /VE /D "BitDefender v9.0 Pro" /f
REG ADD %KEY%\023 /V 1 /D "%CDROM%\Software\BitDefender\BitDefender.msi /qb REBOOT=Suppress SCAN=0 UPDATE=0 ICON=0" /f
REG ADD %KEY%\023 /V 2 /D "%CDROM%\Software\BitDefender\RegInfo.cmd" /f


Reginfo.cmd

cmdow @ /HID
@echo off

TASKKILL /F /IM bdmcon.exe

COPY /Y "%~dp0win.ini" "%WINDIR%"

PING 1.1.1.1 -n 1 -w 1000 >NUL

Start "" "%PROGRAMFILES%\Softwin\BitDefender9\bdmcon.exe"

EXIT


You should place win.ini in the same folder as Reginfo.cmd, so that it can be copied over to %WINDIR%. The %~dp0 in front of win.ini is for detecting the full path of the source file. (Thanks to MHz for that little bit of information ;))

Well, that's it. BitDefender is started, and it's registered. This method solved all my problems with autoit scripts, and removed the last autoit script from my unattended DVD :)

This post has been edited by Nucleus: 27 December 2005 - 04:58 PM


#20 User is offline   Stalkie 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 19-November 03

Posted 27 December 2005 - 02:56 PM

Would it then be possible to copy win.ini before installation?

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy