/ src / PackageIdentity / AppxManifest.xml
AppxManifest.xml
  1  <?xml version="1.0" encoding="utf-8"?>
  2  <!-- Sparse package manifest (moved to PackageIdentity folder for cleaner organization).
  3       Based on Windows AI Foundry WPF sparse sample with PowerOCR customizations. -->
  4  <Package 
  5    xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
  6    xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
  7    xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2"
  8    xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
  9    xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
 10    xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
 11    xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
 12    xmlns:systemai="http://schemas.microsoft.com/appx/manifest/systemai/windows10"
 13    xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10"
 14    IgnorableNamespaces="uap uap2 uap3 rescap desktop uap10 systemai com">
 15    <Identity
 16      Name="Microsoft.PowerToys.SparseApp"
 17      Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
 18      Version="0.0.1.0" />
 19  
 20    <Properties>
 21      <DisplayName>PowerToys.SparseApp</DisplayName>
 22      <PublisherDisplayName>PowerToys</PublisherDisplayName>
 23      <Logo>Images\StoreLogo.png</Logo>
 24      <uap10:AllowExternalContent>true</uap10:AllowExternalContent>
 25    </Properties>
 26  
 27    <Resources>
 28      <Resource Language="en-us" />
 29    </Resources>
 30    <Dependencies>
 31      <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.19000.0" MaxVersionTested="10.0.26226.0" />
 32    </Dependencies>
 33    <Capabilities>
 34      <Capability Name="internetClient" />
 35      <rescap:Capability Name="runFullTrust" />
 36      <systemai:Capability Name="systemAIModels"/>
 37      <rescap:Capability Name="unvirtualizedResources"/>
 38    </Capabilities>
 39  
 40    <Applications>
 41      <Application Id="PowerToys.OCR" Executable="PowerToys.PowerOCR.exe" EntryPoint="Windows.FullTrustApplication">
 42        <uap:VisualElements
 43          DisplayName="PowerToys.OCR"
 44          Description="PowerToys OCR Module"
 45          BackgroundColor="transparent"
 46          Square150x150Logo="Images\Square150x150Logo.png"
 47          Square44x44Logo="Images\Square44x44Logo.png"
 48          AppListEntry="none">
 49        </uap:VisualElements>
 50      </Application>
 51      <Application Id="PowerToys.SettingsUI" Executable="WinUI3Apps\PowerToys.Settings.exe" EntryPoint="Windows.FullTrustApplication">
 52        <uap:VisualElements
 53          DisplayName="PowerToys.SettingsUI"
 54          Description="PowerToys Settings UI"
 55          BackgroundColor="transparent"
 56          Square150x150Logo="Images\Square150x150Logo.png"
 57          Square44x44Logo="Images\Square44x44Logo.png"
 58          AppListEntry="none">
 59        </uap:VisualElements>
 60      </Application>
 61      <Application Id="PowerToys.ImageResizerUI" Executable="WinUI3Apps\PowerToys.ImageResizer.exe" EntryPoint="Windows.FullTrustApplication">
 62        <uap:VisualElements
 63          DisplayName="PowerToys.ImageResizer"
 64          Description="PowerToys Image Resizer UI"
 65          BackgroundColor="transparent"
 66          Square150x150Logo="Images\Square150x150Logo.png"
 67          Square44x44Logo="Images\Square44x44Logo.png"
 68          AppListEntry="none">
 69        </uap:VisualElements>
 70      </Application>
 71      <Application Id="PowerToys.CmdPalExtension" Executable="Microsoft.CmdPal.Ext.PowerToys.exe" EntryPoint="Windows.FullTrustApplication">
 72        <uap:VisualElements
 73          DisplayName="PowerToys.CommandPaletteExtension"
 74          Description="PowerToys Command Palette Extension"
 75          BackgroundColor="transparent"
 76          Square150x150Logo="Images\Square150x150Logo.png"
 77          Square44x44Logo="Images\Square44x44Logo.png"
 78          AppListEntry="none">
 79        </uap:VisualElements>
 80        <Extensions>
 81          <com:Extension Category="windows.comServer">
 82            <com:ComServer>
 83              <com:ExeServer Executable="Microsoft.CmdPal.Ext.PowerToys.exe" Arguments="-RegisterProcessAsComServer" DisplayName="PowerToys Command Palette Extension">
 84                <com:Class Id="7EC02C7D-8F98-4A2E-9F23-B58C2C2F2B17" DisplayName="PowerToys Command Palette Extension" />
 85              </com:ExeServer>
 86            </com:ComServer>
 87          </com:Extension>
 88          <uap3:Extension Category="windows.appExtension">
 89            <uap3:AppExtension Name="com.microsoft.commandpalette"
 90              Id="PowerToys"
 91              PublicFolder="Public"
 92              DisplayName="PowerToys"
 93              Description="Surface PowerToys commands inside Command Palette">
 94              <uap3:Properties>
 95                <CmdPalProvider>
 96                  <Activation>
 97                    <CreateInstance ClassId="7EC02C7D-8F98-4A2E-9F23-B58C2C2F2B17" />
 98                  </Activation>
 99                  <SupportedInterfaces>
100                    <Commands/>
101                  </SupportedInterfaces>
102                </CmdPalProvider>
103              </uap3:Properties>
104            </uap3:AppExtension>
105          </uap3:Extension>
106        </Extensions>
107      </Application>
108    </Applications>
109  </Package>