Advertisement
Andrew Williams
User
Karma: 0  
How are Mac programs installed? - 2008/03/06 18:03 As you may be aware from other postings, I am a 'switcher' from PC to Mac and after 10 years in the IT industry i'm fairly Windows 'blinkered' into how things should work.

In Windows when you install an application, stuff goes into the registry and normally C:Program Files. How does a program get installed on a Mac? I downloaded VMware fusion the other day which came down as a .dmg file. What is .dmg file? Is it a compressed file that expands to put files throughout the filesystem on the computer? Is it just one file that does all the work?

I can't yet get my head around this so any help and tuition would be great.
  | | The administrator has disabled public write access.
Nicky Curtis
Admin
Karma: 19  
Re:How are Mac programs installed? - 2008/03/06 18:35 Hi there,

Yeah, I know what you mean about application installs on the Mac, so different than PC...

A dmg file is like a disc image, iso etc. When you download a dmg, it mounts just like a hard drive. Have a look at the contents of the dmg, some programs have installers but others just contain the Application, if you can see the application within the .dmg file just drag it to the applications folder and thats it. Obviously if is says setup then run that. Cannot remember what Fusion uses.

Often the contents of the .dmg file includes an alias to the applications folder so you just drag it to the alias, sometimes they even include instructions.

Its really simple just really different especially when you are a Windows User (Like dragging program contents to the Program Files would ever work!)

Cheers,

Nicky
  | | The administrator has disabled public write access.
Michael Oglesby
User
Karma: 0  
Re:How are Mac programs installed? - 2008/07/03 18:55 Dear outonalimb,

Apple Mac software does indeed install entirely from Windows PC applications. Luckily, you don't have to muck around with the Registry, it doesn't install useless .dll files everywhere, you get the picture.

Ok, lets take a typical software download like Firefox 3. You will be downloading a .dmg (a disk mountable image file) that will mount on your desktop. With Firefox 3, it's a simple matter of dragging and dropping the software from the mount disk to your Applications Folder. Yes, it's as simple as that. No installation required, in all intended purposes, it's installed. This is the simplest install that you can get.

Now, when you first time run the Firefox, it will create various files and folders on your Hard Disk. The usual places are:

username > Library
username > Library > Preferences
username > Library > Application Support
username > Library > Fonts

This is just an example for Firefox.

Sometimes, installing software requires you to run through an Installer. This is usually because the Installer needs Admin permission to install files in the Main Library Folder or the System Folder.

Again, the installer installs the main Application in the Application Folder (by default) and the list of Folders I mentioned earlier.

The beauty about the Apple Mac software is, any '.dll' files are actually with the Application. If you right-click on any application and select 'Show Package Contents', you will get to see all the components that make that specific application work. So, when you come to delete that application, you also delete all the .dll that go with it, result. All that's left is maybe some Preferences Files etc in the Folder I mentioned. Job done.
Michael Oglesby - Apple Mac Expert
www.michaeloglesby.com
  | | The administrator has disabled public write access.
Michael Oglesby
User
Karma: 0  
Re:How are Mac programs installed? - 2008/07/03 18:55 ... Michael Oglesby - Apple Mac Expert
www.michaeloglesby.com
  | | The administrator has disabled public write access.
Joomla Templates by Joomlashack
Joomla Templates and Joomla Tutorial