updating recent version changes

This commit is contained in:
MikeBlodge
2018-08-21 07:35:35 -07:00
parent 93c3fdd5de
commit 1e06e068c8

View File

@ -60,67 +60,68 @@ Examples:
## Conversion template file ## Conversion template file
<?xml version="1.0" encoding="utf-8"?> ```xml
<?xml version="1.0" encoding="utf-8"?>
<MsixPackagingToolTemplate
xmlns="http://schemas.microsoft.com/appx/msixpackagingtool/template/2018">
<MsixPackagingToolTemplate <Settings
xmlns="http://schemas.microsoft.com/appx/msixpackagingtool/template/2018"> AllowTelemetry="true"
ApplyAllPrepareComputerFixes="true"
GenerateCommandLineFile="true"
AllowPromptForPassword="false" >
<Settings <ExclusionItems>
AllowTelemetry="true" <FileExclusion ExcludePath="[{Cookies}]" />
ApplyAllPrepareComputerFixes="true" <FileExclusion ExcludePath="[{History}]" />
GenerateCommandLineFile="true" <FileExclusion ExcludePath="[{Cache}]" />
AllowPromptForPassword="false" > <FileExclusion ExcludePath="[{Personal}]" />
<RegistryExclusion ExcludePath= "REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Cryptography" />
<RegistryExclusion ExcludePath= "REGISTRY\MACHINE\SOFTWARE\Microsoft\Cryptography" />
<RegistryExclusion ExcludePath= "REGISTRY\MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware" />
</ExclusionItems>
</Settings>
<ExclusionItems> <PrepareComputer
<FileExclusion ExcludePath="[{Cookies}]" /> DisableDefragService="true"
<FileExclusion ExcludePath="[{History}]" /> DisableWindowsSearchService="true"
<FileExclusion ExcludePath="[{Cache}]" /> DisableSmsHostService="true"
<FileExclusion ExcludePath="[{Personal}]" /> DisableWindowsUpdateService ="true"/>
<RegistryExclusion ExcludePath= "REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Cryptography" /> <!--Note: this section takes precedence over the Settings::ApplyAllPrepareComputerFixes attribute -->
<RegistryExclusion ExcludePath= "REGISTRY\MACHINE\SOFTWARE\Microsoft\Cryptography" />
<RegistryExclusion ExcludePath= "REGISTRY\MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware" />
</ExclusionItems>
</Settings>
<PrepareComputer <SaveLocation Path="C:\users\user\Desktop" />
DisableDefragService="true"
DisableWindowsSearchService="true"
DisableSmsHostService="true"
DisableWindowsUpdateService ="true"/>
<!--Note: this section takes precedence over the Settings::ApplyAllPrepareComputerFixes attribute -->
<SaveLocation Path="C:\users\user\Desktop" /> <Installer
Path="C:\MyAppInstaller.msi"
Arguments="/quiet"
InstallLocation="C:\Program Files\MyAppInstallationLocation" />
<Installer <VirtualMachine Name="vmname" Username="myusername" />
Path="C:\MyAppInstaller.msi"
Arguments="/quiet"
InstallLocation="C:\Program Files\MyAppInstallationLocation" />
<VirtualMachine Name="vmname" Username="myusername" /> <PackageInformation
PackageName="MyAppPackageNAme"
PackageDisplayName="MyApp Display Name"
PublisherName="CN=MyPublisher"
PublisherDisplayName="MyPublisher Display Name"
Version="1.1.0.0"
MainPackageNameForModificationPackage="MainPackageIdentityName">
<PackageInformation <Applications>
PackageName="MyAppPackageNAme" <Application
PackageDisplayName="MyApp Display Name" Id="App1"
PublisherName="CN=MyPublisher" Description="MyApp"
PublisherDisplayName="MyPublisher Display Name" DisplayName="My App"
Version="1.1.0.0" ExecutableName="MyApp.exe"/>
MainPackageNameForModificationPackage="MainPackageIdentityName"> <!-- You can specify multiple application parameters for different executables in your package -->
</Applications>
<Applications> <Capabilities>
<Application </Capabilities>
Id="App1"
Description="MyApp"
DisplayName="My App"
ExecutableName="MyApp.exe"/>
<!-- You can specify multiple application parameters for different executables in your package -->
</Applications>
<Capabilities> </PackageInformation>
</Capabilities> </MsixPackagingToolTemplate>
</PackageInformation>
</MsixPackagingToolTemplate>
```
## Conversion template parameter reference ## Conversion template parameter reference
Here is the complete list of parameters that you can use in the Conversion template file. Here is the complete list of parameters that you can use in the Conversion template file.