IPB

Google Frontpage Forums Unattended CD/DVD Guide

> 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

> BitDefender 9 Professional Plus, Registering - AutoIT
Nucleus
post Aug 27 2005, 02:33 PM
Post #1


Member
**

Group: Members
Posts: 258
Joined: 15-February 05
Member No.: 44055
Country Flag


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?
Go to the top of the page
 
+Quote Post
2 Pages V   1 2 >  
Start new topic
Replies (1 - 19)
Nologic
post Aug 27 2005, 03:33 PM
Post #2


Advanced Member
***

Group: Members
Posts: 454
Joined: 7-October 03
Member No.: 7815



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.
Go to the top of the page
 
+Quote Post
Nucleus
post Aug 27 2005, 07:24 PM
Post #3


Member
**

Group: Members
Posts: 258
Joined: 15-February 05
Member No.: 44055
Country Flag


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

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: Aug 27 2005, 07:27 PM
Go to the top of the page
 
+Quote Post
Nologic
post Aug 28 2005, 11:15 PM
Post #4


Advanced Member
***

Group: Members
Posts: 454
Joined: 7-October 03
Member No.: 7815



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.
Go to the top of the page
 
+Quote Post
Nucleus
post Aug 29 2005, 10:00 AM
Post #5


Member
**

Group: Members
Posts: 258
Joined: 15-February 05
Member No.: 44055
Country Flag


No idea how to do that smile.gif
If anyone feels like making an autoit script for this job, good. If not, no big deal newwink.gif
Go to the top of the page
 
+Quote Post
Sodium Cyanide
post Sep 25 2005, 11:47 AM
Post #6


Now I Am Become Death, Destroyer of Worlds


Group: Members
Posts: 23
Joined: 23-September 05
Member No.: 74230
Country Flag


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. sad.gif
Go to the top of the page
 
+Quote Post
bonedaddy
post Sep 25 2005, 11:57 AM
Post #7


Bonafide Member
***

Group: Members
Posts: 454
Joined: 20-October 03
From: Orlando,Fla USA
Member No.: 8333
Country Flag


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 cool.gif
Go to the top of the page
 
+Quote Post
Sodium Cyanide
post Sep 25 2005, 12:37 PM
Post #8


Now I Am Become Death, Destroyer of Worlds


Group: Members
Posts: 23
Joined: 23-September 05
Member No.: 74230
Country Flag


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
CODE
@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.gif
Go to the top of the page
 
+Quote Post
Sodium Cyanide
post Oct 4 2005, 05:26 PM
Post #9


Now I Am Become Death, Destroyer of Worlds


Group: Members
Posts: 23
Joined: 23-September 05
Member No.: 74230
Country Flag


Looks like we are SOL for a silent registration of BitDefender 9 Professional! sad.gif (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:

CODE
WIN_KEY="XXXXXXXXXXXXXXXXXXXX"

Following their logic, my final target parameters looked like this:

CODE
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.
Go to the top of the page
 
+Quote Post
DigeratiPrime
post Oct 4 2005, 05:31 PM
Post #10


MSFN Junkie
Group Icon

Group: Super Moderator
Posts: 3300
Joined: 18-August 04
From: terra incognita
Member No.: 28113
OS: Windows 7 x64
Country Flag


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

This post has been edited by DigeratiPrime: Oct 4 2005, 05:32 PM
Go to the top of the page
 
+Quote Post
Sodium Cyanide
post Oct 4 2005, 06:02 PM
Post #11


Now I Am Become Death, Destroyer of Worlds


Group: Members
Posts: 23
Joined: 23-September 05
Member No.: 74230
Country Flag


QUOTE (DigeratiPrime @ Oct 4 2005, 06:31 PM)
hmm thats a shame, its a really good program otherwise.  I hope they fix this.  smile.gif
*


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. smile.gif
Go to the top of the page
 
+Quote Post
cachirro
post Nov 4 2005, 01:14 PM
Post #12


Newbie


Group: Members
Posts: 40
Joined: 11-August 04
Member No.: 27140



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

thanks.
Go to the top of the page
 
+Quote Post
Nucleus
post Nov 9 2005, 07:03 AM
Post #13


Member
**

Group: Members
Posts: 258
Joined: 15-February 05
Member No.: 44055
Country Flag


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)
Attached File  bitdefender.au3 ( 2.18K ) Number of downloads: 56
 
Go to the top of the page
 
+Quote Post
MHz
post Nov 9 2005, 07:40 AM
Post #14


SendToA3X v1.7
*******

Group: Members
Posts: 1604
Joined: 2-August 04
Member No.: 26076
OS: XP Pro x86
Country Flag


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: Nov 9 2005, 07:41 AM
Go to the top of the page
 
+Quote Post
microbion
post Nov 10 2005, 05:29 AM
Post #15


Newbie


Group: Members
Posts: 23
Joined: 17-January 05
From: Lahr, Germany
Member No.: 41061
OS: none
Country Flag


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")




CODE
; 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
Go to the top of the page
 
+Quote Post
Nucleus
post Nov 10 2005, 08:46 AM
Post #16


Member
**

Group: Members
Posts: 258
Joined: 15-February 05
Member No.: 44055
Country Flag


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?
Go to the top of the page
 
+Quote Post
microbion
post Nov 10 2005, 09:49 AM
Post #17


Newbie


Group: Members
Posts: 23
Joined: 17-January 05
From: Lahr, Germany
Member No.: 41061
OS: none
Country Flag


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 biggrin.gif . after installing BD9 just update the virus signatures and it'll work properly.

do you need a translation into english welcome.gif ?
Go to the top of the page
 
+Quote Post
Nucleus
post Nov 10 2005, 11:06 AM
Post #18


Member
**

Group: Members
Posts: 258
Joined: 15-February 05
Member No.: 44055
Country Flag


Nope. This does the job for me just fine smile.gif

RunOnceEx.cmd

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

QUOTE (microbion)
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: Nov 10 2005, 11:10 AM
Go to the top of the page
 
+Quote Post
Nucleus
post Dec 11 2005, 04:52 PM
Post #19


Member
**

Group: Members
Posts: 258
Joined: 15-February 05
Member No.: 44055
Country Flag


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.computerhope.com/jargon/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

CODE
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

CODE
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 newwink.gif)

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

This post has been edited by Nucleus: Dec 27 2005, 04:58 PM
Go to the top of the page
 
+Quote Post
Stalkie
post Dec 27 2005, 02:56 PM
Post #20


Junior
*

Group: Members
Posts: 53
Joined: 19-November 03
Member No.: 9688



Would it then be possible to copy win.ini before installation?
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 24th November 2009 - 04:02 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy