Skip to content

MsuPackagePayload element

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

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.

Parents