• 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: Missing Resources or everything gets installed but the application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing Resources or everything gets installed but the application


  • Subject: Re: Missing Resources or everything gets installed but the application
  • From: Greg Neagle <email@hidden>
  • Date: Tue, 13 Oct 2009 15:32:35 -0700

I also whack the TokenDefinitions and the IFPkgPathMappings in the package output - ala:

rm -f /path/to/some.pkg/Contents/Resources/TokenDefinitions.plist
defaults delete /path/to/some.pkg/Contents/Info IFPkgPathMappings
plutil -convert xml1 /path/to/some.pkg/Contents/Info.plist
chmod 664 /path/to/some.pkg/Contents/Info.plist

-Greg

On Oct 13, 2009, at 1:09 PM, David Nock wrote:


Yep, that looks like it. Should have looked at the logs more closely.

"Diverting ./Blah.app to ./Desktop/untitled folder 5/Blah.app"

I've have now tried building the installer twice, once with IFPkgFlagRelocatable ticked and once with IFPkgFlagRelocatable unticked in the Info.plist and neither installer works. Is this the correct flag to be changing?

With building the installers not using the pmproj file, I based the required Info.plist file and Description.plist file from a working installer.

Thanks
Dave


Greg Neagle wrote:
You are almost certainly being bit by the "relocation" feature/ bug. Search this list for "relocation".

-Greg

On Oct 12, 2009, at 8:01 PM, David Nock wrote:


Hi,

I have moved my main development machine to 10.5 and I'm now fighting to get our installers to build with packagemaker and then install correctly.
Fortunately we still have a 10.4 machine where everything works perfectly. The installers built on 10.4 install fine on both 10.4 and 10.5.


All installers are built through a shell script and call packagemaker to build based on the packagemaker pmproj file.
The problem here is that our Resources directory is not being included in the installer so the postinstall, postupgrade scripts are missing.


After reading the man page I saw that you can specify the Resources dir but only if you don't use the pmproj file and specify all the paths directly.
I have also tried this and the Resources are now included but then out main Application.app (bundled application) is not copied out of the installer into the correct folder. There are another 6 files in this folder and they are all copied correctly. I have opened the installer package and the Application.app is indeed present in the installer.


Has anyone encountered anything like this before?

Using PackageMaker version 3.0.3, Mac OS X 10.5.8, Intel iMac.

Cheers
Dave

--
**********************
David Nock
Senior Developer
Access-It Software Ltd
**********************

This email and any attachments are confidential and intended
exclusively for the person to whom the email is addressed.
If you are not the intended recipient, do not read, copy,
disclose or use the contents in any way. Please notify us
immediately by return email and destroy the email and attachments.
Access-It Software Ltd does not accept any liability for
any changes made to this email or attachments after sending
by Access-It Software Ltd. You must scan this email and
attachments for viruses. The opinions expressed are not
necessarily those of Access-It Software Ltd.

Access-It Software Ltd accepts no liability for any loss,
damage or consequence, whether caused by our own negligence
or not, resulting directly or indirectly from the use of this email and attachments.



_______________________________________________ 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




--
**********************
David Nock
Senior Developer
Access-It Software Ltd
**********************

This email and any attachments are confidential and intended
exclusively for the person to whom the email is addressed.
If you are not the intended recipient, do not read, copy,
disclose or use the contents in any way. Please notify us
immediately by return email and destroy the email and attachments.
Access-It Software Ltd does not accept any liability for
any changes made to this email or attachments after sending
by Access-It Software Ltd. You must scan this email and
attachments for viruses. The opinions expressed are not
necessarily those of Access-It Software Ltd.

Access-It Software Ltd accepts no liability for any loss,
damage or consequence, whether caused by our own negligence
or not, resulting directly or indirectly from the use of this email and attachments.



_______________________________________________ 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

_______________________________________________ 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
References: 
 >Missing Resources or everything gets installed but the application (From: David Nock <email@hidden>)
 >Re: Missing Resources or everything gets installed but the application (From: Greg Neagle <email@hidden>)
 >Re: Missing Resources or everything gets installed but the application (From: David Nock <email@hidden>)

  • Prev by Date: Re: Missing Resources or everything gets installed but the application
  • Next by Date: Re: Conditionally build different versions of a package?
  • Previous by thread: Re: Missing Resources or everything gets installed but the application
  • Next by thread: Missing install receipt and script parameter in Snow Leopard
  • Index(es):
    • Date
    • Thread