• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Package install problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package install problems


  • Subject: Re: Package install problems
  • From: Christopher Ryan <email@hidden>
  • Date: Wed, 2 Nov 2005 19:03:03 -0800

Peter,

I am not really sure what you mean about hard coding the default location.

Your best bet is to make the commong.pkg and en.pkg relocatable and have the same default location (/Applications). The en.pkg would contain ./SomeApp.app/Contents/Resources/en.lproj or whatever.

By default when the user installs, both common.pkg and en.pkg will install into /Applications. If the user chooses a different location, they will both inherit the same location.

As for en.pkg and de.pkg having the same default location. I am not sure why this is a problem. /Applications is named as such on all machines, it is just that the name is localized in Finder and open dialogs to be in German.

Hopefully that clears things up. If not i would be happy helping you out more.

Chris

Hello installer-dev,

My installer is now set up as follows:

Install English.mpkg and Install Deutsch.mpkg in the root of the CD.
A hidden folder .Install containing: common.pkg, en.pkg and de.pkg

Install English.mpkg refers to common.pkg and en.pkg
Install Deutsch.mpkg refers to common.pkg and de.pkg

The problem is, the .pkg files don't seem to obey the mpkg's default
location, which is /Applications for Install English. This means the
game ends up being installed to / if the user doesn't explicitly
select somewhere to install it.

What am I doing wrong here ? I can't hard-code a default location of
/Applications in the pkg files, as this default location would be
different on the German install. I made sure there was no default
location specified in the pkg's Info.plist files, but this still
happens.

Any suggestions?

--
Best regards,
 Peter                          mailto:email@hidden

_______________________________________________

_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re[2]: Package install problems
      • From: Peter Mulholland <email@hidden>
References: 
 >Package install problems (From: Peter Mulholland <email@hidden>)

  • Prev by Date: Re: Package maker won't run script
  • Next by Date: Re[2]: Package install problems
  • Previous by thread: Package install problems
  • Next by thread: Re[2]: Package install problems
  • Index(es):
    • Date
    • Thread