Jump to content

HOW TO: Install Daemon Tools Optimized


MCT

Recommended Posts

well u may try this..

-mount 0,c:\filename.iso

<enable automount>

EDIT: just copy the mount part from the inf & the amountmount_on section & combined them in 1 inf it should work

Link to comment
Share on other sites


Nice trick, but I get an error when I try to install the inf file.

This is the line I run.

rundll32 setupapi,InstallHinfSection DefaultInstall 128 DaemonTools.inf

I get an error box that says installation fails. Does anyone know why?

It works fine when I right click the inf file, and install it.

Link to comment
Share on other sites

Im not sure what Im doing wrong, I have all the files in the same directory. Including the cmd file.

This is how my cmd file looks like.

start /wait DaemonTools.msi /qn

start /wait Daemonscript.msi /qn

start /wait DaemonDriveInstall.DaemonScript

rundll32 setupapi,InstallHinfSection  DefaultInstall 128 DaemonTools.inf

Can anyone tell me whats wrong here? cus I dont :unsure:

Link to comment
Share on other sites

anyone can gimme the RunOnceEx command?

for it

start /wait %systemdrive%\Install\DTOOLS\DaemonTools.msi /qn
start /wait %systemdrive%\Install\DTOOLS\Daemonscript.msi /qn
start /wait %systemdrive%\Install\DTOOLS\DaemonDriveInstall.DaemonScript
rundll32 setupapi,InstallHinfSection DefaultInstall 128 %systemdrive%\Install\Apps\Daemontools\DaemonTools.inf

Would like all the commands under the one heading "Installing Daemon Tools"

and also maybe uninstall the DaemonScript at the same time...

any help would be great thx guys

Link to comment
Share on other sites

Hello and thanks for this nice tip.

I followed all the steps you mentioned and got my daemontools.msi from dt346.exe and daemonscripts.msi.

As i wasn't interested by the Makeiso option, i made the following daemontools.inf:

[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

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

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

I copied the code you've given into a txt file and renamed this txt file: DaemonDriveInstall.DaemonScript

Version|1.5.3|2|
DeviceCount|1|

Finally i made the following batch for tetsting purpose: test.bat

start /wait c:\download\DaemonTools.msi /qn
start /wait c:\download\Daemonscript.msi /qn
start /wait c:\download\DaemonDriveInstall.DaemonScript
rundll32 setupapi,InstallHinfSection DefaultInstall 128 c:\download\DaemonTools.inf

I moved Daemontools.msi, Daemonscript.msi, Daemondriveinstall.daemonscript, daemmontools.inf and test.bat under my c:\download folder.

When i started my batch, the installation of daemonttools.msi was done correctly. But when it came to the daemonscripts.msi i get a message saying the installation couldn't finish because my PC was shutting down...and it defiinitly was: in the next second i experienced a fast reboot.

After this reboot, Daemontools is corerctly installed (but require a new reboot) but that's it: the daemontools tray icon is running, no mountiso is available when right ccking an *.iso files and so on...

Well, i don't know where the is the problem, but there is definitly something preventing me from using the *.inf file . Any help would be greatly appreciated :)

EDIT:Installing the daemontools.inf with a right click work perfectly. Would that mean i made the same error than Cagliostro and forgetting the"." after "rundll32 setupapi,InstallHinfSection DefaultInstall 128" ?

But in my case, i mentioned the complete path to my files in my batch (what Cagliostro haven't done). Does that mean this "." should also be added when using the %systemdrive% ?

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