Saturday, February 2, 2013

INSTALL PACKAGES Print These Codes

http://msdn.microsoft.com/en-us/library/windows/desktop/hh973484(v=vs.85).aspx


Packaging API (Windows)

Windows Desktop App DevelopmentDesktop app development documentationApplication Installation and ServicingPackaging, deployment, and query of Windows Store appsReferencePackaging APIIAppxBlockMapBlockIAppxBlockMapBlocksEnumeratorIAppxBlockMapFileIAppxBlockMapFilesEnumeratorIAppxBlockMapReaderIAppxFactoryIAppxFileIAppxFilesEnumeratorIAppxManifestApplicationIAppxManifestApplicationsEnumeratorIAppxManifestPackageDependenciesEnumeratorIAppxManifestPackageDependencyIAppxManifestDeviceCapabilitiesEnumeratorIAppxManifestPackageIdIAppxManifestPropertiesIAppxManifestReaderIAppxManifestResourcesEnumeratorIAppxPackageReaderIAppxPackageWriterAPPX_CAPABILITIESAPPX_COMPRESSION_OPTIONAPPX_FOOTPRINT_FILE_TYPEAPPX_PACKAGE_ARCHITECTUREAPPX_PACKAGE_SETTINGSThis topic has not yet been rated - Rate this topicLearn about the packaging API, which you can use to create, read, and write app packages. Each app package contains the files that constitute a Windows Store app, and a manifest file that describes the software to Windows.TopicDescriptionIAppxBlockMapBlockThe IAppxBlockMapBlock interface provides a read-only object that represents an individual block within a file contained in the block map file (AppxBlockMap.xml) for the App package. The IAppxBlockMapFile::GetBlocks method is used to return an enumerator for traversing and retrieving the individual blocks of a file listed in the package block map.IAppxBlockMapBlocksEnumeratorEnumerates the blocks from a block map in a single file.IAppxBlockMapFileRepresents a file in the block map.IAppxBlockMapFilesEnumeratorEnumerates the files from a block map.IAppxBlockMapReaderRepresents a read-only object model for block maps that provides access to the file attributes and block hashes.IAppxFactoryCreates objects for reading and writing app packages.IAppxFileRetrieves information about a payload or footprint file in a package.IAppxFilesEnumeratorEnumerates the payload files in a package.IAppxManifestApplicationProvides access to attribute values of the application.IAppxManifestApplicationsEnumeratorEnumerates the applications defined in the package manifest.IAppxManifestPackageDependenciesEnumeratorEnumerates the package dependencies defined in the package manifest.IAppxManifestPackageDependencyDescribes the dependency of one package on another package.IAppxManifestDeviceCapabilitiesEnumeratorEnumerates the device capabilities defined in the package manifest.IAppxManifestPackageIdProvides access to the package identity.IAppxManifestPropertiesProvides read-only access to the properties section of a package manifest.IAppxManifestReaderRepresents an object model of the package manifest that provides methods to access manifest elements and attributes.IAppxManifestResourcesEnumeratorEnumerates the resources defined in the package manifest.IAppxPackageReaderProvides a read-only object model for app packages.IAppxPackageWriterProvides a write-only object model for app packages.APPX_CAPABILITIESSpecifies the capabilities or privileges requested by a package.APPX_COMPRESSION_OPTIONSpecifies the degree of compression used to store the file in the package.APPX_FOOTPRINT_FILE_TYPESpecifies the type of footprint file in a package.APPX_PACKAGE_ARCHITECTURESpecifies the processor architectures supported by a package.APPX_PACKAGE_SETTINGSRepresents package settings used to create a package. 


When an API fails, it returns an error code that describes the problem.If the error code doesn't provide enough info, you can get detailed event logs that provide more info to help you diagnose the cause of the problem. To access the packaging and deployment event logs:Run eventvwr.mscGo to Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows.The first log is AppXDeployment-Server > Microsoft-Windows-AppXDeploymentServer/Operational.The next log is AppxPackagingOM > Microsoft-Windows-AppxPackaging/Operational.You can also use the following command in PowerShell to get the first few logged events:Get-Appxlog | Out-GridView

Common error codes

This table lists the most common error codes.Error codeValueDescriptionSuggestionsERROR_BAD_FORMAT0x800700BThe package isn't correctly formatted and needs to be re-built or re-signed.You may get this error if there is a mismatch between the signing certificate subject name and the AppxManifest.xml publisher name.See How to sign an app package using SignTool.ERROR_INSTALL_OPEN_PACKAGE_FAILED0x80073CF0The package couldn't be opened.Possible causes:The package is unsigned.The publisher name doesn't match the signing certificate subject.The file:// prefix is missing or the package couldn't be found at the specified location.Check the AppxPackagingOM event log for more info.ERROR_INSTALL_PACKAGE_NOT_FOUND0x80073CF1The package couldn't be found.You may get this error while removing a package that isn't installed for the current user.ERROR_INSTALL_INVALID_PACKAGE0x80073CF2The package data isn't valid.ERROR_INSTALL_RESOLVE_DEPENDENCY_FAILED0x80073CF3The package failed update, dependency, or conflict validation.Possible causes:The incoming package conflicts with an installed package.A specified package dependency can't be found.The package doesn't support the correct processor architecture.Check the AppXDeployment-Server event log for more info.ERROR_INSTALL_OUT_OF_DISK_SPACE0x80073CF4There isn't enough disk space on your computer. Free some space and try again.ERROR_INSTALL_NETWORK_FAILURE0x80073CF5The package can't be downloaded.ERROR_INSTALL_REGISTRATION_FAILURE0x80073CF6The package can't be registered.Check the AppXDeployment-Server event log for more info.ERROR_INSTALL_DEREGISTRATION_FAILURE0x80073CF7The package can't be unregistered.You may get this error while removing a package.Check the AppXDeployment-Server event log for more info.ERROR_INSTALL_CANCEL0x80073CF8The user canceled the install request.ERROR_INSTALL_FAILED0x80073CF9Package install failed. Contact the software vendor.Check the AppXDeployment-Server event log for more info.ERROR_REMOVE_FAILED0x80073CFAPackage removal failed.You may get this error for failures that occur during package uninstall.For more info, see RemovePackageAsync.ERROR_PACKAGE_ALREADY_EXISTS0x80073CFBThe provided package is already installed, and reinstallation of the package is blocked.You may get this error if installing a package that is not bitwise identical to the package that is already installed. Note that the digital signature is also part of the package. Hence if a package is rebuilt or resigned, it is no longer bitwise identical to the previously installed package. Two possible options to fix this error are: (1) Increment the version number of the app, then rebuild and resign the package (2) Remove the old package for every user on the system before installing the new package.ERROR_NEEDS_REMEDIATION0x80073CFCThe app can't be started. Try reinstalling the app.ERROR_INSTALL_PREREQUISITE_FAILED0x80073CFDA specified install prerequisite couldn't be satisfied.ERROR_PACKAGE_REPOSITORY_CORRUPTED0x80073CFEThe package repository is corrupted.You may get this error if the folder referenced by this registry key doesn't exist or is corrupted: HKLM\Software\Microsoft\Windows\CurrentVersion\Appx\PackageRepositoryRoot. To recover from this state, refresh your PC.ERROR_INSTALL_POLICY_FAILURE0x80073CFFTo install this app, you need a developer license or a sideloading-enabled system.You may get this error if the package doesn't meet one of the following requirements:The app is deployed using F5 in Visual Studio on a computer with a Windows Store developer license.The package is signed with a Microsoft signature and deployed as part of Windows or from the Windows Store.The package is signed with a trusted signature and installed on a computer with a Windows Store developer license, a domain-joined computer with the AllowAllTrustedApps policy enabled, or a computer with a Windows Sideloading license with the AllowAllTrustedApps policy enabled.ERROR_PACKAGE_UPDATING0x80073D00The app can't be started because it's currently updating.ERROR_DEPLOYMENT_BLOCKED_BY_POLICY0x80073D01The package deployment operation is blocked by policy. Contact your system administrator.Possible causes:Package deployment is blocked by Application Control Policies.Package deployment is blocked by the "Allow deployment operations in special profiles" policy.One of the possible reasons is a need for a roaming profile. See Deploy Roaming User Profiles to set up Roaming User Profiles on user accounts. If there are no policies configured on your system and you still see this error, perhaps you are logged in with a temporary profile. Log out and log in again, then try the operation again. --------------------------------------------------------------------------------ERROR_PACKAGES_IN_USE0x80073D02The package couldn't be installed because resources it modifies are currently in use.ERROR_RECOVERY_FILE_CORRUPT0x80073D03The package couldn't be recovered because data that's necessary for recovery is corrupted.ERROR_INVALID_STAGED_SIGNATURE0x80073D04The signature isn't valid. To register in developer mode, AppxSignature.p7x and AppxBlockMap.xml must be valid or shouldn't be present.If you are a developer using F5 with Visual Studio, ensure that your built project directory doesn't contain signature or block map files from previous versions of the package.ERROR_DELETING_EXISTING_APPLICATIONDATA_STORE_FAILED0x80073D05An error occurred while deleting the package's previously existing application data.ERROR_INSTALL_PACKAGE_DOWNGRADE0x80073D06The package couldn't be installed because a higher version of this package is already installed.ERROR_SYSTEM_NEEDS_REMEDIATION0x80073D07An error in a system binary was detected. Try refreshing the PC to fix the problem.ERROR_APPX_INTEGRITY_FAILURE_EXTERNAL0x80073D08A corrupted non-Windows binary was detected on the system.ERROR_RESILIENCY_FILE_CORRUPT0x80073D09The operation couldn't be resumed because data that's necessary for recovery is corrupted.ERROR_INSTALL_FIREWALL_SERVICE_NOT_RUNNING0x80073D0AThe package couldn't be installed because the Windows Firewall service isn't running. Enable the Windows Firewall service and try again.APPX_E_PACKAGING_INTERNAL0x80080200The packaging API has encountered an internal error.APPX_E_INTERLEAVING_NOT_ALLOWED0x80080201The package isn't valid because its contents are interleaved.APPX_E_RELATIONSHIPS_NOT_ALLOWED0x80080202The package isn't valid because it contains OPC relationships.APPX_E_MISSING_REQUIRED_FILE0x80080203The package isn't valid because it's missing a manifest or block map, or a code integrity file is present but a signature file is missing.Ensure that the package isn't missing one or more of these required files:\AppxManifest.xml\AppxBlockMap.xmlIf the package contains \AppxMetadata\CodeIntegrity.cat, it must also contain \AppxSignature.p7x.APPX_E_INVALID_MANIFEST0x80080204The package's AppxManifest.xml file isn't valid.APPX_E_INVALID_BLOCKMAP0x80080205The package's AppxBlockMap.xml file isn't valid.APPX_E_CORRUPT_CONTENT0x80080206The package contents can't be read because it's corrupted.APPX_E_BLOCK_HASH_INVALID0x80080207The computed hash value of the block doesn't match the has value stored in the block map.APPX_E_REQUESTED_RANGE_TOO_LARGE0x80080208The requested byte range is over 4 GB when translated to a byte range of blocks.TRUST_E_NOSIGNATURE0x800B0100No signature is present in the subject.You may get this error if the package is unsigned or the signature isn't valid. The package must be signed to be deployed.CERT_E_UNTRUSTEDROOT0x800B0109A certificate chain processed, but terminated in a root certificate which isn't trusted by the trust provider.See Signing a package.CERT_E_CHAINING0x800B010AA certificate chain couldn't be built to a trusted root certification authority.See Signing a package.APPX_E_INVALID_SIP_CLIENT_DATA0x80080209The SIP_SUBJECTINFO structure used to sign the package didn't contain the required dataE_INVALIDARG0x80070057One or more arguments are not valid If you check the AppXDeployment-Server event log and see the following event; "While installing the package, the system failed to register the windows.repositoryExtension extension due to the following error: The parameter is incorrect."You may get this error if the manifest elements DisplayName or Description contain characters disallowed by Windows firewall; namely "|" and "all", due to which Windows fails to create the AppContainer profile for the package . Please remove these characters from the manifest and try installing the package. 

Related topics

How to sign an app package using SignToolHow to troubleshoot app package signature errors  Send comments about this topic to MicrosoftBuild date: 11/15/2012


oubleshooting packaging, deployment, and query of Windows Store apps (Windows)


http://msdn.microsoft.com/en-us/library/windows/desktop/hh446590(v=vs.85).aspx


application user model IDTBDblock mapDefines the indices and cryptographic hashes for blocks of executable code and data that are stored in the files of an app package. A BlockMap.xml file is required for every app package.dependency packageA package on which another package depends. The dependency is declared in the dependent package's manifest and not in the dependency package's manifest.dependent packageA package that takes a dependency on another package. The dependency is declared in the dependent package's manifest.footprint filesFiles within an app package that are not part of the app to be deployed. These files provide metadata pertaining to the package. Standard footprint files include the manifest, block map, stream map, and digital signature. Footprint files are created as part of the package build process. In addition per the OPC specification, [Content_Types].xml and files whose names match the "*\_rels\*.rels" pattern are footprint files.manifestAn XML file that describes the contents and metadata associated with a package including the package ID. A manifest XML file is required for every app package.OPCOpen Packaging Conventions (OPC) describes a container-file technology that is documented in the ISO/IEC 29500 and ECMA 376 standards. App packages are OPC-compliant.packageThe unit of deployment, management, and servicing software associated with the app packaging model. A package contains the files that constitute the app, along with a manifest file that describes the software to Windows.package family nameA serialized form of the package ID that uniquely represents the package family on the computer. It is suitable for naming objects such as files and folders. The package family name is similar to the package full name, but includes only the name and publisher. Because it excludes info that changes with servicing (version, architecture, and resource info), it is useful for version-independent references to the package.package full nameA serialized form of the package ID that uniquely represents this version of the package on the computer. It is suitable for naming objects such as files and folders.package IDA globally unique identifier for a package. It is composed of a tuple of attributes for the package including name, publisher, supported architecture, resource info, and version. See package full name and package family name for serialized forms of the package ID.package relative application IDTBDpayload filesThe files within an app package that are part of the app to be deployed. These files are extracted and placed in the user's installation folder.resource IDAn optional part of a package ID that is used to differentiate the resources in the package. For example, a resource ID can be used to specify the language or locale.ZIP central directoryThe byte sequences in a ZIP file that store metadata about the ZIP archive and its contents including name, size, compression settings, and location within the archive.  Send comments about this topic to MicrosoftBuild date: 11/15/2012Did you find this helpful? Yes No


earn about the packaging API, which you can use to create, read, and write app packages. Each app package contains the files that constitute a Windows Store app, and a manifest file that describes the software to Windows.TopicDescriptionIAppxBlockMapBlockThe IAppxBlockMapBlock interface provides a read-only object that represents an individual block within a file contained in the block map file (AppxBlockMap.xml) for the App package. The IAppxBlockMapFile::GetBlocks method is used to return an enumerator for traversing and retrieving the individual blocks of a file listed in the package block map.IAppxBlockMapBlocksEnumeratorEnumerates the blocks from a block map in a single file.IAppxBlockMapFileRepresents a file in the block map.IAppxBlockMapFilesEnumeratorEnumerates the files from a block map.IAppxBlockMapReaderRepresents a read-only object model for block maps that provides access to the file attributes and block hashes.IAppxFactoryCreates objects for reading and writing app packages.IAppxFileRetrieves information about a payload or footprint file in a package.IAppxFilesEnumeratorEnumerates the payload files in a package.IAppxManifestApplicationProvides access to attribute values of the application.IAppxManifestApplicationsEnumeratorEnumerates the applications defined in the package manifest.IAppxManifestPackageDependenciesEnumeratorEnumerates the package dependencies defined in the package manifest.IAppxManifestPackageDependencyDescribes the dependency of one package on another package.IAppxManifestDeviceCapabilitiesEnumeratorEnumerates the device capabilities defined in the package manifest.IAppxManifestPackageIdProvides access to the package identity.IAppxManifestPropertiesProvides read-only access to the properties section of a package manifest.IAppxManifestReaderRepresents an object model of the package manifest that provides methods to access manifest elements and attributes.IAppxManifestResourcesEnumeratorEnumerates the resources defined in the package manifest.IAppxPackageReaderProvides a read-only object model for app packages.IAppxPackageWriterProvides a write-only object model for app packages.APPX_CAPABILITIESSpecifies the capabilities or privileges requested by a package.APPX_COMPRESSION_OPTIONSpecifies the degree of compression used to store the file in the package.APPX_FOOTPRINT_FILE_TYPESpecifies the type of footprint file in a package.APPX_PACKAGE_ARCHITECTURESpecifies the processor architectures supported by a package.APPX_PACKAGE_SETTINGSRepresents package settings used to create a package. 

Related topics

SamplesCreate app package sample (CreateAppx)Extract app package contents sample (ExtractAppx)Read app package manifest info sample (DescribeAppx)TasksHow to create an app packageQuickstart: Extract app package contentsQuickstart: Read app package manifest infoConceptsApp packages and deploymentGlossaryReferenceApp package manifest schemaPackage deployment APIPackage query API  Send comments about this topic to MicrosoftBuild date: 11/15/2012Did you find this helpful? Yes No
http://msdn.microsoft.com/en-us/library/windows/desktop/hh446597(v=vs.85).aspx



When an API fails, it returns an error code that describes the problem.If the error code doesn't provide enough info, you can get detailed event logs that provide more info to help you diagnose the cause of the problem. To access the packaging and deployment event logs:Run eventvwr.mscGo to Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows.The first log is AppXDeployment-Server > Microsoft-Windows-AppXDeploymentServer/Operational.The next log is AppxPackagingOM > Microsoft-Windows-AppxPackaging/Operational.You can also use the following command in PowerShell to get the first few logged events:Get-Appxlog | Out-GridView

Common error codes

This table lists the most common error codes.Error codeValueDescriptionSuggestionsERROR_BAD_FORMAT0x800700BThe package isn't correctly formatted and needs to be re-built or re-signed.You may get this error if there is a mismatch between the signing certificate subject name and the AppxManifest.xml publisher name.See How to sign an app package using SignTool.ERROR_INSTALL_OPEN_PACKAGE_FAILED0x80073CF0The package couldn't be opened.Possible causes:The package is unsigned.The publisher name doesn't match the signing certificate subject.The file:// prefix is missing or the package couldn't be found at the specified location.Check the AppxPackagingOM event log for more info.ERROR_INSTALL_PACKAGE_NOT_FOUND0x80073CF1The package couldn't be found.You may get this error while removing a package that isn't installed for the current user.ERROR_INSTALL_INVALID_PACKAGE0x80073CF2The package data isn't valid.ERROR_INSTALL_RESOLVE_DEPENDENCY_FAILED0x80073CF3The package failed update, dependency, or conflict validation.Possible causes:The incoming package conflicts with an installed package.A specified package dependency can't be found.The package doesn't support the correct processor architecture.Check the AppXDeployment-Server event log for more info.ERROR_INSTALL_OUT_OF_DISK_SPACE0x80073CF4There isn't enough disk space on your computer. Free some space and try again.ERROR_INSTALL_NETWORK_FAILURE0x80073CF5The package can't be downloaded.ERROR_INSTALL_REGISTRATION_FAILURE0x80073CF6The package can't be registered.Check the AppXDeployment-Server event log for more info.ERROR_INSTALL_DEREGISTRATION_FAILURE0x80073CF7The package can't be unregistered.You may get this error while removing a package.Check the AppXDeployment-Server event log for more info.ERROR_INSTALL_CANCEL0x80073CF8The user canceled the install request.ERROR_INSTALL_FAILED0x80073CF9Package install failed. Contact the software vendor.Check the AppXDeployment-Server event log for more info.ERROR_REMOVE_FAILED0x80073CFAPackage removal failed.You may get this error for failures that occur during package uninstall.For more info, see RemovePackageAsync.ERROR_PACKAGE_ALREADY_EXISTS0x80073CFBThe provided package is already installed, and reinstallation of the package is blocked.You may get this error if installing a package that is not bitwise identical to the package that is already installed. Note that the digital signature is also part of the package. Hence if a package is rebuilt or resigned, it is no longer bitwise identical to the previously installed package. Two possible options to fix this error are: (1) Increment the version number of the app, then rebuild and resign the package (2) Remove the old package for every user on the system before installing the new package.ERROR_NEEDS_REMEDIATION0x80073CFCThe app can't be started. Try reinstalling the app.ERROR_INSTALL_PREREQUISITE_FAILED0x80073CFDA specified install prerequisite couldn't be satisfied.ERROR_PACKAGE_REPOSITORY_CORRUPTED0x80073CFEThe package repository is corrupted.You may get this error if the folder referenced by this registry key doesn't exist or is corrupted: HKLM\Software\Microsoft\Windows\CurrentVersion\Appx\PackageRepositoryRoot. To recover from this state, refresh your PC.ERROR_INSTALL_POLICY_FAILURE0x80073CFFTo install this app, you need a developer license or a sideloading-enabled system.You may get this error if the package doesn't meet one of the following requirements:The app is deployed using F5 in Visual Studio on a computer with a Windows Store developer license.The package is signed with a Microsoft signature and deployed as part of Windows or from the Windows Store.The package is signed with a trusted signature and installed on a computer with a Windows Store developer license, a domain-joined computer with the AllowAllTrustedApps policy enabled, or a computer with a Windows Sideloading license with the AllowAllTrustedApps policy enabled.ERROR_PACKAGE_UPDATING0x80073D00The app can't be started because it's currently updating.ERROR_DEPLOYMENT_BLOCKED_BY_POLICY0x80073D01The package deployment operation is blocked by policy. Contact your system administrator.Possible causes:Package deployment is blocked by Application Control Policies.Package deployment is blocked by the "Allow deployment operations in special profiles" policy.One of the possible reasons is a need for a roaming profile. See Deploy Roaming User Profiles to set up Roaming User Profiles on user accounts. If there are no policies configured on your system and you still see this error, perhaps you are logged in with a temporary profile. Log out and log in again, then try the operation again. --------------------------------------------------------------------------------ERROR_PACKAGES_IN_USE0x80073D02The package couldn't be installed because resources it modifies are currently in use.ERROR_RECOVERY_FILE_CORRUPT0x80073D03The package couldn't be recovered because data that's necessary for recovery is corrupted.ERROR_INVALID_STAGED_SIGNATURE0x80073D04The signature isn't valid. To register in developer mode, AppxSignature.p7x and AppxBlockMap.xml must be valid or shouldn't be present.If you are a developer using F5 with Visual Studio, ensure that your built project directory doesn't contain signature or block map files from previous versions of the package.ERROR_DELETING_EXISTING_APPLICATIONDATA_STORE_FAILED0x80073D05An error occurred while deleting the package's previously existing application data.ERROR_INSTALL_PACKAGE_DOWNGRADE0x80073D06The package couldn't be installed because a higher version of this package is already installed.ERROR_SYSTEM_NEEDS_REMEDIATION0x80073D07An error in a system binary was detected. Try refreshing the PC to fix the problem.ERROR_APPX_INTEGRITY_FAILURE_EXTERNAL0x80073D08A corrupted non-Windows binary was detected on the system.ERROR_RESILIENCY_FILE_CORRUPT0x80073D09The operation couldn't be resumed because data that's necessary for recovery is corrupted.ERROR_INSTALL_FIREWALL_SERVICE_NOT_RUNNING0x80073D0AThe package couldn't be installed because the Windows Firewall service isn't running. Enable the Windows Firewall service and try again.APPX_E_PACKAGING_INTERNAL0x80080200The packaging API has encountered an internal error.APPX_E_INTERLEAVING_NOT_ALLOWED0x80080201The package isn't valid because its contents are interleaved.APPX_E_RELATIONSHIPS_NOT_ALLOWED0x80080202The package isn't valid because it contains OPC relationships.APPX_E_MISSING_REQUIRED_FILE0x80080203The package isn't valid because it's missing a manifest or block map, or a code integrity file is present but a signature file is missing.Ensure that the package isn't missing one or more of these required files:\AppxManifest.xml\AppxBlockMap.xmlIf the package contains \AppxMetadata\CodeIntegrity.cat, it must also contain \AppxSignature.p7x.APPX_E_INVALID_MANIFEST0x80080204The package's AppxManifest.xml file isn't valid.APPX_E_INVALID_BLOCKMAP0x80080205The package's AppxBlockMap.xml file isn't valid.APPX_E_CORRUPT_CONTENT0x80080206The package contents can't be read because it's corrupted.APPX_E_BLOCK_HASH_INVALID0x80080207The computed hash value of the block doesn't match the has value stored in the block map.APPX_E_REQUESTED_RANGE_TOO_LARGE0x80080208The requested byte range is over 4 GB when translated to a byte range of blocks.TRUST_E_NOSIGNATURE0x800B0100No signature is present in the subject.You may get this error if the package is unsigned or the signature isn't valid. The package must be signed to be deployed.CERT_E_UNTRUSTEDROOT0x800B0109A certificate chain processed, but terminated in a root certificate which isn't trusted by the trust provider.See Signing a package.CERT_E_CHAINING0x800B010AA certificate chain couldn't be built to a trusted root certification authority.See Signing a package.APPX_E_INVALID_SIP_CLIENT_DATA0x80080209The SIP_SUBJECTINFO structure used to sign the package didn't contain the required dataE_INVALIDARG0x80070057One or more arguments are not valid If you check the AppXDeployment-Server event log and see the following event; "While installing the package, the system failed to register the windows.repositoryExtension extension due to the following error: The parameter is incorrect."You may get this error if the manifest elements DisplayName or Description contain characters disallowed by Windows firewall; namely "|" and "all", due to which Windows fails to create the AppContainer profile for the package . Please remove these characters from the manifest and try installing the package. 

Related topics

How to sign an app package using SignToolHow to troubleshoot app package signature errors  Send comments about this topic to MicrosoftBuild date: 11/15/2012

Learn about the package query API, which you can use to get info about the app packages installed on the system. Each app package contains the files that constitute a Windows Store app, and a manifest file that describes the software to Windows.Important  You can't use this API in a Windows Store app. If you're creating a Windows Store app, use Windows.ApplicationModel.Package and Windows.ApplicationModel.PackageId.

In this section

TopicDescriptionClosePackageInfoCloses a reference to the specified package information.GetApplicationUserModelIdGets the application user model ID for the specified process.GetCurrentApplicationUserModelIdGets the application user model ID for the current process.GetCurrentPackageFamilyNameGets the package family name for the calling process.GetCurrentPackageFullNameGets the package full name for the calling process.GetCurrentPackageIdGets the package identifier (ID) for the calling process.GetCurrentPackageInfoGets the package information for the calling process.GetCurrentPackagePathGets the package path for the calling process.GetPackageFamilyNameGets the package family name for the specified process.GetPackageFullNameGets the package full name for the specified process.GetPackageIdGets the package identifier (ID) for the specified process.GetPackageInfoGets the package information for the specified package.GetPackagePathGets the path for the specified package.GetPackagesByPackageFamilyGets the packages with the specified family name for the current user.OpenPackageInfoByFullNameOpens the package information of the specified package.PackageFamilyNameFromFullNameGets the package family name for the specified package full name.PackageFamilyNameFromIdGets the package family name for the specified package identifier.PackageFullNameFromIdGets the package full name for the specified package identifier (ID).PackageIdFromFullNameGets the package identifier (ID) for the specified package full name.PackageNameAndPublisherIdFromFamilyNameGets the package name and publisher identifier (ID) for the specified package family name.Identity constantsSpecifies the length of the strings for the package's identity fields.Package constantsSpecifies how packages are to be processed.PACKAGE_IDRepresents package identification information, such as name, version, and publisher.PACKAGE_INFORepresents package identification information that includes the package identifier, full name, and install location.PACKAGE_VERSIONRepresents the package version information. 

Related topics

ConceptsApp packages and deploymentGlossaryReferenceApp package manifest schemaPackaging APIPackage deployment API  


http://msdn.microsoft.com/en-us/library/windows/desktop/hh446597(v=vs.85).aspx

No comments:

Post a Comment