image
image

Go Back   macosx.com > Mac Help Forums > Switchers (Windows to Mac Converts)

Reply
 
LinkBack Thread Tools
  #1  
Old July 11th, 2009, 07:16 PM
Registered User
 
Join Date: Jul 2009
Posts: 3
Thanks: 4
Thanked 0 Times in 0 Posts
kevinmcl is on a distinguished road
DMG has no installer

Hi,

I've been using computers for a while, but only recently got a Mac. I've installed several apps on my MacBook Pro with OSX 10.5.7, both as downloaded drop-and-run, self-contained executable apps and as DMGs with app-plus-baggage.

Most of the DMGs, when I open them, show that nice, simple icon-of-the-app on the left, and a big arrow pointing to "Applications" on the right, and I just click and drag the app icon to the "Applications" icon and installation happens. Everything goes where it's supposed to, I can get rid of the DMG, and happiness reigns.

Fine.

SOME DMGs, however, have a bunch of files and folders in 'em, but they don't provide that installer dialog. A newbie would think "OK, just find an executable among all those files and drag that to "Applications". This, of course, does not work. The application might start up, but it's missing all the bits and pieces and plug-ins that still reside in the DMG.

A worldly Mac guru would then say: "Well obviously you drag all those other bits over to <the place where they need to be and where your new app expects to find them>". The newbie would come back with: "And just where IS that <place where all the ancillary pieces need to be>, and how would I know that?" (There's no "README.TXT" saying where stuff should go or how to make sure it's accessible to the executable application.)

And that's where I am right now. I've got a DMG full of FreeMind 0.8.1, which is:

- FreeMind.app
- freemind.properties
- [dir]plugins
- [dir]accesories
- [dir] doc

All those "[dir]" things are meant to indicate directories or folders.
The "doc" folder contains... (drum-roll please...) a FreeMind file that needs working Freemind to view.
I dragged "FreeMind.app" directly from the DMG to "Applications" folder, and it starts but is crippled.
So, two questions:

1) Where does all of that stuff go, and how does Mac tell FreeMind.app where to find them? Is it expected that I just stuff them somewhere (where?) and manually edit a system PATH statement to point there? Or is there an elegant MAC way that this is supposed to happen?

2) How did you know that (and thus, how should I have known it and not had to ask this newbie question)?

I'm asking about FreeMind because it's the latest, but I've encountered a few others that didn't have an installer script in the DMG, thus the same problem. Some of them I use in crippled fashion, but most I just throw away. I really should know how to install the non-automatic DMGs. Any help?

Thanks,

- Kevin (in Ottawa, Canada, mostly enjoying his Mac)

PS: The wife (with her old Windoze laptop) is mostly envious of my new Mac until something like this happens, then the sneers come out and I have to admit that I have no ammunition to counter her Mac-skepticism.

PPS: If this is already answered somewhere, please point me and accept my apology for a new thread. I did forum searches and scanned through about 200 "DMG" related threads before my eyes started to bleed
Reply With Quote
  #2  
Old July 11th, 2009, 07:46 PM
Tech
 
Join Date: Jun 2001
Location: Dover, DE
Posts: 4,615
Thanks: 1
Thanked 149 Times in 146 Posts
DeltaMac has a spectacular aura aboutDeltaMac has a spectacular aura aboutDeltaMac has a spectacular aura about
I downloaded the freemind app.
The dmg opens to a folder with everything inside.
I think you are making this much more difficult than it really is.
All you need to do is copy that complete folder out to where ever you like.
You don't have to decide where anything else go. This is pretty typical for Mac software. If the installer doesn't put files somewhere special, then you can usually assume that those files don't need to go anywhere special. If there is no actual installer, and no obvious instructions, then you can use it as is, usually copying out to the desktop, or to the Applications folder, if you want to keep track of it there.
In this case, it's simple because freemind is a Java app, which usually has everything in the same location (that folder)
The other thing to remember is: you don't need to tell OS X about the path, and where the associated files are. That's part of what a properly written app does, getting assistance from the OS X finder and file system.
As many folks will say, it's a Mac, it just works.... (well, yes, that might be wishful thinking at times, but more often than not, it does just work)
__________________
Serendipity is a lucky guess !
Reply With Quote
The Following User Says Thank You to DeltaMac For This Useful Post:
kevinmcl (July 11th, 2009)
  #3  
Old July 11th, 2009, 08:09 PM
Registered User
 
Join Date: Jul 2005
Posts: 897
Thanks: 0
Thanked 5 Times in 5 Posts
simbalala is on a distinguished road
Quote:
Originally Posted by DeltaMac View Post
All you need to do is copy that complete folder out to where ever you like.
You don't have to decide where anything else go. This is pretty typical for Mac software. If the installer doesn't put files somewhere special, then you can usually assume that those files don't need to go anywhere special.
I often create folders for applications which have extra files like readme.txt. It's just easier that way so I don't have stray read me files scattered all around. If there's any question about where to put extra files I just create the new folder with the app name.

As an aside, I usually put apps I'm just trying out to see if they're keepers in my user Applications folder (~/applications), not the main Applications folder. Eventually I move them to the main Applications folder if they're non beta and I want to keep them. Some like Webkit and Minefield never leave the ~/Applications folder because they're always being updated.
Reply With Quote
The Following User Says Thank You to simbalala For This Useful Post:
kevinmcl (July 11th, 2009)
  #4  
Old July 11th, 2009, 08:49 PM
djackmac's Avatar
Tech
 
Join Date: May 2009
Location: Ypsilanti, MI
Posts: 539
Thanks: 4
Thanked 114 Times in 112 Posts
djackmac has a spectacular aura aboutdjackmac has a spectacular aura about
What DeltaMac is saying is some apps need associated files for functionality. Just take the whole folder full of contents and drop the folder into the applications folder. Examples of other apps that function like this are at least the last 3 versions of Microsoft Office, Filemaker Pro, Appleworks, iWork...
__________________
Don't forget to hit the Thanks button if you found this information useful.
Reply With Quote
The Following User Says Thank You to djackmac For This Useful Post:
kevinmcl (July 11th, 2009)
  #5  
Old July 11th, 2009, 09:22 PM
Tech
 
Join Date: Jun 2001
Location: Dover, DE
Posts: 4,615
Thanks: 1
Thanked 149 Times in 146 Posts
DeltaMac has a spectacular aura aboutDeltaMac has a spectacular aura aboutDeltaMac has a spectacular aura about
This application (Freemind) comes in its enclosing folder already. So you don't need to create a folder for it. Just drag the folder out of the mounted image.

Those apps that djackmac mentioned have installers, although the installer is simply a file copy into a default location, usually the Applications folder. MS Office 2008 does not have the drag and drop option of older versions, and comes as an installer app, although you can drag the installer to your hard drive, and then have a somewhat faster install. Other downloads may simply have a folder with some files.
Most .dmg downloads at least provide some information about what to do with the installer/files. In this case, Freemind doesn't give a clue about what to do with the folder full of files that it provides.
__________________
Serendipity is a lucky guess !
Reply With Quote
The Following User Says Thank You to DeltaMac For This Useful Post:
kevinmcl (July 11th, 2009)
  #6  
Old July 11th, 2009, 10:47 PM
Registered User
 
Join Date: Jul 2009
Posts: 3
Thanks: 4
Thanked 0 Times in 0 Posts
kevinmcl is on a distinguished road
DMG confusion cleared up

OK, I clicked the "Thanks" button on each of those because the first post was informative (mostly) and the succeeding posts each added a little bit to either clarify what DeltaMac was saying the first time, or to provide additional info.

SO-o-o-o-o-o, I guess it makes sense. Move the entire folder to the Applications folder, and run it from there. As long as the app and its ancillary bits-and-pieces remain in the same relative positions with each other, it doesn't matter where the cohesive mess actually lives.

I guess the reason I was making it more difficult than it was is that when I got the Mac, pretty well all apps were single files in the Applications /d/i/r/e/c/t/o/r/y/... er... folder. They did have other pieces, dependencies, add-ons, plug-ins, etc., but those lived in some standard system directories.... er, I mean folders, and I didn't need to be aware unless I was uninstalling or replacing. So, it appeared that the clean and Mac-ish way was to have the executable app file in the main Applications directory, and that's what I've tried to emulate each time I add something.

Turns out I should just live with having to go an extra folder "down-tree" to launch an app. It's not so much a Windoze hang-over as it is a Linux one - needing to know where stuff is supposed to live, and keeping track of all the "standard" landing spots for this-and-that.

But now I have to ask why Simbalala finds it more efficient or comfortable to keep frequently-changing applications under ~Applications folder than under the system-wide "Applications" folder. What's the advantage? Is it only that you don't have to authenticate as administrator when installing? Or am I overlooking something again?

- Kevin (still in Ottawa, but more informed...)
Reply With Quote
  #7  
Old July 12th, 2009, 02:31 AM
Registered User
 
Join Date: Jul 2005
Posts: 897
Thanks: 0
Thanked 5 Times in 5 Posts
simbalala is on a distinguished road
Two things...

Realize that an application is already a folder, it contains the “real” executable file and support files inside. It's easy enough to see, choose an app, right click and choose “Show package contents”. Almost everyone reading this site already knows this.

About using the ~/Applications folder...

I use it as a sandbox. If I download and install something to try it out it goes in there. It's an easy folder to examine without a ton of stuff in it. I know why stuff is in there and also know that I don't have to think very hard about trashing something that is in there. I might throw away something five minutes after starting it for the first time if I don't like it, no worries. I can also look in there from time to time and just throw away apps I've not used in a long time because it's not a serious place to me, if an app was important or hard to replace it would be in the other folder.

I'm the only user of this machine so I've no need to worry about other users but if I did it would only make the case for using ~/Applications as a sandbox stronger. It's MY sandbox.

On the other hand the contents of my /Applications folder is serious stuff to me. If I've put or moved something into it I need to treat it more carefully.
Reply With Quote
  #8  
Old July 12th, 2009, 02:57 AM
djackmac's Avatar
Tech
 
Join Date: May 2009
Location: Ypsilanti, MI
Posts: 539
Thanks: 4
Thanked 114 Times in 112 Posts
djackmac has a spectacular aura aboutdjackmac has a spectacular aura about
Just try to imagine life without a registry, then you will appreciate Mac. No add/remove programs feature to deal with and still needing to worry about pieces of long since gone applications bloating the registry. If you don't like an app, drag and drop it in the trash! Most of the time just drag the app in the applications folder and be done with it for installation. But some other programs require the entire folder to be located under applications. Other programs will make you run an installer and an uninstaller. Once you've gotten used to Mac you will just know which program requires what kind of installation to run correctly.
__________________
Don't forget to hit the Thanks button if you found this information useful.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 09:25 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.