Name

Pkg::SourceProvideOptionalFile — Make an optional file available at the local filesystem

Synopsis

string SourceProvideOptionalFile ( integer SrcId ,
  integer medianr ,
  string file );
 

Parameters

integer SrcId

Specifies the InstSrc .

integer medianr

Number of the media the file is located on ('1' for the 1st media).

string file

Filename relative to the media root.

Return

string

local path as string

Description

Let an InstSrc provide some file (make it available at the local filesystem). If the file doesn't exist don't ask user for another medium and return nil Warning: The downloaded files are removed in Pkg::SourceReleaseAll()!