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
ReinstallstringThe path (relative to the installation directory) to the executable used to set an application as the default program without any arguments.
ReinstallArgsstringAdditional arguments for the executable specified in Reinstall.
ShowIconsstringThe path (relative to the installation directory) to the executable used to create icons/shortcuts to the application without any arguments.
ShowIconsArgsstringAdditional arguments for the executable specified in ShowIcons.
HideIconsstringThe path (relative to the installation directory) to the executable used to remove icons/shortcuts to the application without any arguments.
HideIconsArgsstringAdditional 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
HideIconsArgs
Additional arguments for the executable specified in HideIcons.
public string? HideIconsArgs { readonly get; set; }
Property Value
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
ReinstallArgs
Additional arguments for the executable specified in Reinstall.
public string? ReinstallArgs { readonly get; set; }
Property Value
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
ShowIconsArgs
Additional arguments for the executable specified in ShowIcons.
public string? ShowIconsArgs { readonly get; set; }
Property Value
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
ReinstallstringReinstallArgsstringShowIconsstringShowIconsArgsstringHideIconsstringHideIconsArgsstring
Equals(object)
public override readonly bool Equals(object obj)
Parameters
objobject
Returns
Equals(InstallCommands)
public readonly bool Equals(InstallCommands other)
Parameters
otherInstallCommands
Returns
GetHashCode()
public override readonly int GetHashCode()
Returns
ToString()
public override readonly string ToString()
Returns
Operators
operator ==(InstallCommands, InstallCommands)
public static bool operator ==(InstallCommands left, InstallCommands right)
Parameters
leftInstallCommandsrightInstallCommands
Returns
operator !=(InstallCommands, InstallCommands)
public static bool operator !=(InstallCommands left, InstallCommands right)
Parameters
leftInstallCommandsrightInstallCommands