IPackageInstaller Interface Reference

Package installer interface. More...

import "MiKTeX206-packagemanager.idl";

List of all members.

Public Member Functions

HRESULT Add ([in] BSTR packageName,[in] VARIANT_BOOL toBeInstalled)
 Adds a package to the installer queue.
HRESULT SetCallback ([in] IUnknown *callback)
 Sets the client callback interface.
HRESULT InstallRemove ()
 Installs/Uninstalls packages.
HRESULT GetErrorInfo ([out, retval] ErrorInfo *errorInfo)
 Gets information about the last error.
HRESULT UpdateDb ()
 Updates the package database.
HRESULT SetRepository ([in] BSTR repository)
 Set the package repository.


Detailed Description

Package installer interface.


Member Function Documentation

HRESULT IPackageInstaller::Add ( [in] BSTR  packageName,
[in] VARIANT_BOOL  toBeInstalled 
)

Adds a package to the installer queue.

Parameters:
[in] packageName Name of the package to be installed/uninstalled.
[in] toBeInstalled Boolean value that determines whether the package shall be installed or uninstalled.

HRESULT IPackageInstaller::SetCallback ( [in] IUnknown *  callback  ) 

Sets the client callback interface.

Parameters:
[in] callback Pointer to an interface. This interface will be queried for IPackageInstallerCallback.

HRESULT IPackageInstaller::GetErrorInfo ( [out, retval] ErrorInfo errorInfo  ) 

Gets information about the last error.

Returns:
Returns the error information.

HRESULT IPackageInstaller::SetRepository ( [in] BSTR  repository  ) 

Set the package repository.

Parameters:
[in] repository The repository to be used.


The documentation for this interface was generated from the following file:
Generated on Tue May 29 21:24:54 2007 for MiKTeX by  doxygen 1.5.1-p1