Re: PackageMaker corrupting files?



In article
<fca95fa1-468e-449c-8b99-fd3acd46ea8c@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"mattdorais@xxxxxxxxx" <mattdorais@xxxxxxxxx> wrote:

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

ls doesn't show you the size of the resource fork.

(apps created with applescript apparently aren't folders like
regular apps).

"Regular" apps may or may not be packages. Script Editor gives you an
explicit choice between an app and an app-package. The latter will be
native on x86, the former is always PPC.

And any ideas why it's copying an apparently
corrupt file to the /Applications folder?

IIRC, PackageMaker creates documents that by default have "Discard
Resource Forks" turned on. Look at the Contents tab of your pmproj file.
Alternatively, changing your saved script to an app package instead of
just an app might also solve the issue. I suspect it would, but don't
know for sure.

G

--
"Harry?" Ron's voice was a mere whisper. "Do you smell something ... burning?"
- Harry Potter and the Odor of the Phoenix
.



Relevant Pages

  • Re: collecting remote system information
    ... There's a MS command line app some where on the MSDN site (complete ... There are a couple of packages on RubyForge that are cross-platform Ruby libraries for returning some of the basic information about the system. ... I just downloaded some of these for adding more information to one of the regular scripts that I run for gathering statistics about the running environment of some largely unattended scripts and to alert me if the status changes. ...
    (comp.lang.ruby)
  • Re: unix build recommendations for internal systems
    ... You may find you app is unsupported by the vendor unless you ... Try installing in a chroot jail, and copy the libraries you find you ... Treat it like a machine on the Internet. ... > packages are required for their application. ...
    (comp.security.unix)
  • Re: Win32 vs. .NET
    ... "compiles" on D7, but the changes required have been quite minor, and ... packages. ... *Always.* There is no way to make a D6 app work with a D7 ... With .NET, OTOH, your 1.1 app very likely will work with 2.0 ...
    (borland.public.delphi.non-technical)
  • Re: Python compiled?
    ... > Py2exe is surely a good compromise but it is not comparable to ... a Python app packages with py2exe and ... Windows app. ...
    (comp.lang.python)
  • Really Slow - Business Intelligence Dev Studio
    ... I'm having issues running the SQL server business dev studio to run ... some import packages. ... Every operation from opening the app, to opening a project and then ... but the app is totally unresponsive. ...
    (microsoft.public.sqlserver)