Got it!
If I set up the following:
-
Set the
install location for the Distribution package to: “System Volume”
and leave “Volume Selected by User” and “User Home Directory”
unchecked.
-
Provide
a Destination location for the install choice housing our application and set
to allow for an alternate volume.
-
Set
the choice housing the other company’s package with an initial state of:
Selected and Hidden, but don’t provide a Destination location and do not
allow an alternate volume.
-
Set
the component for the other company’s package with a Destination of root,
but don’t allow an alternate location.
With those settings, I can install my
app to a different volume in custom setup and the other company’s package
will install to the root of the system volume. It also remains hidden from the
user and provides a seamless installation with our product.
Thanks the help everyone!
Allen Riffel
C.M. Engineer
Extensis
http://www.extensis.com/
phone: 503.274.2020 x116
email: email@hidden
Font and Creative
Assets Management Software. Trusted by Millions.
To learn more about Extensis Solutions, visit:
http://www.extensis.com/en/solutions/index.jsp
Notice:
This communication may contain privileged or other confidential
information. If you are not the
intended recipient, or believe that you have received this communication in
error, please do not print, copy, retransmit, disseminate, or otherwise use the
information. Also, please indicate
to the sender that you have received this email in error, and delete the copy
you received. Thank you.
From: Scott Amory [mailto:email@hidden]
Sent: Tuesday, July 15, 2008 3:32 PM
To: Riffel, Allen
Cc: email@hidden
Subject: Re: Default install location for package.
On
Jul 14, 2008, at 8:14 AM, Riffel, Allen wrote:
I’m having difficulty getting a
package to adhere to its default install location if the user selects a custom
location for another package in the distribution package, here’s what I
have:
I need to deploy
a package for a product from another company within our distribution package,
so I’m just adding it within its own install choice. The package needs to
go to the root of the system volume and I have it setup to do so. You can also
view the Info.plistfrom
their package and it is set to default to root and it isn’t relocatable.
I have this package hidden, but selected in our installer project. If you
install using their package, the user isn’t given a choice for an
alternate volume or location.
I also have our
application in the distribution package, but I want the user to be able to
install it to a different volume. The problem we’re having is everytime the user selects a different volume
for our application the other company’s product also goes to root of that
volume instead of installing to the root of the system volume.
I’m using PackageMaker 3.0.1 and the distribution package
project is set to support Tiger and Leopard. I’ve toyed with the settings
for the install choice and component for our app and the package from the other
company, but nothing seems to work. Is this just a quirk of the installer app
or expected behavior? I’d think this would be supported, but I could be
wrong.
Things
don't work quite the way you are expecting them to here. The volume
select screen will always apply to every package unless it is overridden by a
custom location on the customize page. What you would have to do to get
what you want would be to enable a custom install location on your visible
choice. Then when the user launches the installer they select the volume
that the hidden choice goes to and then in the custom section you would select
the new location for the visible choice.
Thanks in advance
for any help,
Font and Creative Assets Management Software. Trusted by Millions.
To learn more about
Extensis Solutions, visit:
Notice: This communication may contain
privileged or other confidential information. If you are not the intended recipient,
or believe that you have received this communication in error, please do not
print, copy, retransmit, disseminate, or otherwise use the information. Also, please indicate to the sender
that you have received this email in error, and delete the copy you
received. Thank you.
_______________________________________________
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