How to launch an installer(.pkg) programmatically in cocoa?
How to launch an installer(.pkg) programmatically in cocoa?
- Subject: How to launch an installer(.pkg) programmatically in cocoa?
- From: "Jerry" <email@hidden>
- Date: Tue, 27 Feb 2007 17:08:48 -0800
Hi,
An installer was created by using Package Maker, and my application will
download the installer and launch it. I tried NSWorkspace to launch the
application, however, it does not work. If I use the same code to launch an
application(.app), it works fine. As long as the file extension is .pkg or
dmg, the code will never work. The console shows the following error
message.
"LSOpenFromURLSpec() returned -10827 for application /MyInstaller.pkg path
(null)."
What does the message mean and is there another way to launch an installer
programmatically in cocoa?
Thanks,
Jerry
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden