| Trees | Indices | Help |
|---|
|
|
object --+
|
PkgFileParser
for every file in the pkg file
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Returns list of PKG files on the given location. If True, full path is returned
otherwise only filenames. Default is set to True
Assume at location "c:bdiles", two pkg file '1.pkg' and '2.pkg', then the funtion
can be called as:
1. get_pkg_files("c:bdiles") - will return a list of pkg files with full paths.
like ['c:bdiles.pkg', 'c:bdiles.pkg']
2. get_pkg_files("c:bdiles", False) - will return a list of pkg files only.
like ['1.pkg', '2.pkg']
|
Returns data files, source and destination of the files to be installed
on the phone
e.g. location = tsrc estComponent\group
Function can be called in any of the following ways:
1. get_data_files("c:bcbc.pkg") - only data files' paths are returnd
as they are mention in the pkg file
2. get_data_files("c:bcbc.pkg", "x:") - Proper data files' paths are returnd
with drive letter included
3. get_data_files("c:bcbc.pkg", "x:", "\.dll") - Data files' paths are returnd with
drive letter included but the dll
files will be excluded if found in
the pkg file
if pkg file is not given, the function will try to find the file(s) on the given location with extension ".pkg"
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:17 2009 | http://epydoc.sourceforge.net |