Documentation ¶
Overview ¶
Package windowsmsi encodes the process of building a Windows MSI installer from the given Go toolchain .tar.gz binary archive.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructInstaller ¶
func ConstructInstaller(_ context.Context, workDir, tgzPath string, opt InstallerOptions) (msiPath string, _ error)
ConstructInstaller constructs an installer for the provided Go toolchain .tar.gz binary archive using workDir as a working directory, and returns the output path.
It's intended to run on a Windows system where the WiX tools can run.
Types ¶
type InstallerOptions ¶
type InstallerOptions struct {
GOARCH string // The target GOARCH.
}
InstallerOptions holds options for constructing the installer.
Click to show internal directories.
Click to hide internal directories.