Changeset 391 for python/trunk/Doc/library/msilib.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/msilib.rst
r2 r391 45 45 46 46 Return the string representation of a new unique identifier. This wraps the 47 Windows API functions :c func:`UuidCreate` and :cfunc:`UuidToString`.47 Windows API functions :c:func:`UuidCreate` and :c:func:`UuidToString`. 48 48 49 49 … … 61 61 .. function:: CreateRecord(count) 62 62 63 Return a new record object by calling :c func:`MSICreateRecord`. *count* is the63 Return a new record object by calling :c:func:`MSICreateRecord`. *count* is the 64 64 number of fields of the record. 65 65 … … 136 136 .. method:: Database.OpenView(sql) 137 137 138 Return a view object, by calling :c func:`MSIDatabaseOpenView`. *sql* is the SQL138 Return a view object, by calling :c:func:`MSIDatabaseOpenView`. *sql* is the SQL 139 139 statement to execute. 140 140 … … 143 143 144 144 Commit the changes pending in the current transaction, by calling 145 :c func:`MSIDatabaseCommit`.145 :c:func:`MSIDatabaseCommit`. 146 146 147 147 … … 149 149 150 150 Return a new summary information object, by calling 151 :c func:`MsiGetSummaryInformation`. *count* is the maximum number of updated151 :c:func:`MsiGetSummaryInformation`. *count* is the maximum number of updated 152 152 values. 153 153 … … 167 167 .. method:: View.Execute(params) 168 168 169 Execute the SQL query of the view, through :c func:`MSIViewExecute`. If169 Execute the SQL query of the view, through :c:func:`MSIViewExecute`. If 170 170 *params* is not ``None``, it is a record describing actual values of the 171 171 parameter tokens in the query. … … 175 175 176 176 Return a record describing the columns of the view, through calling 177 :c func:`MsiViewGetColumnInfo`. *kind* can be either ``MSICOLINFO_NAMES`` or177 :c:func:`MsiViewGetColumnInfo`. *kind* can be either ``MSICOLINFO_NAMES`` or 178 178 ``MSICOLINFO_TYPES``. 179 179 … … 181 181 .. method:: View.Fetch() 182 182 183 Return a result record of the query, through calling :c func:`MsiViewFetch`.183 Return a result record of the query, through calling :c:func:`MsiViewFetch`. 184 184 185 185 186 186 .. method:: View.Modify(kind, data) 187 187 188 Modify the view, by calling :c func:`MsiViewModify`. *kind* can be one of188 Modify the view, by calling :c:func:`MsiViewModify`. *kind* can be one of 189 189 ``MSIMODIFY_SEEK``, ``MSIMODIFY_REFRESH``, ``MSIMODIFY_INSERT``, 190 190 ``MSIMODIFY_UPDATE``, ``MSIMODIFY_ASSIGN``, ``MSIMODIFY_REPLACE``, … … 198 198 .. method:: View.Close() 199 199 200 Close the view, through :c func:`MsiViewClose`.200 Close the view, through :c:func:`MsiViewClose`. 201 201 202 202 … … 217 217 .. method:: SummaryInformation.GetProperty(field) 218 218 219 Return a property of the summary, through :c func:`MsiSummaryInfoGetProperty`.219 Return a property of the summary, through :c:func:`MsiSummaryInfoGetProperty`. 220 220 *field* is the name of the property, and can be one of the constants 221 221 ``PID_CODEPAGE``, ``PID_TITLE``, ``PID_SUBJECT``, ``PID_AUTHOR``, … … 229 229 230 230 Return the number of summary properties, through 231 :c func:`MsiSummaryInfoGetPropertyCount`.231 :c:func:`MsiSummaryInfoGetPropertyCount`. 232 232 233 233 234 234 .. method:: SummaryInformation.SetProperty(field, value) 235 235 236 Set a property through :c func:`MsiSummaryInfoSetProperty`. *field* can have the236 Set a property through :c:func:`MsiSummaryInfoSetProperty`. *field* can have the 237 237 same values as in :meth:`GetProperty`, *value* is the new value of the property. 238 238 Possible value types are integer and string. … … 242 242 243 243 Write the modified properties to the summary information stream, using 244 :c func:`MsiSummaryInfoPersist`.244 :c:func:`MsiSummaryInfoPersist`. 245 245 246 246 … … 261 261 262 262 Return the number of fields of the record, through 263 :c func:`MsiRecordGetFieldCount`.263 :c:func:`MsiRecordGetFieldCount`. 264 264 265 265 … … 278 278 .. method:: Record.SetString(field, value) 279 279 280 Set *field* to *value* through :c func:`MsiRecordSetString`. *field* must be an280 Set *field* to *value* through :c:func:`MsiRecordSetString`. *field* must be an 281 281 integer; *value* a string. 282 282 … … 285 285 286 286 Set *field* to the contents of the file named *value*, through 287 :c func:`MsiRecordSetStream`. *field* must be an integer; *value* a string.287 :c:func:`MsiRecordSetStream`. *field* must be an integer; *value* a string. 288 288 289 289 290 290 .. method:: Record.SetInteger(field, value) 291 291 292 Set *field* to *value* through :c func:`MsiRecordSetInteger`. Both *field* and292 Set *field* to *value* through :c:func:`MsiRecordSetInteger`. Both *field* and 293 293 *value* must be an integer. 294 294 … … 296 296 .. method:: Record.ClearData() 297 297 298 Set all fields of the record to 0, through :c func:`MsiRecordClearData`.298 Set all fields of the record to 0, through :c:func:`MsiRecordClearData`. 299 299 300 300 … … 354 354 355 355 356 .. class:: Directory(database, cab, basedir, physical, logical, default, component,[componentflags])356 .. class:: Directory(database, cab, basedir, physical, logical, default, [componentflags]) 357 357 358 358 Create a new directory in the Directory table. There is a current component at … … 433 433 434 434 :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. 435 database. However, no standard user interface is provided; use 436 :mod:`~distutils.command.bdist_msi` to create MSI files with a user-interface 437 for installing Python packages. 437 438 438 439
Note:
See TracChangeset
for help on using the changeset viewer.