Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/msilib.rst

    r2 r391  
    4545
    4646   Return the string representation of a new unique identifier. This wraps the
    47    Windows API functions :cfunc:`UuidCreate` and :cfunc:`UuidToString`.
     47   Windows API functions :c:func:`UuidCreate` and :c:func:`UuidToString`.
    4848
    4949
     
    6161.. function:: CreateRecord(count)
    6262
    63    Return a new record object by calling :cfunc:`MSICreateRecord`. *count* is the
     63   Return a new record object by calling :c:func:`MSICreateRecord`. *count* is the
    6464   number of fields of the record.
    6565
     
    136136.. method:: Database.OpenView(sql)
    137137
    138    Return a view object, by calling :cfunc:`MSIDatabaseOpenView`. *sql* is the SQL
     138   Return a view object, by calling :c:func:`MSIDatabaseOpenView`. *sql* is the SQL
    139139   statement to execute.
    140140
     
    143143
    144144   Commit the changes pending in the current transaction, by calling
    145    :cfunc:`MSIDatabaseCommit`.
     145   :c:func:`MSIDatabaseCommit`.
    146146
    147147
     
    149149
    150150   Return a new summary information object, by calling
    151    :cfunc:`MsiGetSummaryInformation`.  *count* is the maximum number of updated
     151   :c:func:`MsiGetSummaryInformation`.  *count* is the maximum number of updated
    152152   values.
    153153
     
    167167.. method:: View.Execute(params)
    168168
    169    Execute the SQL query of the view, through :cfunc:`MSIViewExecute`. If
     169   Execute the SQL query of the view, through :c:func:`MSIViewExecute`. If
    170170   *params* is not ``None``, it is a record describing actual values of the
    171171   parameter tokens in the query.
     
    175175
    176176   Return a record describing the columns of the view, through calling
    177    :cfunc:`MsiViewGetColumnInfo`. *kind* can be either ``MSICOLINFO_NAMES`` or
     177   :c:func:`MsiViewGetColumnInfo`. *kind* can be either ``MSICOLINFO_NAMES`` or
    178178   ``MSICOLINFO_TYPES``.
    179179
     
    181181.. method:: View.Fetch()
    182182
    183    Return a result record of the query, through calling :cfunc:`MsiViewFetch`.
     183   Return a result record of the query, through calling :c:func:`MsiViewFetch`.
    184184
    185185
    186186.. method:: View.Modify(kind, data)
    187187
    188    Modify the view, by calling :cfunc:`MsiViewModify`. *kind* can be one of
     188   Modify the view, by calling :c:func:`MsiViewModify`. *kind* can be one of
    189189   ``MSIMODIFY_SEEK``, ``MSIMODIFY_REFRESH``, ``MSIMODIFY_INSERT``,
    190190   ``MSIMODIFY_UPDATE``, ``MSIMODIFY_ASSIGN``, ``MSIMODIFY_REPLACE``,
     
    198198.. method:: View.Close()
    199199
    200    Close the view, through :cfunc:`MsiViewClose`.
     200   Close the view, through :c:func:`MsiViewClose`.
    201201
    202202
     
    217217.. method:: SummaryInformation.GetProperty(field)
    218218
    219    Return a property of the summary, through :cfunc:`MsiSummaryInfoGetProperty`.
     219   Return a property of the summary, through :c:func:`MsiSummaryInfoGetProperty`.
    220220   *field* is the name of the property, and can be one of the constants
    221221   ``PID_CODEPAGE``, ``PID_TITLE``, ``PID_SUBJECT``, ``PID_AUTHOR``,
     
    229229
    230230   Return the number of summary properties, through
    231    :cfunc:`MsiSummaryInfoGetPropertyCount`.
     231   :c:func:`MsiSummaryInfoGetPropertyCount`.
    232232
    233233
    234234.. method:: SummaryInformation.SetProperty(field, value)
    235235
    236    Set a property through :cfunc:`MsiSummaryInfoSetProperty`. *field* can have the
     236   Set a property through :c:func:`MsiSummaryInfoSetProperty`. *field* can have the
    237237   same values as in :meth:`GetProperty`, *value* is the new value of the property.
    238238   Possible value types are integer and string.
     
    242242
    243243   Write the modified properties to the summary information stream, using
    244    :cfunc:`MsiSummaryInfoPersist`.
     244   :c:func:`MsiSummaryInfoPersist`.
    245245
    246246
     
    261261
    262262   Return the number of fields of the record, through
    263    :cfunc:`MsiRecordGetFieldCount`.
     263   :c:func:`MsiRecordGetFieldCount`.
    264264
    265265
     
    278278.. method:: Record.SetString(field, value)
    279279
    280    Set *field* to *value* through :cfunc:`MsiRecordSetString`. *field* must be an
     280   Set *field* to *value* through :c:func:`MsiRecordSetString`. *field* must be an
    281281   integer; *value* a string.
    282282
     
    285285
    286286   Set *field* to the contents of the file named *value*, through
    287    :cfunc:`MsiRecordSetStream`. *field* must be an integer; *value* a string.
     287   :c:func:`MsiRecordSetStream`. *field* must be an integer; *value* a string.
    288288
    289289
    290290.. method:: Record.SetInteger(field, value)
    291291
    292    Set *field* to *value* through :cfunc:`MsiRecordSetInteger`. Both *field* and
     292   Set *field* to *value* through :c:func:`MsiRecordSetInteger`. Both *field* and
    293293   *value* must be an integer.
    294294
     
    296296.. method:: Record.ClearData()
    297297
    298    Set all fields of the record to 0, through :cfunc:`MsiRecordClearData`.
     298   Set all fields of the record to 0, through :c:func:`MsiRecordClearData`.
    299299
    300300
     
    354354
    355355
    356 .. class:: Directory(database, cab, basedir, physical,  logical, default, component, [componentflags])
     356.. class:: Directory(database, cab, basedir, physical,  logical, default, [componentflags])
    357357
    358358   Create a new directory in the Directory table. There is a current component at
     
    433433
    434434:mod:`msilib` provides several classes that wrap the GUI tables in an MSI
    435 database. However, no standard user interface is provided; use :mod:`bdist_msi`
    436 to create MSI files with a user-interface for installing Python packages.
     435database. However, no standard user interface is provided; use
     436:mod:`~distutils.command.bdist_msi` to create MSI files with a user-interface
     437for installing Python packages.
    437438
    438439
Note: See TracChangeset for help on using the changeset viewer.