installtestlib

package
v0.0.0-...-35a3740 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package installtestlib contains utilties for dealing with windows installers.

Useful doc: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustInstall

func MustInstall(t *testing.T, ctx context.Context)

MustInstall causes a fatal error if kmscng.msi cannot be installed.

func MustNotUninstall

func MustNotUninstall(t *testing.T, ctx context.Context)

MustNotUninstall causes a fatal error if kmscng.msi is uninstalled unexpectedly.

func MustUninstall

func MustUninstall(t *testing.T, ctx context.Context)

MustUninstall causes a fatal error if kmscng.msi cannot be uninstalled.

func RunInstaller

func RunInstaller(ctx context.Context, cmd, msiRunfile string) (detailedLog string, err error)

RunInstaller runs msiexec with the provided cmd (like "/i" or `/x") followed by the runfile path to an msi installer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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