MCT Posted August 8, 2004 Posted August 8, 2004 Guide Updated Oct/21/2004added 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 lets begin:start daemon tools .exe goto start > run > type: %tmp% [press ENTER]copy the .msi to your desktop for nownext copy this into a .txt file & rename it .inf[Version]Signature=$CHICAGO$[DefaultInstall]AddReg = CDImageAddReg = MountDelReg = 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 workCDIMAGE.exexpboot.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 & MakeBootISOboth 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 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 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..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.msiDaemonTools.msiDaemonDriveInstall.DaemonScriptDaemonTools.inf all in the same directory $OEM$\$1\Install\Apps\DaemonToolsin your .cmd/.bat file place the followingstart /wait %systemdrive%\Install\Apps\DaemonTools.msi /qn Reboot=ReallySuppressstart /wait %systemdrive%\Install\Apps\Daemonscript.msi /qn Reboot=ReallySuppressstart /wait %systemdrive%\Install\Apps\DaemonDriveInstall.DaemonScriptrundll32 setupapi,InstallHinfSection DefaultInstall 128 %systemdrive%\Install\Apps\Daemontools\DaemonTools.infdone! hope this is of some help to someone EDIT: any questions,comments,concerns ask awayEDIT2: fixed a bug where names with spaces wouldnt make iso
MCT Posted August 8, 2004 Author Posted August 8, 2004 Nice guide.thanks Still, I need the automount trick.automount trick? i wasnt aware of this.. enlighten me & maybe ill throw it in the guide too EDIT: nvm.. i know what u mean ill look into it 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 somethingEDIT4: 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 Posted August 8, 2004 Posted August 8, 2004 start daemon tools .exe goto start > run > type: %tmp% [press ENTER]copy the .msi to your desktop for nowby 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 Posted August 8, 2004 Author Posted August 8, 2004 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 Posted August 8, 2004 Posted August 8, 2004 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 Posted August 8, 2004 Author Posted August 8, 2004 ive got the automount to work.. gimme a few mins to convert it to an inf & ill add it 2 the guide
MCT Posted August 8, 2004 Author Posted August 8, 2004 i cant get these 2 work in an inf :S maybe u can try?they work in reg tho ON[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,29OFF[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 Posted August 9, 2004 Author Posted August 9, 2004 ok mazin (& anyone else who wants it) ive got it Add this to the previous inf [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 addAddReg = AutoMountnext.. make a new inf & put this in it[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,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,29HKLM,"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,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[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,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,6DHKLM,"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,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,6Dput this in %windir%\regtweaksNote: there is something with the board having such a long code.. remove this& #34; replace it with a "Tested & it works regardsPS: anyone know how 2 make the menu structure look like thissomethingsomethingISO Options > all options over here (like the SendTo menui dunno how clear this was explained but i hope it works
mazin Posted August 9, 2004 Posted August 9, 2004 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 Posted August 9, 2004 Author Posted August 9, 2004 nope. it goes by the last 1 u have mounted in the drive
Alanoll Posted August 9, 2004 Posted August 9, 2004 NOTE: & #34; don't remove that. Replace with a quote ( " )
MCT Posted August 9, 2004 Author Posted August 9, 2004 yes, your right i edited my first post .. thanks alanoll
mazin Posted August 9, 2004 Posted August 9, 2004 nope. it goes by the last 1 u have mounted in the driveWhaaat?! Then, no room for unattended AutoMounting?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now