Re: New to PackageMaker 3.0, could use some help
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thanks again for the guidance. Cheers Rob On 27-Feb-08, at 1:58 AM, Stéphane Sudre wrote: On Feb 26, 2008, at 9:57 PM, Robert Kukuchka wrote: The answer might be yes. - [InstallerState choiceDictionaryForIdentifier:] InstallerState_Choice_Installed _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... Hi Stéphane, Thanks for the reply. I appreciate the assistance. Just a few follow ups. 1) Ok, so I'll look more into this Installer Plugin idea. I'm not too familiar with it. I found some sample code on ADC, but nothing in the docs. Based on the fact that FLAT packages don't support Installer Plugins, should I then assume this is deprecated technology? 2) I figured out what I was doing wrong with the existing packages, simply choosing the "/" as the Installation Location allows the previous packages to use their normal file hierarchy. It's a seems as though I had to add the scripts to the Distribution Package, is this normal? 3) When I refer to "radial" behavior I'm referring to as follows: If I have selection A, B, and C which are all initially selected. I'm seeing behavior under "custom" installation where if, for example, I deselect A then try to deselect B, A selects itself again. Then I'll try to deselect C and B selects itself again. It's like whack-a-mole. I don't understand why selection of one particular component will affect any other components. 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? 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. 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Robert Kukuchka