Using .dist file to set custom install location
Using .dist file to set custom install location
- Subject: Using .dist file to set custom install location
- From: "Glover,David" <email@hidden>
- Date: Tue, 25 Nov 2008 10:49:45 -0000
- Thread-topic: Using .dist file to set custom install location
Hi,
I’ve created a distribution package which has 4
components in it. One of the components I want the user to be able to
select an alternative install location. So in the .dist file, I’ve
set customLocation=”/Users/Shared/Example” for that choice/component.
Now when the user selects a custom install, they can amend
the install location from /Example to whatever they like, or they can leave it
as it is.
This is fine, but what if I want to define the value for
customLocation at install time rather than hard-code it into the .dist
file? Is it possible to call a _javascript_ function which defines the
required path and then pass customLocation the result?
I have tried calling a basic function (customLocation=“getPath()”)
that simply returns “/Users/Shared/Test” but at runtime the install
location for the component says getPath() instead of /Test!
Any help would be appreciated :o)
Kind Regards
Dave
*****************************************************************
This email has been checked by the e-Sweeper Service
*****************************************************************
|
_______________________________________________
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