View Full Version : Installing dmg->.pkg thru programming
satyam90
Nov 4, 2008, 05:54 AM
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?
Cromulent
Nov 4, 2008, 07:44 AM
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?
So you want to make an installer to install an installer? Are you going to make another installer to install the installer that will install the installer later on as well. Maybe make another installer to install the installer that will install the installer to finally install the installer that will install the installer?
Seems like a rather pointless exercise to me. What is the point?
satyam90
Nov 5, 2008, 03:35 AM
So you want to make an installer to install an installer? Are you going to make another installer to install the installer that will install the installer later on as well. Maybe make another installer to install the installer that will install the installer to finally install the installer that will install the installer?
Seems like a rather pointless exercise to me. What is the point?
My intention is not make another installer. I want to incorporate an option in my application to install a dmg where user specifies the path of dmg on his Mac.
satyam90
Nov 13, 2008, 02:47 AM
The best example I can give what I am expecting is: Installing Latest "Safari" (already downloaded) DMG using ObjC + Cocoa Programming.
One can see a pkg inside dmg of safari.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.