IPB

Google Frontpage Forums Unattended CD/DVD Guide

> Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules

 
Reply to this topicStart new topic
> Daemon Tools 4.30.1 and ArniWorx shell extension, Install for all users
Acheron
post Jul 17 2008, 12:02 PM
Post #1


MSFN Expert
******

Group: Members
Posts: 1148
Joined: 28-June 04
From: Eerbeek
Member No.: 23554
OS: XP Home
Country Flag


Here an working version of the AutoIt scripts I use to install Daemon Tools silently. The script also kills the Daemon Tools Toolbar install process.

I use a custom installer for ArniWorx, which you can download here: awxDTools1060.exe. Note I have updated the installer to work in combination with Daemon Tools. It is not possible to use the Daemon Tools script without the AwxdTools shell extension.

All install files are copied to the hard disc during setup, as Daemon Tools is installed after logon. At this stage users might have removed the CD from the cd drive.

cmdlines.txt
CODE
rundll32.exe advpack.dll,LaunchINFSection .\Install\Daemon Tools\install.inf,,1


install.inf
CODE
[Version]
Signature = "$Windows NT$"

[DefaultInstall]
RunPreSetupCommands  = SPTD.Install:1,ArniWorX.Install:1
CopyFiles            = DaemonTools.CopySetup
AddReg               = Register.AddReg

[SPTD.Install]
;SPTD-driver 1.56
"""%01%\SPTDinst-x86.exe"" add /q"

[ArniWorX.Install]
;ArniWorx 1.0.6.0 shell extension
"""%01%\awxDTools1060.exe"" /VERYSILENT /NORESTART /SUPPRESSMSGBOXES"

[DestinationDirs]
;All users application data directory
DaemonTools.CopySetup = 16419,"DAEMON Tools"

[DaemonTools.CopySetup]
"daemon4301-lite.exe"
"install_dtools.au3"
"user_dtools.au3"

[Register.AddReg]
;Install Daemon Tools after reboot
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","Daemon Tools",0x0,"autoit3.exe ""%16419%\DAEMON Tools\install_dtools.au3"""
;Start Daemon Tools for all users
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","DAEMON Tools Lite",0x0,"""%16422%\DAEMON Tools Lite\daemon.exe"" -autorun"


install_dtools.au3
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("DTToolbar1005.exe", 300) Then
    ProcessClose("DTToolbar1005.exe")
    ProcessWaitClose("DTToolbar1005.exe")
    FileDelete($INSTALLDIR & "\DTToolbar1005.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")


user_dtools.au3
CODE
#NoTrayIcon

$INSTALLDIR = @ProgramFilesDir & "\Daemon Tools Lite"

;Cleanup temp files
$search = FileFindFirstFile(@TempDir & "\*.tmp")  
While 1
    $file = FileFindNextFile($search)
    If @error then ExitLoop
    DirRemove(@Tempdir & "\" & $file, 1)
    RegDelete("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager", "PendingFileRenameOperations")
WEnd
FileClose($search)

;Start Daemon Tools
Run($INSTALLDIR & "\daemon.exe -autorun")

;Wait for Daemon Tools to get initialized
If WinWait("[TITLE:DAEMON Tools Lite; CLASS:#32770]", "", 300) Then
    $dt_handle = WinGetHandle("[LAST]")
    WinWaitClose($dt_handle, "", 300)
EndIf

;Register ArniWorX shell extension
If FileExists($INSTALLDIR & "\AwxdTools.dll") Then Run("regsvr32.exe /s """ & $INSTALLDIR & "\AwxdTools.dll""")

;Remove install files
DirRemove(@AppdataCommonDir & "\DAEMON Tools", 1)


This post has been edited by Acheron: Dec 5 2008, 08:31 PM
Go to the top of the page
 
+Quote Post
Mann
post Jul 18 2008, 07:49 AM
Post #2


Junior
*

Group: Members
Posts: 96
Joined: 2-October 03
Member No.: 7643



link to download is not working for awxdTools1060.exe
Go to the top of the page
 
+Quote Post
Acheron
post Jul 18 2008, 08:33 AM
Post #3


MSFN Expert
******

Group: Members
Posts: 1148
Joined: 28-June 04
From: Eerbeek
Member No.: 23554
OS: XP Home
Country Flag


Fixed link to ArniWorx installer, also updated scripts for Daemon Tools Lite 4.30.0. Finally Daemon Tools decided to remove the adware from it.
Go to the top of the page
 
+Quote Post
Mann
post Jul 19 2008, 11:01 AM
Post #4


Junior
*

Group: Members
Posts: 96
Joined: 2-October 03
Member No.: 7643



thanks for the fix
Go to the top of the page
 
+Quote Post
Acheron
post Jul 29 2008, 05:28 PM
Post #5


MSFN Expert
******

Group: Members
Posts: 1148
Joined: 28-June 04
From: Eerbeek
Member No.: 23554
OS: XP Home
Country Flag


Updated script for Daemon Tools 4.30.1 rolleyes.gif
Go to the top of the page
 
+Quote Post
digitalfrost
post Aug 5 2008, 06:19 AM
Post #6


Junior
*

Group: Members
Posts: 88
Joined: 29-August 04
Member No.: 29260
Country Flag


Thanks alot for this. The script is really elegant, installing DAEMON Tools was never that easy smile.gif.
Go to the top of the page
 
+Quote Post
cool400
post Sep 15 2008, 04:06 PM
Post #7


Junior
*

Group: Members
Posts: 72
Joined: 8-November 05
From: Luebeck, Germany
Member No.: 79081
Country Flag


Thanks a lot - this is really smooth thumbup.gif

I would like to include this in my WPI-DVD, but how could I manage this?
Is it possible to make an SFX like this:



EDIT: hmmm...doesn't seem to work unsure.gif Maybe something's wrong with the path ".\install.inf" at the "rundll32.exe"-command?

Best regards

cool400 ph34r.gif

This post has been edited by cool400: Sep 15 2008, 04:20 PM
Go to the top of the page
 
+Quote Post
radix
post Sep 16 2008, 03:39 AM
Post #8


Senior Member
****

Group: Members
Posts: 527
Joined: 8-February 07
Member No.: 125681
OS: XP Pro x86
Country Flag


QUOTE (cool400 @ Sep 16 2008, 12:06 AM) *
EDIT: hmmm...doesn't seem to work unsure.gif Maybe something's wrong with the path ".\install.inf" at the "rundll32.exe"-command?

This one works:
CODE
rundll32.exe advpack.dll,LaunchINFSection Install.inf
Go to the top of the page
 
+Quote Post
neuropass
post Nov 12 2008, 09:17 AM
Post #9


Junior
*

Group: Members
Posts: 63
Joined: 9-September 08
Member No.: 209167
OS: none
Country Flag


hi thanks, for this script... but sorry i'm a newbie in these things... how do i use it..? blushing.gif i mean once i open "compile script to .exe" what do i have to do to select all these 3 scripts? thanks, a lot, any answer will be really appreciate..... i'm a vista user.

This post has been edited by neuropass: Nov 12 2008, 03:56 PM
Go to the top of the page
 
+Quote Post
ZileXa
post Nov 20 2008, 01:59 PM
Post #10


Friend of MSFN
*****

Group: Members
Posts: 754
Joined: 27-May 04
From: Amsterdam
Member No.: 20882
Country Flag


I dont really understand why to use all these scripts and Arniworx. Why not just install daemon tools silently (daemontools.exe /S) , install daemon script + a script silently and add the Mount/unMount option to your right click menu via regtweak?

This post has been edited by ZileXa: Nov 20 2008, 01:59 PM
Go to the top of the page
 
+Quote Post
cool400
post Nov 20 2008, 02:16 PM
Post #11


Junior
*

Group: Members
Posts: 72
Joined: 8-November 05
From: Luebeck, Germany
Member No.: 79081
Country Flag


Could you please post an example of what you did exactly?
Go to the top of the page
 
+Quote Post
ZileXa
post Nov 20 2008, 02:44 PM
Post #12


Friend of MSFN
*****

Group: Members
Posts: 754
Joined: 27-May 04
From: Amsterdam
Member No.: 20882
Country Flag


Well, I thought this topic was created because there was a need for a new solution, because of some major update of d-tools.
I just install using /S switch. Then I use a simple autoit script to install Daemonscript because I couldn't find a working silent switch.

And finally I run this script (just a text file): DaemonDriveInstall.DaemonScript
Version|1.6.0|2|
DeviceCount|1|

Done!
Just need the regtweaks to add Mount and unMount to your rightclick menu for ISO and other image files and you're done. Don't have them available now. But there should be a topic here wich explains everything in details.


EDIT: Nevermind, just tested with the latest D-tools, installer needs restart so the solution from Acheron is needed.

This post has been edited by ZileXa: Nov 24 2008, 04:04 AM
Go to the top of the page
 
+Quote Post
ZileXa
post Nov 27 2008, 01:24 PM
Post #13


Friend of MSFN
*****

Group: Members
Posts: 754
Joined: 27-May 04
From: Amsterdam
Member No.: 20882
Country Flag


Question for Acheron:

I tried to modify my method to get it working with the latest D-tools. I came closer and closer to your solution (because DaemonScript doesn't work anymore and after SPTD is installed you need a reboot to install dtools).

Now I don't really understand the complexity, why all those actions in the inf & au3 scripts?
Why not simply install SPTDinst-x86.exe and awxDTools1060.exe @T13 (using cmdlines or RunOnceEx)... then install DaemonTools.exe and the regtweaks (including the registration of the awxDTools dll) at first GUI boot?

This way you only need an AutoIt script for the Daemontools installer and you can do all other things by simply using your normal methods of installing applications (whatever that may be, cmdlines, batchfile, runonceex, wpi).


And is it really necessary to register the awxDtools dll at first guiboot? can't it be done right after the awxdtools installer is finished?

This post has been edited by ZileXa: Nov 27 2008, 01:27 PM
Go to the top of the page
 
+Quote Post
Acheron
post Dec 5 2008, 08:29 PM
Post #14


MSFN Expert
******

Group: Members
Posts: 1148
Joined: 28-June 04
From: Eerbeek
Member No.: 23554
OS: XP Home
Country Flag


QUOTE (ZileXa @ Nov 27 2008, 08:24 PM) *
Question for Acheron:

I tried to modify my method to get it working with the latest D-tools. I came closer and closer to your solution (because DaemonScript doesn't work anymore and after SPTD is installed you need a reboot to install dtools).

Now I don't really understand the complexity, why all those actions in the inf & au3 scripts?
Why not simply install SPTDinst-x86.exe and awxDTools1060.exe @T13 (using cmdlines or RunOnceEx)... then install DaemonTools.exe and the regtweaks (including the registration of the awxDTools dll) at first GUI boot?

This way you only need an AutoIt script for the Daemontools installer and you can do all other things by simply using your normal methods of installing applications (whatever that may be, cmdlines, batchfile, runonceex, wpi).


And is it really necessary to register the awxDtools dll at first guiboot? can't it be done right after the awxdtools installer is finished?


awxDtools cannot be registered unless Daemon Tools is running, so I have added a logon script for it. The script is a bit complicated, but now Daemon Tools can be configured for multiple users, and the installer runs from the Hard Drive. You can now safely remove the CD from the drive when Windows tells you setup is completed.
Anyway I have updated the script, since the Daemon Tools Toolbar process name has been changed.
Go to the top of the page
 
+Quote Post
ZileXa
post Dec 6 2008, 08:26 AM
Post #15


Friend of MSFN
*****

Group: Members
Posts: 754
Joined: 27-May 04
From: Amsterdam
Member No.: 20882
Country Flag


ok thanks...

I was a bit disappointed by all the hassle.. then I found a tool wich might be a good alternative and is much easier to install (just a silent switch).
It's called imdisk virtual disk driver and its discussed here.

After installation, you can right click image files to mount them to a (till then non-existing) virtual CD/DVD drive. But it also has the option to mount as virtual harddrive and even use the RAM memory for the virtual drive instead of harddisk space. Wich means very high reading/transfer speed.
I haven't tested the silent installation yet, but it might be a nice alternative.There is no need for it to run in the background if you don't mount anything and I like that.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: