desktop6:RepairActions

Specifies installer files (.exe or .msi) that are run when the user selects the repair or reset options in the Settings page for your desktop application.

Note

This element is currently intended to be used only by desktop PC games that are packaged in an MSIXVC container. It requires the customInstallActions restricted capability.

Element hierarchy

<Package>

    <Extensions>

         <desktop6:Extension>

              <desktop6:CustomInstall>

                   <desktop6:RepairActions>

Syntax

<desktop6:RepairActions>

  <!-- Child elements -->
  desktop6:RepairAction{0,100}

</desktop6:RepairActions>

Key

{} specific range of occurrences

Attributes and elements

Attributes

None.

Child elements

Child element Description
RepairAction Specifies an installer file (.exe or .msi) that is run when the user selects the repair or reset options in the Settings page for your desktop application.

Parent elements

Parent element Description
desktop6:CustomInstall Enables your desktop application to specify one or more additional installer files (.exe or .msi) that are installed with your desktop application.

Remarks

This element requires the customInstallActions restricted capability.

Examples

<Package
  xmlns:desktop6="http://schemas.microsoft.com/appx/manifest/desktop/windows10/6"
  xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
  IgnorableNamespaces="rescap desktop6">

  <!-- ... -->
  <!-- Other entries omitted for brevity. -->
  <!-- ... -->

  <Extensions>
    <desktop6:Extension Category="windows.customInstall">
      <desktop6:CustomInstall Folder="MyInstallers">
        <desktop6:InstallActions>
          <desktop6:InstallAction File="Setup_AntiCheat.exe" Name="AC_1" Arguments="/add /silent" />
        </desktop6:InstallActions>
        <desktop6:RepairActions>
          <desktop6:RepairAction File="Setup_AntiCheat.exe" Name="AC_1" Arguments="/add /silent /force" />
        </desktop6:RepairActions>
        <desktop6:UninstallActions>
          <desktop6:UninstallAction File="Setup_AntiCheat.exe" Name="AC_1" Arguments="/remove /silent" />
        </desktop6:UninstallActions>
      </desktop6:CustomInstall>
    </desktop6:Extension>
  </Extensions>

  <Capabilities>
    <rescap:Capability Name="customInstallActions"/>
  </Capabilities>
</Package>

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/desktop/windows10/6
Minimum OS Version Windows 10 version 1903 (Build 18362)