redist

package
v9.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: MIT Imports: 0 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

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