redist

package
v10.3.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: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExitCode

type ExitCode struct {
	// Code is the process's exit code
	Code uint32 `json:"code"`
	// Success is true if that non-zero exit code means success
	Success bool `json:"success"`
	// Message is a human-readable message (in english) for what the exit code means
	Message string `json:"message"`
}

type RedistEntry

type RedistEntry struct {
	// FullName is the human-readable name for a redistributable
	FullName string `json:"fullName"`
	// Arch is the architecture of the redist in question
	Arch string `json:"arch"`
	// Command is the exe/msi to fire up to install the redist
	Command string `json:"command"`
	// Elevate is true if the exe/msi needs administrative rights
	Elevate bool `json:"elevate"`
	// Args are passed to the Command
	Args []string `json:"args"`
	// Version is the version of the redistributable we're distributing
	Version string `json:"version"`
	// RegistryKeys hint that the redist might already be installed, if present
	RegistryKeys []string `json:"registryKeys"`
	// DLLs hint that the redist might already be installed, if we can load them
	DLLs []string `json:"dlls"`
	// ExitCodes let prereqs installation succeed in case of non-zero exit codes
	// that mean something like "this is already installed"
	ExitCodes []*ExitCode `json:"exitCodes"`
}

type RedistRegistry

type RedistRegistry struct {
	Entries map[string]*RedistEntry `json:"entries"`
}

Jump to

Keyboard shortcuts

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