I am using Obj C with Cocoa I want to installa package which is present in dmg thru programming. For Example: I have a dmg "MyDmg.dmg" which consists of "MyPackage.pkg" Note: MyPackage.pkg is made using package maker and MyDmg.dmg by command "hdiutil" I want to write a small application which will prompt user to select the dmg. If the dmg inturn consists of any pkg file, it must be installed. I did upto selection of dmg, but I am not knowing whcih class I have to use for installing it? Also please clarify me when a dmg is double clicked, a new volume is seen.....How to get this volume name?