Re: Distribution file and http URL as package location
Re: Distribution file and http URL as package location
- Subject: Re: Distribution file and http URL as package location
- From: Stephane Sudre <email@hidden>
- Date: Fri, 26 Oct 2012 11:27:53 +0200
On Fri, Oct 26, 2012 at 10:00 AM, Natalia Antonova
<email@hidden> wrote:
> Thanks for you response, Stephane.
>
[...]
> If Distribution file has pkg-ref pointing to local files:
> file:./Packages/1.pkg - it works fine.
> If I repackage it to contain other Distribution with pkg-ref
> http://myserver.com/1.pkg - it also works fine.
>
> But I think it would be very useful to have a way to combine two these
> options into a single one. So that to make Distribution to decide
> dynamically where to take pkgs from.
> I am now thinking about trying to double all choices - create 1 set to point
> to local pkgs, another to remote and initialize "selected" attribute with
> the result of script checking presence of pkg in local Packages folder. I
> will give it a try and then report back.
If the packages are outside the distribution (file or bundle), then
your approach (one choice for local, one choice for remote, state
based on the existence of the local file) would probably work. Just
keep in mind that the state of the choice won't probably change as you
expect it to if you add/remove the packages locally when the
installation is already running (as the states of choices are not
always re-evaluated).
_______________________________________________
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