This post has been edited by ursel666: 16 December 2008 - 12:19 AM
[Release] DAEMON Tools Lite v4.30.3
#162
Posted 16 December 2008 - 06:27 AM
It would be nice if someone skilled would make an autoit script for DT lite and also for DT Pro. Wihout arnworx shell.
#164
Posted 27 December 2008 - 12:05 PM
The *.cab package is still called:
DaemonTools-Lite-4301.cab
and the Entries*.ini file is still called:
ENTRIES_daemontools-lite-4301.ini
#166
Posted 27 December 2008 - 04:30 PM
$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
This post has been edited by atolica: 14 January 2009 - 06:36 AM
#170
Posted 14 January 2009 - 02:44 AM
#171
Posted 14 January 2009 - 04:33 AM
Use the script posted by me and modify it for 4.30.3! Does it still happen?
#172
Posted 14 January 2009 - 06:14 AM
#173
Posted 14 January 2009 - 06:38 AM
Quote
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.
This post has been edited by atolica: 14 January 2009 - 06:39 AM
#174
Posted 14 January 2009 - 07:01 AM
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).
This post has been edited by radix: 14 January 2009 - 09:58 AM
#175
Posted 14 January 2009 - 01:17 PM
atolica, on Jan 14 2009, 11:38 PM, said:
Quote
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 ?
#176
Posted 14 January 2009 - 01:46 PM
Kurt_Aust, on Jan 14 2009, 09:17 PM, said:
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
This post has been edited by radix: 14 January 2009 - 03:34 PM
#177
Posted 14 January 2009 - 09:44 PM
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
#178
Posted 15 January 2009 - 06:09 AM
Try to make your script without my c..p. and 100% silent
Maybe jd will use yours.
#179
Posted 15 January 2009 - 07:17 AM
#180
Posted 22 March 2009 - 11:09 AM
Thanks you very much folks!
Stoner81.



Help

Back to top










