msi

package
v12.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2018 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(consumer *state.Consumer, msiPath string, logPathIn string, target string, onError MSIErrorCallback) error

func Register

func Register(ctx *mansion.Context)

func Uninstall

func Uninstall(consumer *state.Consumer, productCode string, onError MSIErrorCallback) error

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 Info

func Info(consumer *state.Consumer, msiPath string) (*MSIInfoResult, error)

func ProductInfo

func ProductInfo(consumer *state.Consumer, productCode string) (*MSIInfoResult, error)

type MSIWindowsInstallerError

type MSIWindowsInstallerError struct {
	Code int64  `json:"code"`
	Text string `json:"text"`
}

type MSIWindowsInstallerErrorResult

type MSIWindowsInstallerErrorResult struct {
	Type  string                   `json:"type"`
	Value MSIWindowsInstallerError `json:"value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL