Jump to content

[Release] DAEMON Tools Lite v4.30.3


johndoe74

Recommended Posts

$DTTITLE = "DAEMON Tools Lite 4.30.3"
$INSTALLDIR = @ProgramFilesDir & "\DAEMON Tools Lite"
$EXENAME = "daemon4303-lite.exe"

Run("daemon4303-lite.exe")
WinWait("DAEMON Tools Lite 4.30.3","Please select a language.")
Send("{ENTER}")
WinWait("DAEMON Tools Lite 4.30.3","Welcome to the DAEMON Tools Lite 4.30.3 Setup Wizard")
Send("{ENTER}")
WinWait("DAEMON Tools Lite 4.30.3","Please review the license")
Send("{ENTER}")
WinWait("DAEMON Tools Lite 4.30.3","Choose Components")
Send("{TAB}{TAB}{TAB}{DOWN}{SPACE}{DOWN}{SPACE}{DOWN}{SPACE}{DOWN}{SPACE}{DOWN}{SPACE}{ENTER}")
WinWait("DAEMON Tools Lite 4.30.3", "Support the DAEMON Tools Team")
Send("{SPACE}{ENTER}")
WinWait("DAEMON Tools Lite 4.30.3","Choose Install Location")
Send("{ENTER}")
WinWait("DAEMON Tools Lite 4.30.3","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

Edited by atolica
Link to comment
Share on other sites


  • 2 weeks later...
"with the notable exception"

Is this good or bad?

That's what I intended in the first place. No extra shortcuts or other useless crap. Just a basic installation.

Edited by atolica
Link to comment
Share on other sites

@Kurt_Aust

Have you tried with the latest version of AutoIt?

Some changes had been implemented in it.

Edit: If you want to run the script in 64 bit environment, remember to compile it in 64 bit mode

(otherwise, some registry tweaks will not work).

Edited by radix
Link to comment
Share on other sites

"with the notable exception"

Is this good or bad?

That's what I intended in the first place. No extra shortcuts or other useless crap. Just a basic installation.

Well, as it means the end user has to navigate to "%ProgramFiles(x86)%\DAEMON Tools Lite\Daemon.exe" with either Explorer or the Run box in order to run Daemon Tools for the first time, I'd be inclined to say bad.

Radix:

Compiling the script on my XP x64 box resulted in it working, but does that mean that 2 versions of the AddOn would have to be offered, one for each of x86-32 and x86-64 ?

Link to comment
Share on other sites

Compiling the script on my XP x64 box resulted in it working, but does that mean that 2 versions of the AddOn would have to be offered, one for each of x86-32 and x86-64 ?

It's not necessary to compile the script in 64 bit way to work.

The problem is that the next code doesn't do his job

RegDelete("HKLM\SOFTWARE\Wow6432Node\19659239224e364682fa4baf72c53ea4")
RegDelete("HKLM\SOFTWARE\Wow6432Node\DT Soft")

and it's minor (cosmetics).

You can use one single addon with script compiled in x86 way, but use AutoIt 3.3.0.0 for compiling.

Edit: I uploaded a new script. Now it's working 100% in both 32 and 64 bit environment and

it's more customizable. Compile the script in Windows 32 bit and make one single addon.

Link

Edited by radix
Link to comment
Share on other sites

@radix

Why all the extra c..p, in your script and in other's?

Why the need for, "; Save .mds file association (to restore it after the installation of DAEMON Tools Lite)

$mdsfileassociation = RegRead("HKCR\.mds", "")" ???, for example?

or

"; Create a new icon in Start Menu

If $NewStartMenuIcon = 1 Then

FileCreateShortcut($InstallDir & "\daemon.exe", @StartMenuCommonDir & "\Programs\DAEMON Tools Lite.lnk", $InstallDir)

EndIf"

Why not a simple script? Is this silent?

How do I uncomment "; Keeps the Start Menu folder

$StartMenuFolder = 1"?

By changing $StartMenuFolder to $StartMenuFolder = 0?

Sorry mate, not trying to be an a**, but I like things simple and straight forward.

Regards,

Atolica

Link to comment
Share on other sites

  • 2 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...