Announcement

Collapse
No announcement yet.

Mount/Unmount in Explorer via Context Menu (Right Mouseclick Menu) => Solution here

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mount/Unmount in Explorer via Context Menu (Right Mouseclick Menu) => Solution here

    Hi guys! (and gals..)

    Ever since awxdTools stopped working with DTv4, i couldnt mount images via Context Menu from Windows Explorer.
    After being lazy just searching for a solution by SomeoneElse(c) every few weeks, i put my mad registrySkillz </shameless selfplugging> into action and wrote meself some registry import skript which registers the 4 main Imagetypes (*.cue, *.iso, *.nrg, *.mds) with Daemontools.
    This script works with Daemontools 4 as well as DT3, of course.

    Of course, as always, the disclaimer, that you should know what you are doing when using regedit & know what the registry does in general. Fucking up when dealing with the registry might mess your system.
    This script is kept as simple and shallow and nonviolent as possible. Even though i cant think of a way screw up with this simple stuff, some people might accomplish even this. I take no responsibilities for such follies. But anyone with IQ>70 should be able to pull this one off.

    1) (==>>>REQUIRED<<<==)
    Just take the following lines AFTER (excluding!) the ########### , copy it into an empty textfile, save it & name it to whatevername.reg.
    2) (optional)
    Open this .regfile via notepad/ultraedit/favourite texteditor, look at at & tailor & tinker it to your personal needs, if you want to.
    3) (optional)
    If you use less than the maximum of 4 Drives, just cut out the Mount & Unmount Lines for the unwanted drives (dont forget to do that 4 times each, for all the 4 image formats (*.cue, *.iso, *.nrg, *.mds)
    4) (optional)
    If you want to use this for different image-typed than the 4 listed above, just look at the skript and it should be obvious how to change/enhance the script to incorporate the new type. Also easy when you want to just drop one of the 4 supported ones: just cut out the part for that imagetype.
    5) (optional)
    YOU DEFINITELY HAVE TO CHANGE THE LOCATION OF DAEMON.EXE IN THE SCRIPT TO THE ONE WHERE ITS INSTALLED IN YOUR SYSTEM (IF YOU DIDNT INSTALL IN THE DEFAULT DIRECTORY). But even then its just a simple replace (dont forget that \\ is required to delimit directories in regscripts, not only \ . Just look it up in the original script)
    6) (==>>>REQUIRED<<<==)
    Also, look at the script to see that theres no black magic or malicious things hidden in there. (ALWAYS do that before entering other peoples .reg to your registry!!! ALWAYS!!!)
    7) (==>>>REQUIRED<<<==)
    Open regedit. (startmenu=>run=>regedit.exe=>Click OK)
    8) (==>>>REQUIRED<<<==)
    Select the top (root) entry (named 'My Computer' - or the synonym according to your locale/language)
    9) (==>>>REQUIRED<<<==)
    Go to Menu=>File=>Import then browse to your "whatevername.reg" & import it.

    10)
    Voila, Finished! Mount/Unmount any supported Image via Explorer Context Menu.

    PS: If you dont want to Click "OK" everytime you mount an image, you can go to the DaemonTools Icon in your Systemtray, Right click, go to Options, and there disable "Secure Mode". Of course, if you do this, its on your own risk. This disables the info prior to mounting which might show you some errors you were going to do. As always, your decision: EaseOfUse vs DetectionOfPossibleErrors.

    PPS: Thanks to LocutusOfBorg for his marvelous Daemontools, Bestest Software on the world!

    PPPS:
    Have fun,
    cheers,
    Daemonmulch
    Code:
    ##################################################
    
    
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\.cue]
    @=""
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Mount_Drive_0]
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Mount_Drive_0\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 0,\"%1\""
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Mount_Drive_1]
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Mount_Drive_1\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 1,\"%1\""
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Mount_Drive_2]
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Mount_Drive_2\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 2,\"%1\""
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Mount_Drive_3]
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Mount_Drive_3\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 3,\"%1\""
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Unmount_Drive_0]
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Unmount_Drive_0\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 0"
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Unmount_Drive_1]
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Unmount_Drive_1\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 1"
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Unmount_Drive_2]
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Unmount_Drive_2\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 2"
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Unmount_Drive_3]
    
    [HKEY_CLASSES_ROOT\.cue\Shell\Unmount_Drive_3\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 3"
    
    [HKEY_CLASSES_ROOT\.iso]
    @=""
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Mount_Drive_0]
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Mount_Drive_0\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 0,\"%1\""
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Mount_Drive_1]
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Mount_Drive_1\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 1,\"%1\""
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Mount_Drive_2]
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Mount_Drive_2\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 2,\"%1\""
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Mount_Drive_3]
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Mount_Drive_3\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 3,\"%1\""
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Unmount_Drive_0]
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Unmount_Drive_0\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 0"
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Unmount_Drive_1]
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Unmount_Drive_1\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 1"
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Unmount_Drive_2]
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Unmount_Drive_2\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 2"
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Unmount_Drive_3]
    
    [HKEY_CLASSES_ROOT\.iso\Shell\Unmount_Drive_3\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 3"
    
    
    [HKEY_CLASSES_ROOT\.mds]
    @=""
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Mount_Drive_0]
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Mount_Drive_0\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 0,\"%1\""
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Mount_Drive_1]
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Mount_Drive_1\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 1,\"%1\""
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Mount_Drive_2]
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Mount_Drive_2\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 2,\"%1\""
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Mount_Drive_3\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 3,\"%1\""
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount_Drive_0]
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount_Drive_0\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 0"
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount_Drive_1]
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount_Drive_1\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 1"
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount_Drive_2]
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount_Drive_2\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 2"
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount_Drive_3]
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount_Drive_3\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 3"
    
    [HKEY_CLASSES_ROOT\.nrg]
    @=""
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Mount_Drive_0]
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Mount_Drive_0\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 0,\"%1\""
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Mount_Drive_1]
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Mount_Drive_1\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 1,\"%1\""
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Mount_Drive_2]
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Mount_Drive_2\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 2,\"%1\""
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Mount_Drive_3]
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Mount_Drive_3\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 3,\"%1\""
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Unmount_Drive_0]
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Unmount_Drive_0\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 0"
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Unmount_Drive_1]
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Unmount_Drive_1\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 1"
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Unmount_Drive_2]
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Unmount_Drive_2\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 2"
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Unmount_Drive_3]
    
    [HKEY_CLASSES_ROOT\.nrg\Shell\Unmount_Drive_3\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 3"
    Last edited by daemonmulch; 07.01.2006, 17:04. Reason: there are spaces in the post which were NOT in the original text, which is ESPECIALLY dangerous for a REGISTRY SKRIPT!!!

  • #2
    Watch It !! Important Info !!

    FORGET THIS POST, ISSUE HAS BEEN FIXED.

    (just a problem with missing [code] tags in the original posting. Anyhow, issue is fixed, nothing to distract you from the original post.)

    cheers,
    have fun,
    daemonmulch
    Last edited by daemonmulch; 07.01.2006, 19:24.

    Comment


    • #3
      ...

      Fixed your post (by adding [code] tags)!
      Sorry for the inconvenience in the first place.
      the modern world:
      net helpmsg 4006

      Comment


      • #4
        Still didn't work

        I tried reading through different threads and also putting mod'd registry entries in using the template here. Still no context mount in Windows Explorer for me.

        The drivers loaded are:

        Microsoft:
        cdrom.sys
        imapi.sys
        redbook.sys
        storprop.dll

        NERO:
        InCDPass.Sys
        InCDRm.Sys

        I killed the InCD process and still no luck. Other than Daemon and NERO, I have UltraISO and Alcohol 120% loaded. Alcohol has 0 virtual drives set. UltraISO is default association for ISO images.

        Daemon Tools (v4.03HE) has a single VD set, which that and the path are what I mod'd from the reg hack. I can mount an ISO just fine using Daemon from the task bar.

        Any thoughts?

        Comment


        • #5
          Further along

          OK, an update. Still haven't figured out the initial issue, but what I did is created for file type ISO a new action called Mount and gave it this command:

          "C:\Program Files\DAEMON Tools\daemon.exe" -mount 0,"%1"

          It adds the %1% in there automatically, so it is not needed.

          But, when I made one for Unmount using this command:

          "C:\Program Files\DAEMON Tools\daemon.exe" -unmount 0

          it always adds the %1 in there at the end, so I keep getting an "Error in Command Line" message.

          Another solution was to make a SendTo addition and send the CD image to a shortcut which launches Daemon Tools. But haven't gotten unmount for that one.


          BTW (and most IMPORTANT) - Thanks for the great app. It kicks a$$. And thank you for any help (in advance).


          UCG

          Comment


          • #6
            pointing to thread awxDTools keeps saying something about a .dll

            Originally Posted by UnderCoverGuy
            OK, an update. Still haven't figured out the initial issue, but what I did is created for file type ISO a new action called Mount and gave it this command:

            "C:\Program Files\DAEMON Tools\daemon.exe" -mount 0,"%1"

            It adds the %1% in there automatically, so it is not needed.

            But, when I made one for Unmount using this command:

            "C:\Program Files\DAEMON Tools\daemon.exe" -unmount 0

            it always adds the %1 in there at the end, so I keep getting an "Error in Command Line" message.

            Another solution was to make a SendTo addition and send the CD image to a shortcut which launches Daemon Tools. But haven't gotten unmount for that one.


            BTW (and most IMPORTANT) - Thanks for the great app. It kicks a$$. And thank you for any help (in advance).


            UCG

            Check out the program used in this post:

            Just as an aside, I found a way to trick this...
            the modern world:
            net helpmsg 4006

            Comment


            • #7
              Resolved!

              Thanks for the link. The awxDTools tools worked great!

              Appreciate the assistance.

              UCG

              :wink:

              Comment


              • #8
                anyone know of a way to get these mount options into a menu-style item (expandable) rather than individual mounts in the root of the context menu?

                Thanks!

                Comment

                Working...
                X