msi

package
v10.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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