
              
          <Extensions>
            <Extension Category="AppV.FileTypeAssociation">
              <FileTypeAssociation>
                <FileExtension MimeAssociation="true">
                  <Name>.docm</Name> 
                  <ProgId>contosowordpad.DocumentMacroEnabled.12</ProgId> 
                  <PerceivedType>document</PerceivedType> 
                  <ContentType>application/vnd.ms-contosowordpad.document.macroEnabled.12</ContentType> 
                  <OpenWithList>
                    <ApplicationName>wincontosowordpad.exe</ApplicationName> 
                  </OpenWithList>
                  <OpenWithProgIds>
                    <ProgId>contosowordpad.8</ProgId> 
                  </OpenWithProgIds>
                  <ShellNew>
                    <Command /> 
                    <DataBinary /> 
                    <DataText /> 
                    <FileName /> 
                    <NullFile>true</NullFile> 
                    <ItemName /> 
                    <IconPath /> 
                    <MenuText /> 
                    <Handler /> 
                  </ShellNew>
                </FileExtension>
                <ProgId>
                  <Name>contosowordpad.DocumentMacroEnabled.12</Name> 
                  <DefaultIcon>[{Windows}]\Installer\{90140000-0011-0000-0000-0000000FF1CE}\contosowordpadicon.exe,15</DefaultIcon> 
                  <Description>Blah Blah Blah</Description> 
                  <FriendlyTypeName>[{ProgramFilesX86}]\Microsoft Contoso 14\res.dll,9182</FriendlyTypeName> 
                  <InfoTip>[{ProgramFilesX86}]\Microsoft Contoso 14\res.dll,1424</InfoTip> 
                  <EditFlags>0</EditFlags> 
                  <ShellCommands>
                    <DefaultCommand>Open</DefaultCommand> 
                    <ShellCommand>
                      <ApplicationId>[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE</ApplicationId> 
                      <Name>Edit</Name> 
                      <FriendlyName>&Edit</FriendlyName> 
                      <CommandLine>"[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE" /vu "%1"</CommandLine> 
                    </ShellCommand>
                    <ShellCommand>
                      <ApplicationId>[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE</ApplicationId> 
                      <Name>New</Name> 
                      <FriendlyName>&New</FriendlyName> 
                      <CommandLine>"[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE" /n /f "%1"</CommandLine> 
                    </ShellCommand>
                    <ShellCommand>
                      <ApplicationId>[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE</ApplicationId> 
                      <Name>OnenotePrintto</Name> 
                      <FriendlyName>&Print</FriendlyName> 
                      <CommandLine>"[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE" /j "%1" "%2"</CommandLine> 
                      <Extended>1</Extended> 
                    </ShellCommand>
                    <ShellCommand>
                      <ApplicationId>[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE</ApplicationId> 
                      <Name>Open</Name> 
                      <FriendlyName>&Open</FriendlyName> 
                      <CommandLine>"[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE" /n "%1"</CommandLine> 
                      <DropTargetClassId /> 
                      <DdeExec>
                        <Application>mscontosowordpad</Application> 
                        <Topic>ShellSystem</Topic> 
                        <IfExec>[SHELLNOOP]</IfExec> 
                        <DdeCommand>[SetForeground][ShellNewDatabase "%1"]</DdeCommand> 
                      </DdeExec>
                    </ShellCommand>
                    <ShellCommand>
                      <ApplicationId>[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE</ApplicationId> 
                      <Name>OpenAsReadOnly</Name> 
                      <FriendlyName>Open as Read-Only</FriendlyName> 
                      <CommandLine>"[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE" /h /n "%1"</CommandLine> 
                      <Extended>1</Extended> 
                    </ShellCommand>
                    <ShellCommand>
                      <ApplicationId>[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE</ApplicationId> 
                      <Name>Print</Name> 
                      <FriendlyName>&Print</FriendlyName> 
                      <CommandLine>"[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE" /i "%1"</CommandLine> 
                    </ShellCommand>
                    <ShellCommand>
                      <ApplicationId>[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE</ApplicationId> 
                      <Name>Printto</Name> 
                      <CommandLine>"[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE" /j "%1" "%2"</CommandLine> 
                    </ShellCommand>
                    <ShellCommand>
                      <ApplicationId>[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE</ApplicationId> 
                      <Name>ViewProtected</Name> 
                      <FriendlyName>Open in Protected &View</FriendlyName> 
                      <CommandLine>"[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE" /vp "%1"</CommandLine> 
                      <Extended>1</Extended> 
                    </ShellCommand>
                    <ShellCommand>
                      <ApplicationId>Microsoft.Contoso.contosowordpad.2010</ApplicationId> 
                      <Name>OldContosoCommand</Name> 
                      <FriendlyName>Legacy Command Example View</FriendlyName> 
                      <CommandLine>"[{AppVPackageRoot}]\Contoso\WINcontosowordpad.EXE" /lc "%1"</CommandLine> 
                      <Extended>1</Extended> 
                      <LegacyDisable>1</LegacyDisable> 
                      <SuppressionPolicy>2</SuppressionPolicy> 
                    </ShellCommand>
                  </ShellCommands>
                </ProgId>
              </FileTypeAssociation>
            </Extension>
          </Extensions>
              
