Jump to content

microbion

Member
  • Posts

    30
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

Posts posted by microbion

  1. to make it more flexible for further DT versions change the window title to a variable and replace the titles below (in line 66, 113, 124 and 125) with that variable.

    ; Script Start - Add your code below here

    Opt("TrayIconDebug", 1)
    Opt("SendKeyDelay", 200)
    ; Executable file name
    $EXECUTABLE = "daemon4123-lite.exe"
    [color="#FF0000"][b]$WINDOWTITLEVERSION = "DAEMON Tools Lite 4.12.3"[/b][/color]

    ; Run Daemon Tools on Windows startup
    $autostart = 0
    ; Detect the Operating System type (32 bit or 64 bit)
    $OS = _OSBit()

    PS: salutari din germania :D

  2. if it doesnt work PM me plz or fix it yourself and post the new one. or send me a link to the english installer so i can download and test it by myself. thnx!

    i cant test it cause i'm using the german version. hope it works.

    ;##################################################################################################
    ;
    ; Author: microbion
    ; Software: BitDefender Antivirus Plus 10
    ; Created: 23.10.2006
    ;
    ;##################################################################################################


    ;##################################################################################################
    ; Define the name of the installer, the serial number & which modules to install!
    ;##################################################################################################

    ; name of the installer
    $SF_1 = "bitdefender_setup.exe"

    ; Enter serial number without (-) hyphen
    $SN_1 = "AAAABBBBCCCCDDDDEEEE"

    ;#################################################################################################
    ; NOW ACTIVATE / DEACTIVATE YOUR MODULES
    ; Activate / deactivate with --> Y <-- and --> N <-- WHAT TO INSTALL OR NOT!
    ;##################################################################################################

    $Firewall = "Y" ; (Y)es or (N)o - Install the Firewall module
    $Antispam = "Y" ; (Y)es or (N)o - Install the Antispam module
    $Antispyware = "Y" ; (Y)es or (N)o - Install the Antispyware module







    ;##################################################################################################
    ; DO NOT CHANGE ANYTHING!
    ;##################################################################################################


    ; Title: Settings
    $Title1 = "BitDefender Antivirus Plus v10 Setup"

    ; Title: License
    $Title2 = "BitDefender Antivirus Plus v10 License Agreement"

    ; Title: Splash Screen // Einrichtungsassistent
    $Title3 = "BitDefender Antivirus Plus v10"



    ; Execute: Installer
    If FileExists ( @ScriptDir & "\" & $SF_1 ) Then
    Run ( @ScriptDir & "\" & $SF_1 )
    Else
    Exit
    EndIf
    Sleep("8000")



    ; Window: "Welcome"
    If WinWait($Title1, "Welcome to the BitDefender Antivirus Plus v10 Setup Wizard") Then
    ControlClick($Title1, "Welcome to the BitDefender Antivirus Plus v10 Setup Wizard", "Button1")
    EndIf



    ; Window: "Recommendation"
    If WinWait($Title1, "Recommendation:") Then
    ControlClick($Title1, "Recommendation:", "Button1")
    EndIf



    ; Window: "Recommendation: Uninstall Antivirus Software"
    If WinWait($Title1, "Recommendation:") Then
    ControlClick($Title1, "Recommendation:", "Button1")
    EndIf



    ; Window: "License Agreement"
    If WinWait($Title2, "End-User License Agreement") Then
    ControlClick($Title2, "End-User License Agreement", "Button2")
    ControlClick($Title2, "End-User License Agreement", "Button5")
    EndIf



    ; Window: "Choose Setup Type"
    If WinWait($Title1, "Choose Setup Type") Then
    ControlClick($Title1, "Choose Setup Type", "Button2")
    EndIf



    ; Window: "Custom Setup"
    If WinWait($Title1, "Custom Setup") Then

    If $Firewall = "N" Then
    Firewall()
    EndIf

    If $Antispam = "N" Then
    Antispam()
    EndIf

    If $Antispyware = "N" Then
    Antispyware()
    EndIf

    ControlClick($Title1, "Custom Setup", "Button5")
    EndIf



    ; Window: "Ready to Install"
    If WinWait($Title1, "Ready to Install") Then
    ControlClick($Title1, "Ready to Install", "Button4")
    ControlClick($Title1, "Ready to Install", "Button5")
    ControlClick($Title1, "Ready to Install", "Button1")
    Sleep("5000")
    EndIf



    ; ------ Begin: Splash Screen ------
    ; Window: "BitDefender Initial Setup Wizard"
    If WinWait($Title3, "BitDefender Initial Setup Wizard" ) Then
    Send("{ENTER}")
    EndIf

    ; Enter text: serial number
    If WinWait($Title3, "Registration" ) Then
    Send("{SPACE}")
    ControlSetText( $Title3 , "" , "Edit1" , $SN_1 )
    Send("{ENTER}")
    Sleep("8000")
    Send("{ENTER}")
    EndIf

    ; Close: BitDefender Initial Setup Wizard
    ProcessClose("bdwizreg.exe")
    ; ------ End: Splash Screen ------



    ; Window: "Completing the BitDefender Antivirus Plus v10 Setup Wizard"
    If WinWait($Title1, "Completing the BitDefender Antivirus Plus v10 Setup Wizard ") Then
    ControlClick($Title1, "Completing the BitDefender Antivirus Plus v10 Setup Wizard ", "Button1")
    EndIf



    ; Window: "Installer Information" (do not reboot)
    If WinWait("Installer Information", "") Then
    ControlClick("Installer Information", "", "&Nein")
    EndIf



    ; ------ Funktions for module installation ------
    ; Funktion: deactivate "Firewall"
    Func Firewall()
    Send("{HOME}{DOWN 2}{SPACE}{DOWN 3}{ENTER}")
    EndFunc

    ; Funktion: deactivate "Antispam"
    Func Antispam()
    Send("{HOME}{DOWN 3}{SPACE}{DOWN 3}{ENTER}")
    EndFunc

    ; Funktion: deactivate "Antispyware"
    Func Antispyware()
    Send("{HOME}{DOWN 4}{SPACE}{DOWN 3}{ENTER}")
    EndFunc

    EXIT

  3. do you know how to disable the yahoo toolbar, the desktop shortcut and the update frequency function during the installation?

    it looks like the following switches doesnt work anymore:

    APPLAUNCH_REGISTRATION=0 PSP_INSTALLRCM=0 PSP_CREATEQUICKLAUNCH=0 PSP_MYPSPFILESGLOBAL=0 PSP_UPDATEFREQ=3 PSP_FILEASSOC_BMP=0 PSP_FILEASSOC_JPG=0 PSP_FILEASSOC_GIF=0 PSP_FILEASSOC_PNG=0 PSP_FILEASSOC_TIFF=0 PSP_YAHOO=0

  4. ermm well there are a few lines i dont need. i want to integrate the ussf in my windows to check for switches. (right click on exe files and select "Check for Switch"). the GUI lines for WPI are unneeded for that purpose.

    the WPI version is for WPI installation and now i'm looking for a "standard" version of your great tool. you know what i mean?

    ps: daca vrei poti sa scri si in limba noastra. nu pot prea bine ca am uitat mult sa scriu. am avut numai 4 ani de scoala in rominia. :)

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

  6. mmh there are now 4 or 5 ppl with always the same error message. line 138 main.js // "Object doesn't support this property or method".

    any idea what kind of error this one is?

    ..............

    related with <<Play Audio In WPI>> = NOOOOOO

    no matter your <<Language>> is .

    and yes it is the Play Audio in WPI. But I dont want Audio during the installation process. :wacko:

  7. any idea what kind of error this one is?

    mainerror.jpg

    (german)

    just clicked on the button "Install" (tested with notebook and 2 other systems).

    oh an for all german install versions:

    to detect the cdrom drive you have to set the pathes in "" in the WPI.cmd. otherwise it wont detect the correct path. there are space character in "Dokumente und Einstellungen\UserName" also referred to as %HOMEPATH%. You get it?

×
×
  • Create New...