Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


johndoe74

[Release] DAEMON Tools Lite v4.30.3

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

Share this post


Link to post
Share on other sites

@johndoe74

I tried your installer and it install DT toolbar and an addon in Firefox.

You can try my new script (deal with all DT crap).

thanks for the script radix :thumbup

Share this post


Link to post
Share on other sites

I get the following error in both XP x64 and 2000:

Share this post


Link to post
Share on other sites

@Kurt_Aust

Use the script posted by me and modify it for 4.30.3! Does it still happen?

Share this post


Link to post
Share on other sites

Atolica, with the notable exception of not creating start menu items, your script works with DT 4.30.3 under XP x64, I'll try it with Win2000 at a later date.

Share this post


Link to post
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.

Edited by atolica

Share this post


Link to post
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

Share this post


Link to post
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 ?

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

@atolica

Try to make your script without my c..p. and 100% silent ;)

Maybe jd will use yours.

Share this post


Link to post
Share on other sites

Hey don't take it like that. It wasn't my intention to offend you in anyway, even if I did, it seems. I could've wrote CRAP, but I didn't. You know what I meant.

Share this post


Link to post
Share on other sites

Thanks a lot guys been looking for this dunno why i missed it! *shoots himself*

Thanks you very much folks!

Stoner81.

Share this post


Link to post
Share on other sites

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