package windowsmsi
import "golang.org/x/build/internal/installer/windowsmsi"
Package windowsmsi encodes the process of building a Windows MSI installer from the given Go toolchain .tar.gz binary archive.
Index ¶
- func ConstructInstaller(_ context.Context, workDir, tgzPath string, opt InstallerOptions) (msiPath string, _ error)
- type InstallerOptions
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.
Source Files ¶
windowsmsi.go
- Version
- v0.0.0-20250421191922-3619c213cff3 (latest)
- Published
- Apr 21, 2025
- Platform
- linux/amd64
- Imports
- 15 packages
- Last checked
- 3 months ago –
Tools for package owners.