PackageMaker corrupting files?



I'm having some major problems with PackageMaker and I have some clues
that might help figure out what's going on. I have an app I created
from an Applescript, I saved it as an application. Using "Get Info" in
Finder tells me that it's 60 KB. Using Terminal "ls -l" tells me that
the exact same app is 13780 bytes large... that's the first strange
part (apps created with applescript apparently aren't folders like
regular apps). Now I've created a package using PackageMaker which
just installs that app to the /Applications directory. I changed the
permissions to rwxrwxr-x, chown'ed the owner to root, and group to
admin per tutorials on PackageMaker. So I build the package... When I
run it and it supposedly installs, I get an app in the /Applications
folder with an icon with a circle & line through it. When I try and
run it, it says, "You can't open the application 'MyApp' because the
Classic environment is no longer supported." The file size in Finder
now says it's 16KB large compared to the 60KB file I added to the
package (but remember in Terminal it always said it was 16KB). Now if
I manually copy the app to the /Applications folder, it works fine.
FYI - I am using a PowerPC notebook with 10.5.2 installed, fully
updated. Any ideas as to why the filesize is different depending on
what I use to view it? And any ideas why it's copying an apparently
corrupt file to the /Applications folder? I honestly don't understand
why it's so difficult for PackageMaker to do something as simple as a
copy & paste.

BTW, I have to do this with an installer because I have plug-ins that
need to be installed elsewhere.
.



Relevant Pages

  • Re: PackageMaker corrupting files?
    ... I manually copy the app to the /Applications folder, ... My next attempt was at using Automator for the same thing. ... Packagemaker doesn't even install it even though it pretends to. ...
    (comp.sys.mac.apps)
  • Re: PackageMaker set owner and permissions
    ... How can I set the right values for my app in the packagemaker. ... Apple does 775 for some reason, ... inept people have urgent need of skinny little battery cells? ...
    (comp.sys.mac.programmer.help)
  • Re: Treo 700w
    ... I installed only 1 App. ... > It installs, but will not run. ... > When you are filling in data, and you are filling a field that only ... the phone's keypad does not switch to numeric. ...
    (alt.cellular.verizon)
  • Re: A very simple OCX Question for experts
    ... > folder that's either the same as the app that requires them or a sub ... > folder off of the apps main folder. ... because too many different applications from different vendors use them. ... Let's say a user installs your app which installs the latest version of ...
    (microsoft.public.vb.general.discussion)
  • Re: Is there a global environment.plist?
    ... But shake is a hybrid app, ... installs both the package in the /Applications directory, ... application-specific plists, it seems to be in the ... machines, my time and resources are limited. ...
    (comp.sys.mac.system)