atolica Posted December 27, 2008 Share Posted December 27, 2008 (edited) $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 ThenProcessClose($PID)EndIf$PID = ProcessExists("IEXPLORE.EXE")If $PID ThenProcessClose($PID)EndIf$PID = ProcessExists("opera.exe")If $PID ThenProcessClose($PID)EndIfRun("C:\Program Files\DAEMON Tools Lite\daemon.exe");Write uninstall information to registryRegWrite("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 January 14, 2009 by atolica Link to comment Share on other sites More sharing options...
Kurt_Aust Posted December 30, 2008 Share Posted December 30, 2008 And now they've bumped it up to v4.30.3 Link to comment Share on other sites More sharing options...
Mann Posted January 1, 2009 Share Posted January 1, 2009 @johndoe74I 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 Link to comment Share on other sites More sharing options...
johndoe74 Posted January 9, 2009 Author Share Posted January 9, 2009 updated to v4.30.3 Link to comment Share on other sites More sharing options...
Kurt_Aust Posted January 14, 2009 Share Posted January 14, 2009 I get the following error in both XP x64 and 2000: Link to comment Share on other sites More sharing options...
atolica Posted January 14, 2009 Share Posted January 14, 2009 @Kurt_AustUse the script posted by me and modify it for 4.30.3! Does it still happen? Link to comment Share on other sites More sharing options...
Kurt_Aust Posted January 14, 2009 Share Posted January 14, 2009 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. Link to comment Share on other sites More sharing options...
atolica Posted January 14, 2009 Share Posted January 14, 2009 (edited) "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 January 14, 2009 by atolica Link to comment Share on other sites More sharing options...
radix Posted January 14, 2009 Share Posted January 14, 2009 (edited) @Kurt_AustHave 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 January 14, 2009 by radix Link to comment Share on other sites More sharing options...
Kurt_Aust Posted January 14, 2009 Share Posted January 14, 2009 "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 More sharing options...
radix Posted January 14, 2009 Share Posted January 14, 2009 (edited) 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 jobRegDelete("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 January 14, 2009 by radix Link to comment Share on other sites More sharing options...
atolica Posted January 15, 2009 Share Posted January 15, 2009 @radixWhy 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 More sharing options...
radix Posted January 15, 2009 Share Posted January 15, 2009 @atolica Try to make your script without my c..p. and 100% silent Maybe jd will use yours. Link to comment Share on other sites More sharing options...
atolica Posted January 15, 2009 Share Posted January 15, 2009 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. Link to comment Share on other sites More sharing options...
Stoner81 Posted March 22, 2009 Share Posted March 22, 2009 Thanks a lot guys been looking for this dunno why i missed it! *shoots himself*Thanks you very much folks!Stoner81. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now