Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

desktop6:MutablePackageDirectory

Specifies a folder under the %ProgramFiles%\ModifiableWindowsApps path where the contents of your desktop application's install folder are projected so that users can modify the installation files (for example, to install mods).

Note

This element is currently intended to be used only by certain types of desktop PC games that are published by Microsoft and our partners. It requires the modifiableApp restricted capability.

Element hierarchy

<Package>
   └─ <Extensions>
      └─ <desktop6:Extension>
         └─ <desktop6:MutablePackageDirectories>
            └─ <desktop6:MutablePackageDirectory>
   └─ <Applications>
      └─ <Application>
         └─ <Extensions>
            └─ <desktop6:Extension>
               └─ <desktop6:MutablePackageDirectories>
                  └─ <desktop6:MutablePackageDirectory>

Syntax

<desktop6:MutablePackageDirectory
 Target = 'A required string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", /, \, &#124;, ?, or *.' />

Attributes

Attribute Description Data type Required Default value
Target The name of a folder under the %ProgramFiles%\ModifiableWindowsApps path where the contents of your desktop application's install folder are projected so that users can modify the installation files (for example, to install mods). The folder name must be string valid for a folder name. Sub-folders in the folder name are not allowed (no / or \ characters). For more information, see Package.MutableLocation and Package.EffectiveLocation. A string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", /, , |, ?, or *. Yes

Child elements

None.

Parent elements

Parent element Description
desktop6:MutablePackageDirectories Enables your desktop application to specify one or more folders where users can modify the installation files for your application (for example, to install mods).

Requirements

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

Remarks

This element requires the modifiableApp 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.mutablePackageDirectories">
 <desktop6:MutablePackageDirectories>
 <desktop6:MutablePackageDirectory Target="ContosoGame"/>
 </desktop6:MutablePackageDirectories>
 </desktop6:Extension>
 </Extensions>
 
 <Capabilities>
 <!-- Include the required restricted capability. -->
 <rescap:Capability Name="modifiableApp"/>
 </Capabilities>
</Package>

Feedback

Was this page helpful?

Additional resources