Table of Contents

Struct InstallCommands

Namespace
ZeroInstall.Model.Capabilities
Assembly
ZeroInstall.Model.dll

Lists the commands the application normally registers for use by Windows' "Set Program Access and Defaults". Used by registry virtualization to stand in for the actual Zero Install commands at runtime.

[TypeConverter(typeof(InstallCommandsConverter))]
public struct InstallCommands : IEquatable<InstallCommands>
Implements

Constructors

InstallCommands(string?, string?, string?, string?, string?, string?)

Lists the commands the application normally registers for use by Windows' "Set Program Access and Defaults". Used by registry virtualization to stand in for the actual Zero Install commands at runtime.

public InstallCommands(string? Reinstall, string? ReinstallArgs, string? ShowIcons, string? ShowIconsArgs, string? HideIcons, string? HideIconsArgs)

Parameters

Reinstall string

The path (relative to the installation directory) to the executable used to set an application as the default program without any arguments.

ReinstallArgs string

Additional arguments for the executable specified in Reinstall.

ShowIcons string

The path (relative to the installation directory) to the executable used to create icons/shortcuts to the application without any arguments.

ShowIconsArgs string

Additional arguments for the executable specified in ShowIcons.

HideIcons string

The path (relative to the installation directory) to the executable used to remove icons/shortcuts to the application without any arguments.

HideIconsArgs string

Additional arguments for the executable specified in HideIcons.

Properties

HideIcons

The path (relative to the installation directory) to the executable used to remove icons/shortcuts to the application without any arguments.

public string? HideIcons { readonly get; set; }

Property Value

string

HideIconsArgs

Additional arguments for the executable specified in HideIcons.

public string? HideIconsArgs { readonly get; set; }

Property Value

string

Reinstall

The path (relative to the installation directory) to the executable used to set an application as the default program without any arguments.

public string? Reinstall { readonly get; set; }

Property Value

string

ReinstallArgs

Additional arguments for the executable specified in Reinstall.

public string? ReinstallArgs { readonly get; set; }

Property Value

string

ShowIcons

The path (relative to the installation directory) to the executable used to create icons/shortcuts to the application without any arguments.

public string? ShowIcons { readonly get; set; }

Property Value

string

ShowIconsArgs

Additional arguments for the executable specified in ShowIcons.

public string? ShowIconsArgs { readonly get; set; }

Property Value

string

Methods

Deconstruct(out string?, out string?, out string?, out string?, out string?, out string?)

public readonly void Deconstruct(out string? Reinstall, out string? ReinstallArgs, out string? ShowIcons, out string? ShowIconsArgs, out string? HideIcons, out string? HideIconsArgs)

Parameters

Reinstall string
ReinstallArgs string
ShowIcons string
ShowIconsArgs string
HideIcons string
HideIconsArgs string

Equals(object)

public override readonly bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(InstallCommands)

public readonly bool Equals(InstallCommands other)

Parameters

other InstallCommands

Returns

bool

GetHashCode()

public override readonly int GetHashCode()

Returns

int

ToString()

public override readonly string ToString()

Returns

string

Operators

operator ==(InstallCommands, InstallCommands)

public static bool operator ==(InstallCommands left, InstallCommands right)

Parameters

left InstallCommands
right InstallCommands

Returns

bool

operator !=(InstallCommands, InstallCommands)

public static bool operator !=(InstallCommands left, InstallCommands right)

Parameters

left InstallCommands
right InstallCommands

Returns

bool