packageutil.exe
Packageutil is used to retrieve signing key information for a package file or to compare a base package file with an updated package file.
Packageutil provides the subcommands and functions described in the following table.
|
Command |
Description |
| packageutil license | Retrieves information about the signing key used on the specified pacakge. |
| packageutil compare | Compares two packages created by MakePkg.exe, a base package file and an updated package file. |
| packageutil info | Provides information about a package, including Version number, ContentID, ProductID, GameOS version and Encryption Key IDs. |
| packageutil chunkinfo | Provides information about the chunks in a package, including id, chunk size, and specifiers. |
packageutil license
Retrieves information about the signing key used on the specified pacakge. The license command causes packageutil to output one of the following values:
- Unsigned (/LU)
- Submission signed (/L)
- Test signed (/LT)
packageutil license <packagefile> [<ekbfile>] [/?]
|
|
Option |
Description |
| <packagefile> | Specifies the package file to examine. |
| <ekbfile> | Optionally verifies an EKB file is the correct EKB file associated with the package file. When submitting your package for certification, this test can be used to ensure you are providing the correct EKB file for the package being certified. If you specify an EKB file, packageutil will output either “Matched Package and EKB” or “ERROR: Mismatched Package and EKB” in addition to the signing key information. The EKB file contains encryption key material and is created along with the encrypted package when building a package with makepkg /l. |
| /? | Displays help text. |
packageutil compare
Compares two packages created by makepkg.exe, a base package file and an updated package file. Packages must be created using the same ContentID, and both must be created with the default encryption mode of makepkg.exe (do not supply the /L or /LU command line switches). Packageutil will produce a report including a list of all the chunks present in each package, and for each chunk, an analysis of whether the chunk was added, removed, or modified between the base package and update package. Detailed information about the files within the chunk which changed are provided when applicable. Finally, PackageUtil provides an estimate of the download size which will be performed when the console updates from the base package to the update package.
It is highly recommended that every time you submit a binary package for ingestion, you keep a copy of the package created with a fixed ContentID (can be all 0s) and without the /L or /LU flags (default encryption mode of makepkg.exe). Then when preparing future submissions, run packageutil compare to get an understanding of the impact your update will have on customers downloading the update.
packageutil compare <basepackagefile> <updatedpackagefile> [/?]
|
|
Option |
Description |
| <basepackagefile> | Specifies the base package file for the comparison. |
| <updatedpackagefile> | Specifies the updated package file for the comparison. |
| /? | Displays help text. |
packageutil info
Provides information about a package, including Version number, ContentID, ProductID, GameOS version and Encryption Key IDs.
packageutil info <packagefile>
|
|
Option |
Description |
| <packagefile> | Specifies the package file to examine. |
packageutil chunkinfo
Provides information about the chunks in a package, including id, chunk size, and specifiers.
packageutil chunkinfo <packagefile>
|
|
Option |
Description |
| <packagefile> | Specifies the package file to examine. |
See also
Application Packaging During Development
Testing Streaming Install Packages
Deployment Package Schema
Make Package Resource Index (makepri.exe)