Announcement

Collapse
No announcement yet.

daemon tools lite silent and...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • kukubau
    replied
    DT Lite 4.30.2 Autoit script

    Code:
    $DTTITLE = "DAEMON Tools Lite 4.30.2"
    $INSTALLDIR = @ProgramFilesDir & "\DAEMON Tools Lite"
    $EXENAME = "daemon4302-lite.exe"
    
    Run("daemon4302-lite.exe")
    WinWait("DAEMON Tools Lite 4.30.2","Please select a language.")
    Send("{ENTER}")
    WinWait("DAEMON Tools Lite 4.30.2","Welcome to the DAEMON Tools Lite 4.30.2 Setup Wizard")
    Send("{ENTER}")
    WinWait("DAEMON Tools Lite 4.30.2","Please review the license")
    Send("{ENTER}")
    WinWait("DAEMON Tools Lite 4.30.2","Choose Components")
    Send("{TAB}{TAB}{TAB}{DOWN}{SPACE}{DOWN}{SPACE}{DOWN}{SPACE}{DOWN}{SPACE}{DOWN}{SPACE}{ENTER}")
    WinWait("DAEMON Tools Lite 4.30.2", "Support the DAEMON Tools Team")
    Send("{SPACE}{ENTER}")
    WinWait("DAEMON Tools Lite 4.30.2","Choose Install Location")
    Send("{ENTER}")
    WinWait("DAEMON Tools Lite 4.30.2","Completing the DAEMON")
    Send("{SPACE}{ENTER}")
    sleep(2000)
    ; Close browsers processes
    $PID = ProcessExists("firefox.exe")
    If $PID Then
    ProcessClose($PID)
    EndIf
    $PID = ProcessExists("IEXPLORE.EXE")
    If $PID Then
    ProcessClose($PID)
    EndIf
    $PID = ProcessExists("opera.exe")
    If $PID Then
    ProcessClose($PID)
    EndIf
    Run("C:\Program Files\DAEMON Tools Lite\daemon.exe")
    
    ;Write uninstall information to registry
    RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "DisplayName", "REG_SZ", $DTTITLE)
    RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "DisplayIcon", "REG_SZ",$INSTALLDIR & "\daemon.exe")
    RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "InstallLocation", "REG_SZ", $INSTALLDIR)
    RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "UninstallString", "REG_SZ", $INSTALLDIR & "\uninst.exe")
    RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "NoModify", "REG_DWORD", 1)
    exit

    Leave a comment:


  • narillo
    replied
    ok i see... thanks man for your help... it's nice when people answer the question... even if they are simple... thanks again...

    Leave a comment:


  • Blazkowicz
    replied
    It is not a proper way - it kills toolbar setup. It even writes itself into uninstall, so you can uninstall it the normal way.
    There are copy protections out which blacklists that entry.
    Also it is using ArniWorX which is oudated.

    Leave a comment:


  • narillo
    replied
    well this is the script that i found out..


    Code:
    #RequireAdmin
    #NoTrayIcon
    
    $DTTITLE = "Daemon Tools Lite 4.30.1"
    $INSTALLDIR = @ProgramFilesDir & "\Daemon Tools Lite"
    $EXENAME = "daemon4301-lite.exe"
    
    ;Save Internet Explorer homepage (prevent Internet Explorer to launch)
    $HomePage = RegRead("HKCU\Software\Microsoft\Internet Explorer\Main", "Start Page")
    
    ;Clear default internet browser temporary
    $DefBrowser = RegRead("HKCR\HTTP\shell\open\command\", "")
    RegDelete("HKCR\HTTP\shell\open\command\", "")
    
    ;Save mds fileassociation
    $mds_assoc = RegRead("HKCR\.mds", "")
    
    ;Launch Daemon Tools setup
    $Pid = Run(@ScriptDir & "\" & $EXENAME & " /S")
    
    ;Kill Daemon Tools toolbar installation process
    If ProcessWait("Daemon Tools Toolbar.exe", 300) Then
        ProcessClose("Daemon Tools Toolbar.exe")
        ProcessWaitClose("Daemon Tools Toolbar.exe")
        FileDelete($INSTALLDIR & "\DAEMON Tools Toolbar.exe")
    EndIf
    
    ProcessWaitClose($Pid)
    
    ;Restore the default internet browser
    RegWrite("HKCR\HTTP\shell\open\command\", "", "REG_SZ", $DefBrowser)
    
    ;Restore the home page of Internet Explorer
    RegWrite("HKCU\SOFTWARE\Microsoft\Internet Explorer\Main", "", "REG_SZ", $HomePage)
    
    ;Don't associate with any files
    RegDelete("HKLM\SOFTWARE\DT Soft\DAEMON Tools Lite\FileTypesSave")
    
    ;Restore mds association
    RegWrite("HKCR\.mds", "", "REG_SZ", $mds_assoc)
    RegDelete("HKCR\.mds", "fastmountoldfile")
    
    ;Cleanup shortcuts
    DirRemove(@ProgramsCommonDir & "\DAEMON Tools Lite", 1)
    FileDelete(@DesktopCommonDir & "\DAEMON Tools Lite.lnk")
    
    FileCreateShortcut ($INSTALLDIR & "\daemon.exe", @ProgramsCommonDir & "\Daemon Tools Lite.lnk")
    
    ;Write uninstall information to registry
    RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "DisplayName", "REG_SZ", $DTTITLE)
    RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "DisplayIcon", "REG_SZ",$INSTALLDIR & "\daemon.exe")
    RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "InstallLocation", "REG_SZ", $INSTALLDIR)
    RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "UninstallString", "REG_SZ", $INSTALLDIR & "\uninst.exe")
    RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "NoModify", "REG_DWORD", 1)
    
    ;Register ArniWorX shell extension after logon
    RegWrite("HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce", "Configure Daemon Tools", "REG_SZ", "autoit3.exe """ & @AppDataCommonDir & "\DAEMON Tools\user_dtools.au3""")
    
    ;Remove Daemon Tools autorun
    RegDelete("HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run","DAEMON Tools Lite")

    Leave a comment:


  • Blazkowicz
    replied
    Originally Posted by narillo View Post
    I heard that with autoit you'll be able to do that... is that right?
    thanks...
    Not that i'm aware of.

    Leave a comment:


  • narillo
    replied
    yep that's why i'm asking here... this is too bad... there always has to be options in cool software like daemon...


    I heard that with autoit you'll be able to do that... is that right?
    thanks...

    Leave a comment:


  • Blazkowicz
    replied
    There aren't command line switches for these options.

    Leave a comment:


  • narillo
    started a topic daemon tools lite silent and...

    daemon tools lite silent and...

    hi guys... i've a problem... please don't ban me for this...

    Iwant to install daemon tools lite in a silent way and without the toolbar and the search option... how should i do that..?
    thanks for your time... any help will be so much appreciated(i'm going crazy to do that).
Working...
X