Send Installer-dev mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/installer-dev
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Installer-dev digest..."
Today's Topics:
1. License agreement installer plugin (Glover,David)
2. Installer destination is blank ? (Alec Carlson)
3. Re: Installer destination is blank ? (Scott Amory)
4. Re: pkgExtrator diverting files during install; why?
(Peyman Oreizy)
----------------------------------------------------------------------
Message: 1
Date: Wed, 16 Jul 2008 11:55:04 +0100
From: "Glover,David" <email@hidden>
Subject: License agreement installer plugin
To: <email@hidden>
Message-ID:
<email@hidden>
Content-Type: text/plain; charset="us-ascii"
Hi All,
I'm considering creating an installer plugin for a software license
agreement. I basically want to copy the existing license agreement
plugin, and edit it a bit to create my plugin.
Is it possible to use the default license agreement plugin as a
template
for my plugin? If so, where would I locate the source code for it
(and
any of the other default plugins that installer displays for that
matter)?
Any help would be greatly appreciated.
Kind regards
Dave
Promethean Limited is a company registered in England and Wales with
company number 1308938 and VAT number GB 572 2599 18
______________________________________________
Promethean Ltd and or associated and or subsidiary companies :
The views expressed in this communication may not necessarily be
the views held by Promethean Ltd and or associated and or subsidiary
companies.
This e-mail is for the exclusive use of the addressee(s). Unauthorised
disclosure, copying or distribution is prohibited.
This e-mail message has been swept for the presence of computer
viruses.
Promethean Ltd and or associated and or subsidiary companies accepts
no liability for any loss resulting from this email transmission.
Promethean, Promethean House, Lower Philips Road, Blackburn,
Lancashire, BB1 5TH, UK. Please update your records accordingly.
Thank you!
*****************************************************************
This email has been checked by the e-Sweeper Service
*****************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/pipermail/installer-dev/attachments/20080716/e5a84600/attachment.html
------------------------------
Message: 2
Date: Wed, 16 Jul 2008 11:36:51 -0500
From: Alec Carlson <email@hidden>
Subject: Installer destination is blank ?
To: <email@hidden>
Message-ID: <C4A38DD3.26241¬email@hidden>
Content-Type: text/plain; charset="iso-8859-1"
I am migrating from the old package maker to the new one so I am just
getting started. I have a pretty simple installer. It installs an
application, some documentation and a device driver. The problem I
am having
is that every time I do a build, I get the following warning for every
component: Installer destination is blank. Default destination will
be ³/².
No matter how I set the Destination field in the PackageMaker UI, it
is
always cleared out when the build is executed. In fact, I don¹t even
have to
do a build. If I just set it, do a Save, then Quit, then double-
click my
PackageMaker file, the Destination field is blank. ³Allow custom
location²
is not checked if that affects this somehow. How do I get the
Destination
path to stick when I set it ? PackageMaker version is 3.0.2...
Thanx -
Alec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/pipermail/installer-dev/attachments/20080716/b320af47/attachment.html
------------------------------
Message: 3
Date: Wed, 16 Jul 2008 10:26:53 -0700
From: Scott Amory <email@hidden>
Subject: Re: Installer destination is blank ?
To: Alec Carlson <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset="windows-1252"
We talked about this a couple days ago.
On Jul 10, 2008, at 11:53 AM, Oliver Buerschaper wrote:
When I set a destination for a component (10.5-based install
package), and save the packagemaker pmdoc, it looks fine.
But, when I reopen, the "Destination" field goes blank...no matter
where I set the destination to.
I'm also seeing this with PackageMaker 3.0.2 (174) and it's driving
me nuts
Does someone have an idea how to work around this? I'd really
appreciate any help
There is a bug on the state of this field not being saved presently.
You should be able to work around it by checking the "Allow Custom
Location" field but that of course turns on that option.
Scott
On Jul 16, 2008, at 9:36 AM, Alec Carlson wrote:
I am migrating from the old package maker to the new one so I am
just getting started. I have a pretty simple installer. It installs
an application, some documentation and a device driver. The problem
I am having is that every time I do a build, I get the following
warning for every component: Installer destination is blank. Default
destination will be “/”. No matter how I set the Destination field
in the PackageMaker UI, it is always cleared out when the build is
executed. In fact, I donÂ’t even have to do a build. If I just set
it, do a Save, then Quit, then double-click my PackageMaker file,
the Destination field is blank. “Allow custom location” is not
checked – if that affects this somehow. How do I get the Destination
path to stick when I set it ? PackageMaker version is 3.0.2...
Thanx -
Alec
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.com
This email sent to email@hidden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/pipermail/installer-dev/attachments/20080716/5f62c1b4/attachment.html
------------------------------
Message: 4
Date: Wed, 16 Jul 2008 10:28:03 -0700
From: "Peyman Oreizy" <email@hidden>
Subject: Re: pkgExtrator diverting files during install; why?
To: "Scott Amory" <email@hidden>
Cc: installer-dev <email@hidden>
Message-ID:
<email@hidden>
Content-Type: text/plain; charset="iso-8859-1"
How does the installer/pkgExtractor determine the "most appropriate"
app to
upgrade?
I realized that we shouldn't turn off relocation just because our
tester has
a dozen different versions of the app installed -- relocation is a
useful
feature. Is there something our tester can do to trigger the
installer to
upgrade the application in the /Applications folder? Maybe by
launching the
app in /Applications before running the installer? Or moving the app
folder
to the desktop and back?
Thanks
On Tue, Jul 15, 2008 at 12:57 PM, Scott Amory <email@hidden>
wrote:
Hi Peyman,
PackageMaker is enabling relocation on your package. Notice
that
the installer is finding the app that it thinks is most appropriate
to
upgrade and is relocating your install to there. The only way
presently to
turn that off via a command line build is to create a pmdoc that
has the
option turned off and use that to build.
Scott
On Jul 15, 2008, at 12:49 PM, Peyman Oreizy wrote:
I've built an installer using PackageMaker from the command line. On
my Leopard system, the install works beautifully. On our tester's
system, pkgExtrator is diverting the files to another directory.
Here's the commands I use to build the installer and the installer
log
from the tester's system. I've found other folks complaining about
this (like
http://lists.apple.com/archives/Installer-dev/2008/Mar/msg00061.html)
,
but no workarounds. Any idea what's going on? Is there a workaround?
$ xcodebuild -configuration Debug -alltargets install
$
/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/
PackageMaker
--root build/myapp.dst/Users/macbuild/Applications/MyApp.app
--info
build/myapp.dst/Users/macbuild/Applications/MyApp.app/Contents/
Info.plist
--resource build/myapp.dst/Users/macbuild/Resources
--install-to /Applications
--out build/Debug/MyApp.mpkg
--verbose
7/15/08 11:05:06 AM installdb[557] Opened receipt database on
'/'
with
schema 17.
7/15/08 11:05:06 AM Installer[549] Preparing volume
"Macintosh HD"
for
installation
7/15/08 11:05:06 AM Installer[549] Configuring volume
"Macintosh HD"
7/15/08 11:05:07 AM Installer[549] Free space on "Macintosh
HD": 7.8
GB (8339849216 bytes).
7/15/08 11:05:07 AM Installer[549] Create temporary directory
"/private/tmp/MyApp.mpkg.549tArb7K"
7/15/08 11:05:07 AM Installer[549] Processing MyApp:
7/15/08 11:05:07 AM Installer[549] Determining files to
install
7/15/08 11:05:07 AM Installer[549]
./MyApp.app installed to
/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app
7/15/08 11:05:07 AM Installer[549] Configuring
deferred files
7/15/08 11:05:07 AM Installer[549] Assembling temporary
receipt
7/15/08 11:05:07 AM Installer[549] Performing
pre-extraction actions
7/15/08 11:05:07 AM Installer[549] Creating
destination path
7/15/08 11:05:07 AM Installer[549] Validating package
payload
7/15/08 11:05:07 AM Installer[549] Starting file
extraction
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app"
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app/Contents" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app/Contents"
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app/Contents/MacOS" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app/Contents/MacOS"
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app/Contents/Resources" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app/Contents/Resources"
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app/Contents/Resources/English.lproj" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app/Contents/Resources/
English.lproj"
7/15/08 11:05:07 AM pkgExtractor[559] Diverting
"./MyApp.app/Contents/Resources/MainMenu.nib" to
"/Users/sdxlab/Downloads/Stuff/Debug/MyApp.app/Contents/Resources/
MainMenu.nib"
7/15/08 11:05:07 AM Installer[549] Performing
post-extraction actions
7/15/08 11:05:07 AM Installer[549] Finishing receipt
7/15/08 11:05:07 AM Installer[549] Removing temporary directory
"/private/tmp/MyApp.mpkg.549tArb7K"
7/15/08 11:05:07 AM Installer[549] Finalize disk "Macintosh HD"
7/15/08 11:05:07 AM Installer[549] Notifying system of updated
components
7/15/08 11:05:08 AM Installer[549] **** Summary Information
****
7/15/08 11:05:08 AM Installer[549] Operation Elapsed
time
7/15/08 11:05:08 AM Installer[549]
-----------------------------
7/15/08 11:05:08 AM Installer[549] extract 0.22
seconds
7/15/08 11:05:08 AM Installer[549] zero 0.01
seconds
7/15/08 11:05:08 AM Installer[549] install 0.50
seconds
7/15/08 11:05:08 AM Installer[549] validate 0.00
seconds
7/15/08 11:05:08 AM Installer[549] os 0.00
seconds
7/15/08 11:05:08 AM Installer[549] receipt 0.20
seconds
7/15/08 11:05:08 AM Installer[549] disk 1.01
seconds
7/15/08 11:05:08 AM Installer[549] config 0.07
seconds
7/15/08 11:05:08 AM Installer[549] Finalizing installation.
7/15/08 11:05:08 AM Installer[549] Registering applications
7/15/08 11:05:08 AM Installer[549] IFDInstallController
7555E0 state
= 5
7/15/08 11:05:08 AM Installer[549] Displaying 'Install
Succeeded' UI.
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/pipermail/installer-dev/attachments/20080716/27e22dd7/attachment.html
------------------------------
_______________________________________________
Installer-dev mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/installer-dev
End of Installer-dev Digest, Vol 47, Issue 28
*********************************************