Help - Search - Members - Calendar
Full Version: HOW TO: Install Daemon Tools Optimized
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2

   


Google Internet Forums Unattended CD/DVD Guide
MCT
Guide Updated Oct/21/2004
added the ability to make the iso name same as the folder - Credits goto
hotdogee
for the idea!
Thanks to GreenMachine For the Idea (as shown here)
Added the ability to have iso's with spaces mounted
Fixed a Typo (nothing major)

i decided to do this because i was bored tongue.gif

lets begin:

start daemon tools .exe
goto start > run > type: %tmp% [press ENTER]
copy the .msi to your desktop for now

next copy this into a .txt file & rename it .inf
CODE
[Version]
Signature=$CHICAGO$

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

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

[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"""
target = """%1.iso"""

REQUIREMENTS for the .inf file to work
CDIMAGE.exe
xpboot.img
both must be placed in the System32 directory
(to do that i suggest placing them in $OEM$\$$\System32 so they are automatically copied)
(both files come in CD Image Pro available on http://unattended.msfn.org )

heres a brief explanation about the above..
[CDImage]
when u rightclick a folder you will have 2 context menu (right click menu) entries.. MakeDataISO & MakeBootISO
both of the images will place an entry in %systemdrive% (usually C:\) called either DataISO or BootISO (previous entries will be overwritten)

[mount]
when u rightclick an image file (.iso;.bin;.cue;.ccd) u will have an option to Mount your iso in a virtual drive (by default this uses 1 virtual drive)

[Daemon]
removes daemon tools from starting up auto.. we dont need the tray icon because we're making this instead tongue.gif
Note: your language code maybe different then 1033 so check the startup entry 2 make sure

[strings]
i like to use strings as much as possible to keep the code neat & this was the only way i could get the %1 to work tongue.gif

next u need DaemonScript.exe
(extract the .msi file same as u did for daemontools, name it daemonscript.msi)
next.. u can either make this script inside daemonscript or use the 1 i have here..
CODE
Version|1.5.3|2|
DeviceCount|1|

change DeviceCount|1| from 1-4 depending on the # of virtual drives u want..
save it as DaemonDriveInstall.DaemonScript (name it anything u want just make sure it ends in .daemonscript)


next.. place
DaemonScript.msi
DaemonTools.msi
DaemonDriveInstall.DaemonScript
DaemonTools.inf
all in the same directory $OEM$\$1\Install\Apps\DaemonTools

in your .cmd/.bat file place the following
CODE
start /wait %systemdrive%\Install\Apps\DaemonTools.msi /qn Reboot=ReallySuppress
start /wait %systemdrive%\Install\Apps\Daemonscript.msi /qn Reboot=ReallySuppress
start /wait %systemdrive%\Install\Apps\DaemonDriveInstall.DaemonScript
rundll32 setupapi,InstallHinfSection DefaultInstall 128 %systemdrive%\Install\Apps\Daemontools\DaemonTools.inf


done! hope this is of some help to someone woot.gif

EDIT: any questions,comments,concerns ask away
EDIT2: fixed a bug where names with spaces wouldnt make iso
mazin
Nice guide.

Still, I need the automount trick.
MCT
QUOTE
Nice guide.
thanks smile.gif

QUOTE
Still, I need the automount trick.

automount trick? i wasnt aware of this.. enlighten me & maybe ill throw it in the guide too tongue.gif

EDIT: nvm.. i know what u mean tongue.gif ill look into it tongue.gif
EDIT2: what exactly does it do.. when i enable/disable it i dont notice anydifference (keeps tinkering)
EDIT3: found out what it does.. gimme about 20 mins.. i should have something
EDIT4: it appears its writing a hex code in registry..
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\d346bus\Cfg]
i dont know of anyway 2 make that customizable sorry
Sajbar
QUOTE (MCT @ Aug 8 2004, 03:50 PM)
start daemon tools .exe
goto start > run > type: %tmp% [press ENTER]
copy the .msi to your desktop for now

by this you mean the setup file for daemon tools right?

and if I don't want the cdimage part I can just edit that out right?
MCT
QUOTE
by this you mean the setup file for daemon tools right?

and if I don't want the cdimage part I can just edit that out right?

yep & yep
mazin
I read your other thread. You moved fast in configuring DT!

What I mean is: How do I automount an ISO in one of the virtual drives I create with your method?
MCT
ive got the automount to work.. gimme a few mins to convert it to an inf & ill add it 2 the guide
mazin
Thanks in advance. cool.gif
MCT
i cant get these 2 work in an inf :S maybe u can try?
they work in reg tho tongue.gif

ON
CODE
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\d346bus\Cfg]
"khjeh"=hex:14,01,00,00,FB,D5,F5,2B,39,12,AD,18,46,05,04,3D,\
32,E0,03,8E,09,85,15,17,B4,48,3D,30,9B,E5,3E,64,\
EB,54,06,F6,E8,F9,BC,E4,37,6F,A7,EC,9E,50,8B,CD,\
29,A4,DD,4D,D8,7A,BF,15,9B,01,60,50,92,08,69,E0,\
9D,8A,23,A5,BC,A8,9D,41,AF,1E,4B,AE,D6,8C,69,DE,\
81,51,78,3B,50,A1,57,62,B3,92,32,65,AA,47,94,B1,\
F5,C5,CD,20,B4,46,92,F5,C7,21,9F,C3,6E,7F,48,B2,\
79,5A,F3,0A,28,26,4C,63,AB,36,2E,28,62,2E,95,76,\
2D,73,92,C2,8C,9B,2B,AE,7F,EF,92,AF,A6,08,08,25,\
D1,1D,EF,B6,A0,D2,A8,42,43,3E,AC,33,3A,9B,AD,D0,\
05,14,17,6D,84,A7,10,70,97,CF,A4,CF,FE,19,5A,C8,\
89,E3,71,EE,38,A6,E8,87,7B,08,BE,05,F2,87,1E,8F,\
7D,E8,8C,42,9C,2A,A7,B7,0F,23,FD,D9,36,89,20,28,\
61,2D,B6,87,B0,60,59,B0,13,0D,62,E6,8A,B2,9D,43,\
55,6F,7C,F7,94,24,45,29,A7,59,2C,24,4E,38,27,4F,\
D9,39,1E,42,08,FA,B1,4F,0B,95,55,FE,42,1D,FF,9E,\
8D,E8,08,D5,EC,5D,11,C2,DF,CB,88,09,86,0D,44,1B,\
B1,80,21,29

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\d346bus\Cfg]
"khjeh"=hex:14,01,00,00,FB,D5,F5,2B,39,12,AD,18,46,05,04,3D,\
32,E0,03,8E,09,85,15,17,B4,48,3D,30,9B,E5,3E,64,\
EB,54,06,F6,E8,F9,BC,E4,37,6F,A7,EC,9E,50,8B,CD,\
29,A4,DD,4D,D8,7A,BF,15,9B,01,60,50,92,08,69,E0,\
9D,8A,23,A5,BC,A8,9D,41,AF,1E,4B,AE,D6,8C,69,DE,\
81,51,78,3B,50,A1,57,62,B3,92,32,65,AA,47,94,B1,\
F5,C5,CD,20,B4,46,92,F5,C7,21,9F,C3,6E,7F,48,B2,\
79,5A,F3,0A,28,26,4C,63,AB,36,2E,28,62,2E,95,76,\
2D,73,92,C2,8C,9B,2B,AE,7F,EF,92,AF,A6,08,08,25,\
D1,1D,EF,B6,A0,D2,A8,42,43,3E,AC,33,3A,9B,AD,D0,\
05,14,17,6D,84,A7,10,70,97,CF,A4,CF,FE,19,5A,C8,\
89,E3,71,EE,38,A6,E8,87,7B,08,BE,05,F2,87,1E,8F,\
7D,E8,8C,42,9C,2A,A7,B7,0F,23,FD,D9,36,89,20,28,\
61,2D,B6,87,B0,60,59,B0,13,0D,62,E6,8A,B2,9D,43,\
55,6F,7C,F7,94,24,45,29,A7,59,2C,24,4E,38,27,4F,\
D9,39,1E,42,08,FA,B1,4F,0B,95,55,FE,42,1D,FF,9E,\
8D,E8,08,D5,EC,5D,11,C2,DF,CB,88,09,86,0D,44,1B,\
B1,80,21,29


OFF
CODE
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\d346bus\Cfg]
"khjeh"=hex:14,01,00,00,65,4E,EA,2B,73,8A,94,50,DC,53,F0,23,\
0C,3F,9D,D8,3F,8E,C7,50,F6,AF,96,03,B1,18,1D,08,\
1D,95,CA,15,86,9D,2F,36,95,72,43,7E,D4,A5,8D,A1,\
E7,AB,C2,D1,8E,8E,39,8D,19,41,7C,E1,48,CF,B2,C7,\
4B,3B,21,63,82,97,DB,C1,CD,B4,35,49,2C,36,26,67,\
1F,9D,46,60,C6,74,30,CE,F1,C0,C6,78,C0,F7,32,E2,\
63,AE,9D,00,5A,99,1C,43,25,49,2D,C4,24,EE,97,47,\
B7,19,09,D3,1E,51,C5,95,A9,D2,AA,54,58,B7,73,BF,\
1B,64,52,91,12,91,CB,B5,1D,A9,67,10,3C,AD,67,2B,\
2F,99,D1,28,56,1D,80,5F,01,D8,38,91,D0,ED,FA,8B,\
33,C5,D7,44,2A,58,6E,1E,75,34,44,47,34,4B,31,71,\
47,7C,90,7D,EE,9F,E4,8B,F9,30,ED,71,A8,72,B7,30,\
2B,29,2C,91,E2,D6,58,1E,AD,31,ED,54,0C,B8,5D,9E,\
FF,09,1F,39,26,B9,79,9C,51,44,1D,E4,20,3F,59,C3,\
C3,00,81,E1,BA,D3,AC,28,85,1A,A9,8A,04,D4,3B,CF,\
17,BA,83,0D,7E,5A,CE,A0,09,5A,AD,49,B8,12,31,0F,\
FB,A2,A0,CC,72,48,4F,DE,FD,4E,93,29,1C,6F,E9,CF,\
8F,ED,D4,6D

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\d346bus\Cfg]
"khjeh"=hex:14,01,00,00,65,4E,EA,2B,73,8A,94,50,DC,53,F0,23,\
0C,3F,9D,D8,3F,8E,C7,50,F6,AF,96,03,B1,18,1D,08,\
1D,95,CA,15,86,9D,2F,36,95,72,43,7E,D4,A5,8D,A1,\
E7,AB,C2,D1,8E,8E,39,8D,19,41,7C,E1,48,CF,B2,C7,\
4B,3B,21,63,82,97,DB,C1,CD,B4,35,49,2C,36,26,67,\
1F,9D,46,60,C6,74,30,CE,F1,C0,C6,78,C0,F7,32,E2,\
63,AE,9D,00,5A,99,1C,43,25,49,2D,C4,24,EE,97,47,\
B7,19,09,D3,1E,51,C5,95,A9,D2,AA,54,58,B7,73,BF,\
1B,64,52,91,12,91,CB,B5,1D,A9,67,10,3C,AD,67,2B,\
2F,99,D1,28,56,1D,80,5F,01,D8,38,91,D0,ED,FA,8B,\
33,C5,D7,44,2A,58,6E,1E,75,34,44,47,34,4B,31,71,\
47,7C,90,7D,EE,9F,E4,8B,F9,30,ED,71,A8,72,B7,30,\
2B,29,2C,91,E2,D6,58,1E,AD,31,ED,54,0C,B8,5D,9E,\
FF,09,1F,39,26,B9,79,9C,51,44,1D,E4,20,3F,59,C3,\
C3,00,81,E1,BA,D3,AC,28,85,1A,A9,8A,04,D4,3B,CF,\
17,BA,83,0D,7E,5A,CE,A0,09,5A,AD,49,B8,12,31,0F,\
FB,A2,A0,CC,72,48,4F,DE,FD,4E,93,29,1C,6F,E9,CF,\
8F,ED,D4,6D
MCT
ok mazin (& anyone else who wants it) ive got it biggrin.gif

Add this to the previous inf

CODE
[AutoMount]
HKCR,"ISO_Image\Shell\AutoMount ON\Command",,,"%11%\rundll32 setupapi,InstallHinfSection DefaultInstall 128 %10%\RegTweaks\AutoMount.inf"
HKCR,"ISO_Image\Shell\AutoMount OFF\Command",,,"%11%\rundll32 setupapi,InstallHinfSection DefaultUnInstall 128 %10%\RegTweaks\AutoMount.inf"


under defaultInstall of the previous inf add
AddReg = AutoMount

next.. make a new inf & put this in it
CODE
[VERSION]
Signature = $CHICAGO$

[DefaultInstall]
AddReg = AutoMount_on

[DefaultUnInstall]
AddReg = AutoMount_off

[AutoMount_on]
HKLM,"SYSTEM\CurrentControlSet\Services\d346bus\Cfg","khjeh",0x00000001,14,01,00,00,FB,D5,F5,2B,39,12,AD,18,46,05,04,3D,32,E0,03,8E,09,85,15,17,B4,48,3D,30,
9B,E5,3E,64,EB,54,06,F6,E8,F9,BC,E4,37,6F,A7,EC,9E,50,8B,CD,29,A4,DD,4D,D8,7A,BF,15,9B,01,60,50,92,0
8,69,E0,9D,8A,23,A5,BC,A8,9D,41,AF,1E,4B,AE,D6,8C,69,DE,81,51,78,3B,50,A1,57,62,B3,92,32,65,AA,47,94
,B1,F5,C5,CD,20,B4,46,92,F5,C7,21,9F,C3,6E,7F,48,B2,79,5A,F3,0A,28,26,4C,63,AB,36,2E,28,62,2E,95,76,
2D,73,92,C2,8C,9B,2B,AE,7F,EF,92,AF,A6,08,08,25,D1,1D,EF,B6,A0,D2,A8,42,43,3E,AC,33,3A,9B,AD,D0,05,1
4,17,6D,84,A7,10,70,97,CF,A4,CF,FE,19,5A,C8,89,E3,71,EE,38,A6,E8,87,7B,08,BE,05,F2,87,1E,8F,7D,E8,8C
,42,9C,2A,A7,B7,0F,23,FD,D9,36,89,20,28,61,2D,B6,87,B0,60,59,B0,13,0D,62,E6,8A,B2,9D,43,55,6F,7C,F7,
94,24,45,29,A7,59,2C,24,4E,38,27,4F,D9,39,1E,42,08,FA,B1,4F,0B,95,55,FE,42,1D,FF,9E,8D,E8,08,D5,EC,5
D,11,C2,DF,CB,88,09,86,0D,44,1B,B1,80,21,29

HKLM,"SYSTEM\CurrentControlSet001\Services\d346bus\Cfg","khjeh",0x00000001,14,01,00,00,FB,D5,F5,2B,39,12,AD,18,46,05,04,3D,32,E0,03,8E,09,85,15,17,B4,48,3D,30,
9B,E5,3E,64,EB,54,06,F6,E8,F9,BC,E4,37,6F,A7,EC,9E,50,8B,CD,29,A4,DD,4D,D8,7A,BF,15,9B,01,60,50,92,0
8,69,E0,9D,8A,23,A5,BC,A8,9D,41,AF,1E,4B,AE,D6,8C,69,DE,81,51,78,3B,50,A1,57,62,B3,92,32,65,AA,47,94
,B1,F5,C5,CD,20,B4,46,92,F5,C7,21,9F,C3,6E,7F,48,B2,79,5A,F3,0A,28,26,4C,63,AB,36,2E,28,62,2E,95,76,
2D,73,92,C2,8C,9B,2B,AE,7F,EF,92,AF,A6,08,08,25,D1,1D,EF,B6,A0,D2,A8,42,43,3E,AC,33,3A,9B,AD,D0,05,1
4,17,6D,84,A7,10,70,97,CF,A4,CF,FE,19,5A,C8,89,E3,71,EE,38,A6,E8,87,7B,08,BE,05,F2,87,1E,8F,7D,E8,8C
,42,9C,2A,A7,B7,0F,23,FD,D9,36,89,20,28,61,2D,B6,87,B0,60,59,B0,13,0D,62,E6,8A,B2,9D,43,55,6F,7C,F7,
94,24,45,29,A7,59,2C,24,4E,38,27,4F,D9,39,1E,42,08,FA,B1,4F,0B,95,55,FE,42,1D,FF,9E,8D,E8,08,D5,EC,5
D,11,C2,DF,CB,88,09,86,0D,44,1B,B1,80,21,29

[AutoMount_off]
HKLM,"SYSTEM\CurrentControlSet\Services\d346bus\Cfg","khjeh",0x00000001,14,01,00,00,65,4E,EA,2B,73,8A,94,50,DC,53,F0,23,0C,3F,9D,D8,3F,8E,C7,50,F6,AF,96,03,
B1,18,1D,08,1D,95,CA,15,86,9D,2F,36,95,72,43,7E,D4,A5,8D,A1,E7,AB,C2,D1,8E,8E,39,8D,19,41,7C,E1,48,C
F,B2,C7,4B,3B,21,63,82,97,DB,C1,CD,B4,35,49,2C,36,26,67,1F,9D,46,60,C6,74,30,CE,F1,C0,C6,78,C0,F7,32
,E2,63,AE,9D,00,5A,99,1C,43,25,49,2D,C4,24,EE,97,47,B7,19,09,D3,1E,51,C5,95,A9,D2,AA,54,58,B7,73,BF,
1B,64,52,91,12,91,CB,B5,1D,A9,67,10,3C,AD,67,2B,2F,99,D1,28,56,1D,80,5F,01,D8,38,91,D0,ED,FA,8B,33,C
5,D7,44,2A,58,6E,1E,75,34,44,47,34,4B,31,71,47,7C,90,7D,EE,9F,E4,8B,F9,30,ED,71,A8,72,B7,30,2B,29,2C
,91,E2,D6,58,1E,AD,31,ED,54,0C,B8,5D,9E,FF,09,1F,39,26,B9,79,9C,51,44,1D,E4,20,3F,59,C3,C3,00,81,E1,
BA,D3,AC,28,85,1A,A9,8A,04,D4,3B,CF,17,BA,83,0D,7E,5A,CE,A0,09,5A,AD,49,B8,12,31,0F,FB,A2,A0,CC,72,4
8,4F,DE,FD,4E,93,29,1C,6F,E9,CF,8F,ED,D4,6D

HKLM,"SYSTEM\CurrentControlSet001\Services\d346bus\Cfg","khjeh",0x00000001,14,01,00,00,65,4E,EA,2B,73,8A,94,50,DC,53,F0,23,0C,3F,9D,D8,3F,8E,C7,50,F6,AF,96,03,
B1,18,1D,08,1D,95,CA,15,86,9D,2F,36,95,72,43,7E,D4,A5,8D,A1,E7,AB,C2,D1,8E,8E,39,8D,19,41,7C,E1,48,C
F,B2,C7,4B,3B,21,63,82,97,DB,C1,CD,B4,35,49,2C,36,26,67,1F,9D,46,60,C6,74,30,CE,F1,C0,C6,78,C0,F7,32
,E2,63,AE,9D,00,5A,99,1C,43,25,49,2D,C4,24,EE,97,47,B7,19,09,D3,1E,51,C5,95,A9,D2,AA,54,58,B7,73,BF,
1B,64,52,91,12,91,CB,B5,1D,A9,67,10,3C,AD,67,2B,2F,99,D1,28,56,1D,80,5F,01,D8,38,91,D0,ED,FA,8B,33,C
5,D7,44,2A,58,6E,1E,75,34,44,47,34,4B,31,71,47,7C,90,7D,EE,9F,E4,8B,F9,30,ED,71,A8,72,B7,30,2B,29,2C
,91,E2,D6,58,1E,AD,31,ED,54,0C,B8,5D,9E,FF,09,1F,39,26,B9,79,9C,51,44,1D,E4,20,3F,59,C3,C3,00,81,E1,
BA,D3,AC,28,85,1A,A9,8A,04,D4,3B,CF,17,BA,83,0D,7E,5A,CE,A0,09,5A,AD,49,B8,12,31,0F,FB,A2,A0,CC,72,4
8,4F,DE,FD,4E,93,29,1C,6F,E9,CF,8F,ED,D4,6D

put this in %windir%\regtweaks

Note: there is something with the board having such a long code.. remove this
& #34; replace it with a "
Tested & it works smile.gif
regards

PS: anyone know how 2 make the menu structure look like this

something
something
ISO Options > all options over here (like the SendTo menu

i dunno how clear this was explained but i hope it works tongue.gif
mazin
Thanks, MCT, for your time. One more question: Don't I have to define a path and name for the ISO file I want to automount?
MCT
nope. it goes by the last 1 u have mounted in the drive
Alanoll
NOTE: & #34; don't remove that. Replace with a quote ( " )
MCT
yes, your right tongue.gif blushing.gif
i edited my first post .. thanks alanoll smile.gif
mazin
QUOTE (MCT @ Aug 9 2004, 08:30 PM)
nope. it goes by the last 1 u have mounted in the drive

Whaaat?! ohmy.gif Then, no room for unattended AutoMounting? confused.gif
MCT
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
cogliostrio
Nice trick, but I get an error when I try to install the inf file.

This is the line I run.

QUOTE
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.
Bâshrat the Sneaky
QUOTE (MCT @ Aug 8 2004, 11:50 PM)
i decided to do this because i was bored tongue.gif

You've got to much time! tongue.gif cool.gif biggrin.gif
MCT
its cause it cant find the file cogliostrio, it MUST be in the same directory (or u can specify an alternate 1)
cogliostrio
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.

QUOTE
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.gif
MCT
rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\DaemonTools.inf
cogliostrio
Oh.. blushing.gif

Thank you for helping me out MCT smile.gif
MCT
yw smile.gif
mazin
QUOTE (MCT @ Aug 17 2004, 06:31 AM)
yw smile.gif

Unlike Bâshrat the Sneaky said, you haven't really got much time! ohmy.gif

y'rw may take more time. laugh.gif
MarcJ
Anyone else having your system prompt saying it found new hardware after you install D-Tools? Kinda messes up the unattendedness of the install.
stickfun
yea, i got that too.

can't find a way around it sad.gif
mazin
There's a topic covering this issue. You can search for it!
stickfun
cannot find any thing on this with the search. sad.gif

here's the screenshot:

http://img29.exs.cx/img29/17/error.bmp

hope it helps unsure.gif
nameht
anyone can gimme the RunOnceEx command?
for it

CODE
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
catpsion
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:

CODE
[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
CODE
Version|1.5.3|2|
DeviceCount|1|


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

CODE
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 smile.gif

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% ?
war59312
How about an Un-Mount option?
MCT
@war59312

u dont need an unmount option (thats why i never included 1 in the inf)
just right click the cd drive & select "eject"

but if u wanna unmount, u can use -unmount 0

i think is the syntax, look on daemontools site if it isnt tongue.gif
war59312
oh ok guess it messed up cause it was not working but yea working now....

I would click eject but it would do nothing...

right clicked on inf file and install.. newwink.gif

so woring fine now..thanks...

Well crap it stoped working after installing ISo Buster. sad.gif

It mounts but eject does nothing again.
MCT
its an inf file
Coolsights2000
Nice post a little confusing at first ... on what to name things...

BUt I do recommend this to anyone that uses Daemon Tools ..

Nice to have the right click options then you don't have to start this select that ...

just right click and go...

I will start a new thread for my next questioned

Mac!
war59312
QUOTE (MCT @ Aug 27 2004, 12:07 AM)
its an inf file

you know what i ment newwink.gif
war59312
QUOTE (MCT @ Aug 25 2004, 09:14 PM)
@war59312

u dont need an unmount option (thats why i never included 1 in the inf)
just right click the cd drive & select "eject"

but if u wanna unmount, u can use -unmount 0

i think is the syntax, look on daemontools site if it isnt tongue.gif

Um just noticed it still stays mounted though in DAEMON Tools itself.
MCT
in daemon tools?
i dont use that (i use the method on the first page) as i said on the first page, this is like a replacement for that

smile.gif
war59312
QUOTE (MCT @ Aug 27 2004, 03:38 PM)
in daemon tools?
i dont use that (i use the method on the first page) as i said on the first page, this is like a replacement for that

smile.gif

Yeah I know just saying that if you launch Daemon Tools its still mounted. Guess its a bug.
DigeratiPrime
could this be modified so it mounts an image after double clicking on it? Sorta how MountDaemon works?
MCT
u can double click it and have it work IF u have the "mount" option as your FIRST entry via right click

& usually that means not having a program associated with .iso files (other then this method on first page)
Coolsights2000
I was over at the daemon site looking around and they have a tool but it only worked when Daemon is loaded,,,

and I'm still trying to figure out howw to get it to silent install


http://www.daemon-tools.cc/dtcc/portal/dow...ategory&catid=7
Download: awxDTools_104b228.exe
http://www.daemon-tools.cc/dtcc/portal/dow...e=Download&id=8
Description: awxDTools is a shell extension for DAEMON Tools. It adds mount and unmount entries when you right click on a image.

!New Version awxDTools_104b228 !

Size: 790 KB

Release Date and Time: Sat Jan 17, 2004 02:14

Download Count: 197755


This would be a nice add to your inf file ,,,,
MCT
hi.. whats the point? its still loading files (that in my opinion are unneeded) this method is an alternative 2 installing a program 2 do that 4 u smile.gif
cfeedback
Has anything changed on this method (which I love btw, thanks!) with 3.47? I have 2 issues: first, when I run Daemonscript.msi with either the /qb or /qn switch fromt start.cmd it installs into C:, yet when I run it manually it installs into \Program Files\ as it should.

Second, my rundll32 line does all sorts of crazy stuff so I must be doing something wrong. It will usually load another installer than already ran from the start.cmd, such as my ATI Remote Wonder or Logitech Setpoint software. Thanks for any help!

CODE
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
rundll32 setupapi,InstallHinfSection DefaultInstall 128 %systemdrive%\Install\DaemonTools\DaemonTools.inf
MCT
hi..

the stuff works with the new version too.. there isnt anything new besides bug fixes in the new version i believe tongue.gif

can u post the daemontools.inf plz.. some ppl alter it, 2 cut out stuff they dont want.. so u could have done that & messed a line or something?

& im honestly not sure why daemonscript is doing that.. its something with the installer i believe.. u could try 4 now a temp solution 2 copy daemon script files 2 the appropriate directories
cfeedback
CODE
[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!
MCT
yes, it looks like the exact same 1 as i have tongue.gif

but im not sure why your getting that error :S try this
CODE
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
Staszek
I cannot extract daemonscript.msi from the last version available on daemon tools. Any ideas how to get it?
MCT
it works fine here..

start the installer dont close the installer, goto run type %tmp% then get the msi file.. its not hard woot.gif
keul
This may solve issues :

1- If daemonscript installs to C:\, change the installation command to :
CODE
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
CODE
Version|1.5.4|2|
DeviceCount|1|
file length should be 34 bytes and not 32.

I hope this helps...




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.