Documentation
¶
Index ¶
- func Install(consumer *state.Consumer, msiPath string, logPathIn string, target string, ...) error
- func Register(ctx *mansion.Context)
- func Uninstall(consumer *state.Consumer, productCode string, onError MSIErrorCallback) error
- type MSIErrorCallback
- type MSIInfoResult
- type MSIWindowsInstallerError
- type MSIWindowsInstallerErrorResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MSIErrorCallback ¶
type MSIErrorCallback func(err MSIWindowsInstallerError)
type MSIInfoResult ¶
type MSIInfoResult struct {
ProductCode string `json:"productCode"`
InstallState string `json:"installState"`
InstallLocation string `json:"installLocation"`
}
*
- MSIInfoResult describes an MSI package's properties
func ProductInfo ¶
func ProductInfo(consumer *state.Consumer, productCode string) (*MSIInfoResult, error)
type MSIWindowsInstallerErrorResult ¶
type MSIWindowsInstallerErrorResult struct {
Type string `json:"type"`
Value MSIWindowsInstallerError `json:"value"`
}
Click to show internal directories.
Click to hide internal directories.