On 17 Dec 2008, at 11:28, Dave wrote:

Hi Mark,

Thanks a lot, it certainly is a lot easier to use and a lot less flakey, but it still doesn't work. It does not create a folder in "/ Applications" it just installs the raw files there instead. I'm giving up on PackageMaker, it just doesn't work and there doesn't seem to be any support for it.

Seems crazy that you can't do this one simple thing with it, in every other installer I've ever used this would have been a 5 min job, 2 days later using PackageMaker and still nothing. Oh well, such is life.

It would be crazy if it were true, but it's not.

I've just created a simple package maker project that installs to a sub directory of /Applications and it works absolutely fine.

Here's how I did it.

I created a directory in my home folder that mirrored the way I want the final installation to look i.e.

/Users/jeremyp/
->   /Applications
        ->   /ASubDir

I put the distribution application in ASubDir, so I have this directory structure:

/Users/jeremyp/
->   Applications/
        ->   ASubDir/
                ->   MyApp.app

In package maker, I added /Users/jeremyp/Applications as content. On the right hand pane

Install     was /Users/jeremyp/Applications
Destination was /Applications (I had to change this from "/")

After running the installer with the built package, I had a subdirectory within /Applications called ASubDir containing my application exactly as expected.





I will go back to using the AppleScript's and try using the "xattr" trick.

Thanks Again,
All the Best
Dave

On 17 Dec 2008, at 01:18, Mark Allan wrote:

On 16 Dec 2008, at 17:55, Dave wrote:
All I have done is to create an Installer with PackageMaker, but I can't get it to installer a folder with the files in it.

Have you tried using the version of PackageMaker which comes with Xcode 2.5? I'm probably in the minority here, but I find it much easier to work with than the current version. You can download Xcode 2.5 DevTools from the ADC website and then opt to install it in a different directory from the current Dev Tools. You won't be able to make use of 10.5 specific things like flat packages and signed packages etc. but if you're also targeting previous versions of OS X, then that's maybe not an issue anyway.

Mark



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/adc%40jeremyp.net

This email sent to a...@jeremyp.net

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to