Re: An installer question
Re: An installer question
- Subject: Re: An installer question
- From: Ben Devries <email@hidden>
- Date: Tue, 9 Aug 2005 12:15:18 -0700
On Aug 9, 2005, at 12:09 PM, Glenn Zelniker wrote:
Bill & Ben,
Thanks for your help the other night -- I'm developing an app for
David Anthony @ Bondi Digital and we were having a terrible problem
with the installer. We solved the problem: it had to do with the
file permissions on the postflight script getting changed by a
Windows FTP server. Evidently, Windows isn't happy about executable
files that don't end in .exe, so permissions get garbled. We've
worked around that problem by changing our workflow but I'm still
having another small issue I was hoping you might help me with.
Here's the scenario:
I have a .mpkg that's wrapped in a .dmg (this is part of the
workaround to prevent Windows from mucking up permissions).
The .mpkg does a big installation job and then runs a postflight
script. The postflight does the following:
1. Starts the app the got installed from the .mpkg (using 'open')
2. Creates a desktop icon (i.e., symbolic link) for the app (using
'ln')
3. Unmounts the .dmg containing the .mpkg (using 'hdiutil unmount -
force)
4. Echoes a few lines of text to the log, just as a sanity check
5. Shuts down the installer app (via 'killall')
I'm having a problem with the postflight quitting before it gets
gone. It makes it up to step 3 above, but then I don't see any of
my sanity-check echoes and the installer app doesn't get killed.
But the installer does keep running -- it finishes the
installation, registers the app, writes receipts, etc.
I'm going nuts trying to figure out what's happening. Any ideas?
Thanks again for your help.
Glenn Zelniker
_______________________________________________
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