Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion PackageMaker corrupting files?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mattdorais@gmail.com  
View profile  
 More options Apr 30 2008, 5:40 pm
Newsgroups: comp.sys.mac.apps
From: "mattdor...@gmail.com" <mattdor...@gmail.com>
Date: Wed, 30 Apr 2008 10:40:13 -0700 (PDT)
Local: Wed, Apr 30 2008 5:40 pm
Subject: 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.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google