Murphy Mac - Screencasts and Tutorials » Page 'Customized DMG Container'

Customized DMG Container

Share

Murphy MacIf you’re sending a handful of files to another Mac user they should go in a clean-looking DMG volume. There’s no easier way to look polished and professional.

This Snippet explains how to create a content-sized DMG and have it pop the volume open on access. The steps outlined include use of the Terminal, so be sure to watch this Warning Snippet before proceeding.

UPDATE: This post has been updated. See the new version here.

NOTE:  This isn’t working in Leopard.  I don’t have a new solution yet.

Watch Now | Permalink

16 comments to “Customized DMG Container”

  1. Here is my way to customize DMG:

    1) Create a folder with all your stuff inside, including background image.
    2) With Disk Utility do New->Disk image from Folder… with Image format: Read/Write.
    3) Open the created DMG and in View Options window (Cmd+J) select the background image.
    4) Open a terminal window, write “mv ” and drag twice the background image icon on it.
    5) Move the cursor just at the beginning of the last image file name and type a dot “.”
    Ex.: $ mv /volumes/holder/faded.jpg /Volumes/holder/.faded.jpg
    6) Press enter. (This execute the command to rename the image file with a leading period to make it invisible.
    7) Back to Disk Utility and do Images->Convert, select your Read/Write DMG and save with Iamge format: “Compressed”

    I think that in this way you have not to turn On/Off Finder hidden files and to use an image file alias.

  2. That’s great, thanks. But when you double clicked on the new dmg (called bjw2.dmg) the resulting volume was still called holder. I’ve tried this on my machine and get the same problem. I.e. even after giving the new, shrunk, dmg a new name, the original volume name still appears when mounted.

    Any ideas how to get the newly mounted volume to adopt the name of its dmg?

  3. If you go back to the original DMG and access it and rename its volume you can then create a new DMG (based on that altered original) that will take on the new volume name.
    But you probably won’t want to do this as the new volume name will change the path to the image file and therefore not display a background.
    It would probably be useful to use something generic like your company name for the volume name and something more specific, like a client name, for the DMG.

  4. >Any ideas how to get the newly mounted volume to adopt the name of its dmg?

    Mount your Read/Write DMG and right click (ctrl+click) on its icon listed on Finder window sidebar, then select “Rename” on contextual menù.

  5. Remember that this won’t work if the person you’re sending it to has set “Finder/Preferences/General” to “Open new windows in column view”.

  6. Is it me or is this an easy fix? Ok here let me explain…

    When you save the first (working) dmg, save it in the name you want the final mounted volume. Lets say you want the final volume to be named “My great app” so you name the “working” dmg as such. Then when you go to make the final dmg you name it something like “My great app2.dmg”, then you can delete the “working” dmg and rename the final dmg “My great app.dmg”. Maybe i’m wrong, I am after all a noob when it comes to OSX…

  7. I’m getting confused reading all the comments!

    Tell me what we’re after here – is it that you want the volume that gets mounted (in the end) to have the same name as the final DMG?

    btw- I am reworking this screencast with a slightly different procedure that doesn’t need you to turn on hidden files in Terminal. But it’s at the end of my queue and won’t be published until next month!

  8. Hi Guys,

    I seem to be having someissues here. I am making a custom cd for our company design portfolio. I am trying to have a custom background to the cd. sooo. i’m fine till I get to the terminal issue… after I insert a “dot” before the last file name.. I get “No such file or directory”. Can you help me?

    thank you

  9. A new version of this screencast will be posted in the next few days. Email me if you need to see it now!

    murphy at murphymac dot com

  10. So will I be able to use the DMG created with a custom background to create a hybrid CD on a Windows machine?

    If not, how can I create an ISO file with a custom background Mac OS X volume for a Windows machine to create a hybrid CD?

    Thanks in advance.

  11. Is there a way to do this same process for a DMG that is compatible with pcs & mac? Presumably in MS-DOS format, unless there is another way.

  12. I would really like to utilize this for my clients but i am in a squeeze. I do not want to burn duplicates of my files. One for mac and one for pc. Is there a way to have the custom menu as described with an alias to the PC viewable folder with images. So when a:
    MAC user uses the disk they see the above with a readme file, snazzy graphics and a alias folder which leads to the files.
    And
    PC user uses the disk they see just the folder with images.

    Thanks,
    Justin

  13. I’m truly enjoying the design and layout of your website.
    It’s a very easy on the eyes which makes it much more
    enjoyable for me to come here and visit more often. Did
    you hire out a developer to create your theme?
    Great work!

  14. You can certainly see your skills within the work you write.
    The world hopes for even more passionate writers such as you who are not afraid to mention how they believe.
    All the time go after your heart.

  15. I’m not sure why but this blog is loading incredibly slow for
    me. Is anyone else having this issue or is it a issue on my
    end? I’ll check back later and see if the problem still exists.

  16. Fabulous, what a website it is! This weblog provides valuable data to us, keep
    it up.

Leave a comment