Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New to PackageMaker 3.0, could use some help




On Feb 26, 2008, at 9:57 PM, Robert Kukuchka wrote:

Hello,
In the past I've done a mediocre amount of PackageMaker installation packages, strictly through the GUI interface. Typically it was only when I needed a KEXT installation, as most other products could handle manual installation procedures. I've changed jobs and now I'm the resident "Mac Guy" and have been prompted with a more complicated installation request. I've read over the Package Maker docs, and the Software Distribution docs, but I'm still a bit confused on a few issues.


First I'll explain my goal for the installer.
•The installer needs to first determine the system version being installed onto and make a logical branch for various components based on that. I've been able to easily replicate this by selecting the component title, not item, and setting the specific Requirements. After the installer makes the first logical branch, the end user is to be displayed a message at which point they can either continue with the installation, or quit (long winded explanation why). This message is NOT needed on the other logical branch. Is there anyway for the UI of the installer to be dynamic with respect to Requirements?

The answer might be yes.

This would require writing an Installer Plugin (if your package format is FLAT, you can't do that).

According to the APIs, you can know whether a choice will be installed or not.

- [InstallerState choiceDictionaryForIdentifier:]

InstallerState_Choice_Installed

So you can check your branch this way in the [ willEnterPane:] method of your InstallerPane subclass.

Then you can either display the explanation and the quit button or just force Installer.app to go to the next pane (You would need to take into account the Go Back case for the next pane).

•Some of the installation content are packages from a third party. Only the issue is these packages contain multiple items to install, such as Frameworks and KEXTs. How can I adjust my Distribution Package in PackageMaker GUI (or through command line) to properly install these packages? When I add them as an item in PackageMaker they set their Installation Location to /. In previous PM I was used to the notion you had to create a file structure which mirrored the installation locations, does current PackageMaker not notice this and adjust it's installation locations accordingly?

If you're not using a flat package, it should be possible to make a reference to an existing package.


Other Issues:
•I've noticed some weird "radial" behavior on the customized install screen. If say I have 2 packages and PDF as content to be installed, and I try to select / deselect various items I'm getting some toggling between the content. What is causing this and how/can I get it go away?

Not sure what you mean here. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/email@hidden

This email sent to email@hidden
References: 
 >New to PackageMaker 3.0, could use some help (From: Robert Kukuchka <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.