Skip to main content

MsuPackagePayload element

Describes information about the MsuPackage payload. Cannot be specified if the owning MsuPackage specified any of SourceFile, Name, DownloadUrl, or Compressed.

Parents

MsuPackage, PayloadGroup

Attributes

CertificatePublicKey (String) : Optional public key of the certificate used to sign the payload. It is not recommended to use this attribute and rely on the Hash alone.

CertificateThumbprint (String) : Optional thumbprint of the certificate used to sign the payload. It is not recommended to use this attribute and rely on the Hash alone.

Compressed (YesNoDefaultTypeUnion) : Whether the package payload should be embedded in a container or left as an external payload.

Description (String) : Description of the file from version resources. If Hash is not specified, must not be specified.

DownloadUrl (String) : The URL to use to download the package. The following substitutions are supported:

  • {0} is replaced by the package Id.
  • {1} is replaced by the payload Id.
  • {2} is replaced by the payload file name.

Hash (HexType) : SHA-512 hash of the RemotePayload. If SourceFile is specified, must not be specified. If specified then Name, DownloadUrl, and Size are required.

Id (String) : The identifier of the package payload element.

Name (String) : The destination path and file name for this chain payload. Use this attribute to rename the chain entry point or extract it into a subfolder. The default value is the file name from the SourceFile attribute. At a minimum, the Name or SourceFile attribute must be specified. This must be a relative path ('\foo' or 'C:\foo' is not allowed).

ProductName (String) : Product name of the file from version resouces. If Hash is not specified, must not be specified.

Size (Integer) : Size of the remote file in bytes. Required if Hash is specified, otherwise must not be specified.

SourceFile (String) : Location of the package to add to the bundle. The default value is the Name attribute, if provided. If Hash is specified, must not be specified.

Version (WixVersionType) : Version of the remote file. If Hash is not specified, must not be specified.

Edit the schema for this page