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
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
[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
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.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
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
EDIT: any questions,comments,concerns ask away
EDIT2: fixed a bug where names with spaces wouldnt make iso



Help


Back to top









