Jump to content

HOW TO: Install Daemon Tools Optimized


MCT

Recommended Posts

[Version]
Signature=$CHICAGO$

[DefaultInstall]
AddReg = CDImage
AddReg = Mount
DelReg = Daemon

[CDImage]
HKCR,"Folder\shell\MakeBootISO\command",,,"CDIMAGE.EXE -LWINDOWS -YD -N -H -X -B%11%\xpBoot.img -OCI -M -D %here% %24%\BootImage.iso"
HKCR,"Folder\shell\MakeDataISO\command",,,"CDIMAGE.EXE -LDATA -YD -N -H -X -O -M -D %here% %24%\DataImage.iso"

[Mount]
HKCR,".ISO",,,"ISO_Image"
HKCR,".CUE",,,"ISO_Image"
HKCR,".CCD",,,"ISO_Image"
HKCR,".BIN",,,"ISO_Image"
HKCR,"ISO_Image\Shell\Mount\Command",,,%16422%\D-Tools\"daemon.exe -mount 0,%1

[Daemon]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","DAEMON Tools-1033"

[Strings]
here = """%1"""

I thought it was the same as what you listed, but I could've made a mistake...thanks for the help!

BTW I didn't mention it, but it DOES end up working - I can right click to mount an image. I just don't know why it launches another installer!

Link to comment
Share on other sites


yes, it looks like the exact same 1 as i have :P

but im not sure why your getting that error :S try this

ECHO.
ECHO Installing DaemonTools v3.47
ECHO Please wait...
start /wait %systemdrive%\Install\DaemonTools\DaemonTools.msi /qn REBOOT="ReallySuppress"
start /wait %systemdrive%\Install\DaemonTools\Daemonscript.msi /qb
start /wait %systemdrive%\Install\DaemonTools\DaemonDriveInstall.DaemonScript
start /wait %systemdrive%\Install\DaemonTools\DT.exe

put this into an autoit script..

Run("rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\DaemonTools.inf")

& compile it & name it DT.exe thats the only other thing i can think of.. put it in same folder as daemontools.inf

& if u dont know how 2 do this.. download autoit , open notepad.. place the above command into it.. name it DT.au3 & compile that .au3 file using autoit compiler, u can right click & choose compile script

Link to comment
Share on other sites

This may solve issues :

1- If daemonscript installs to C:\, change the installation command to :

start /wait .\Daemonscript.msi /qn TARGETDIR="%ProgramFiles%\D-Tools"

It will then install to Daemon Tools folder.

2- I don't know if it was mentionned before, but you may encounter an issue with DaemonDriveInstall.DaemonScript file (telling that parameters on line 2 are incorrect). You need to have a blank line after DeviceCount|1| (the script parser needs it). So if your script is

Version|1.5.4|2|
DeviceCount|1|

file length should be 34 bytes and not 32.

I hope this helps...

Link to comment
Share on other sites

its not hard :w00t:

Thanks MCT, I don't know why I was looking for a file which gets deleted AFTER the install instead of looking for it during the process :whistle::blushing:. Anyway, I tested my first unattended install last night and for a newbie I am very pleased.

Thanks again

Link to comment
Share on other sites

For those of you that don't mind directly editing msi files, I posted a step by step on how I edited V3.47 here. It's the third and final entry on the page.

It supresses the reboot prompt, eliminates the desktop icon, and allows you to change the default directory.

Link to comment
Share on other sites

  • 3 weeks later...

so, for the right click unmount should this be right inf file?

[Version]Signature=$CHICAGO$

[DefaultInstall]

AddReg = Mount

DelReg = Daemon

[Mount]

HKCR,".ISO",,,"ISO_Image"

HKCR,".CUE",,,"ISO_Image"

HKCR,".CCD",,,"ISO_Image"

HKCR,".BIN",,,"ISO_Image"

HKCR,"ISO_Image\Shell\Mount\Command",,,%16422%\D-Tools\"daemon.exe -mount 0,%1

HKCR,"ISO_Image\Shell\Mount\Command",,,%16422%\D-Tools\"daemon.exe -umount 0,%1

[Daemon]

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","DAEMON Tools-1033"

[strings]

here = """%1"""

...and, the only use for DaemonScript.msi is to decide the number of Virtual Drive?

cannot be integrated in only deamontools.msi?

There a way to add shell extension from RunOnceEx.cmd?

mrmr

P.S.

There a greater list of "Image Type" that can be mounted? ...like .ngr and so on?

Link to comment
Share on other sites

I did a little modification on the script

[Version]
Signature="$Windows NT$"

[DefaultInstall]
AddReg = CDImage.Reg
AddReg = Mount.Reg

[CDImage.Reg]
HKCR,"Folder\shell\MakeISO\command",,,"CDIMAGE.EXE -LDATA -YD -N -H -X -M -D %here% %target%"
HKCR,"Folder\shell\MakeOptISO\command",,,"CDIMAGE.EXE -LDATA -YD -N -H -X -O -M -D %here% %otarget%"

[Mount.Reg]
HKCR,".ISO",,,"ISO_Image"
HKCR,".CUE",,,"ISO_Image"
HKCR,".CCD",,,"ISO_Image"
HKCR,".BIN",,,"ISO_Image"
HKCR,".CDI",,,"ISO_Image"
HKCR,".BWT",,,"ISO_Image"
HKCR,".B5T",,,"ISO_Image"
HKCR,".MDS",,,"ISO_Image"
HKCR,".NRG",,,"ISO_Image"
HKCR,".PDI",,,"ISO_Image"
HKCR,"ISO_Image\Shell\Mount\Command",,,"%16422%\D-Tools\daemon.exe -mount 0,%1"
HKCR,"ISO_Image\Shell\Unmount\Command",,,%16422%\D-Tools\daemon.exe -unmount 0

[Strings]
here = """%1"""
target = """%1.iso"""
otarget = """%1.o.iso"""

The Created ISO image well have the same name as the folder and well be created at the same place as the folder, just like creating RAR archives with WinRAR :) .

I didn't need the bootable option, so i removed that, and added an option to not optimize the CD for faster ISO creation, the optimized ISO well end with ".o.iso".

Also added all of the file types DAEMON could mount and the Unmount option.

Link to comment
Share on other sites

there's a turnaroud to add mount command to right cliccking onto tha Virtual CD device in MyComputer that permit to select the image??

Like the script onto the DaemonTools site...awxDTools

mrmr

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