Table of Contents

Class UninstallStep

Namespace
FishMMO.Installer
Assembly
FishMMO-Installer.dll

One step of an uninstall, in the order it must run.

public sealed record UninstallStep : IEquatable<UninstallStep>
Inheritance
UninstallStep
Implements
Inherited Members

Constructors

UninstallStep(UninstallStepKind, string, string, string?, string?, string?, bool)

One step of an uninstall, in the order it must run.

public UninstallStep(UninstallStepKind Kind, string Description, string CommandLine, string? TargetPath = null, string? ExecutablePath = null, string? Arguments = null, bool ContinueOnFailure = false)

Parameters

Kind UninstallStepKind

How the step is carried out.

Description string

What the step does, in the operator's terms.

CommandLine string

The exact command line, as it is shown to the operator and as it is run. For Executable this is the quoted executable path followed by its arguments; ExecutablePath and Arguments split the same thing.

TargetPath string

The directory a DirectoryRemoval removes.

ExecutablePath string

The executable an Executable step runs.

Arguments string

Arguments for ExecutablePath.

ContinueOnFailure bool

True for steps whose failure is not a reason to abandon the uninstall — stopping a service that is already stopped, for instance. Everything else stops the run.

Properties

Arguments

Arguments for ExecutablePath.

public string? Arguments { get; init; }

Property Value

string

CommandLine

The exact command line, as it is shown to the operator and as it is run. For Executable this is the quoted executable path followed by its arguments; ExecutablePath and Arguments split the same thing.

public string CommandLine { get; init; }

Property Value

string

ContinueOnFailure

True for steps whose failure is not a reason to abandon the uninstall — stopping a service that is already stopped, for instance. Everything else stops the run.

public bool ContinueOnFailure { get; init; }

Property Value

bool

Description

What the step does, in the operator's terms.

public string Description { get; init; }

Property Value

string

ExecutablePath

The executable an Executable step runs.

public string? ExecutablePath { get; init; }

Property Value

string

Kind

How the step is carried out.

public UninstallStepKind Kind { get; init; }

Property Value

UninstallStepKind

TargetPath

The directory a DirectoryRemoval removes.

public string? TargetPath { get; init; }

Property Value

string