import "MiKTeX206-packagemanager.idl";
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. |
HRESULT IPackageInstaller::Add | ( | [in] BSTR | packageName, | |
[in] VARIANT_BOOL | toBeInstalled | |||
) |
Adds a package to the installer queue.
[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.
[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.
HRESULT IPackageInstaller::SetRepository | ( | [in] BSTR | repository | ) |
Set the package repository.
[in] | repository | The repository to be used. |