mzar720 Posted August 14, 2005 Posted August 14, 2005 (edited) thanks SiMoNsAyS i will try it soon.Well there is a autoit script for this application...so why not just edit up the source code on that to do what you need.i am tring to avoid AutoIT as i can because i don`t have the ability to edit it correctly. Edited August 14, 2005 by mzar720
Nucleus Posted August 15, 2005 Author Posted August 15, 2005 (edited) Nologic, i have tried your BitDefender autoit script, but after the installation of BitDefender finishes, i get the error message on the following image.What i did, is i just took your script, edited it with my serial number, and changed the "Setup File Name" variable to BitDefender.msi. Then i converted it to exe using AutoIt v3.Also, this is what i used in my RunOnceExREG ADD %KEY%\065 /VE /D "BitDefender v8.0 Pro" /fREG ADD %KEY%\065 /V 1 /D "%CDROM%\Software\BitDefender\BitDefender.msi /qb REBOOT=Suppress SCAN=0 UPDATE=0 ICON=0" /fREG ADD %KEY%\065 /V 2 /D "%CDROM%\Software\BitDefender\Bitreg.exe" /fAlso, if possible, i would like to remove the "File Zone | Net Zone" that appears by deafult after the installation of BitDefender. Edited August 15, 2005 by Nucleus
Nucleus Posted August 15, 2005 Author Posted August 15, 2005 I have also tried this script, but the installation stuck at the following point, as you can see on the picture.; AutoIt Version: 3.0.102; Language: English; Platform: Win9x / NT / XP; Author: Dangerzone - Holland; Script Function: Register Bitdefender Pro 8Run ( @ProgramFilesDir & "\Softwin\BitDefender8\bdmcon.exe" )WinWaitActive ( "BitDefender 8 Professional Plus - Evaluation" )Send ( "{ENTER}")WinWaitActive ( "BitDefender Professional Plus - Registration" )Send ( "xxxxxxxxxxxxxxxx" )Send ( "{ENTER}" )WinWaitActive ( "Online Registration" )Send ( "{ALTDOWN}{F4}{ALTUP}" )WinWaitActive ( "Online Registration" )Send ( "{ENTER}" )EXIT
SiMoNsAyS Posted August 15, 2005 Posted August 15, 2005 @Nucleus, you didn't exported win.ini correctly b4 the setup
Nucleus Posted August 16, 2005 Author Posted August 16, 2005 I thought that the purpose of the autoit file was to enter the serial number automatically, so that i wouldn't have to export to win.ini
MHz Posted August 16, 2005 Posted August 16, 2005 I have also tried this script, but the installation stuck at the following point, as you can see on the picture.WinWaitActive ( "BitDefender Professional Plus - Registration" )Send ( "xxxxxxxxxxxxxxxx" )Send ( "{ENTER}" )<{POST_SNAPBACK}>I thought that the purpose of the autoit file was to enter the serial number automatically, so that i wouldn't have to export to win.ini<{POST_SNAPBACK}>Can see the problem. Your picture shows"BitDefender 8 Professional Plus - Registration"as the title, but the script has"BitDefender Professional Plus - Registration".You are missing the 8 ?
Nologic Posted August 17, 2005 Posted August 17, 2005 (edited) blah hadn't planned on supporting this script any more....but oh well.Note I don't own or have a copy of the software to test against...since this was written for my brother a while back.; Serial Number$SN_1 = "*****-*****-*****-*****"Run ( @ProgramFilesDir & "\Softwin\BitDefender8\bdmcon.exe" ); Splash Screen$Title = "BitDefender 8 Professional Plus - Evaluation"WinWaitActive ( $Title )ControlClick ( $Title , "" , "Button1" ); Registration$Title = "BitDefender 8 Professional Plus - Registration"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" ); Online #1$Title = "Online Registration"WinWaitActive ( $Title )ControlClick ( $Title , "" , "Button3" )ControlClick ( $Title , "" , "Button2" ); Online #2WinWaitActive ( $Title , "OK" )ControlClick ( $Title , "OK" , "Button1" )EXIT Edited August 17, 2005 by Nologic
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