2.2.4 Application Advertise Script
The application advertise script is a file containing a linear sequence of installation operations to be performed, such as file and registry updates, configuration database updates, and UI notifications. The file uses a binary format and is specified using Augmented Backus-Naur Form (ABNF) grammar. ABNF is specified in [RFC4234].
Each record MUST consist of an operation identifier (opcode), an argument count, and an array of arguments, essentially a serialization of the record objects to be used by the installer.
Data types supported include NULL, integer, and variable-length string and binary data. All data MUST be stored in little-endian byte ordering, with the exception of non-Unicode strings and binary stream, which are padded to a 16-bit boundary.
The application advertise script is based on Windows Installer technology and requires the author of the application advertise script file to have detailed knowledge of Windows Installer technology.<10>
The following ABNF grammar specifies the application advertise script file format.
-
AASFile = Header ProductInfo ProductPublish SourceListPublish End Header = %x02 %x09 Arguments ProductInfo = %x04 %x10 Arguments SourceListPublish = %x09 Arguments ProductPublish = %x10 %x01 Arguments End = %x03 %x03 Arguments Arguments = 1*Argument Argument = DataType Data DataType = Type [DataLength] Type = *2OCTET DataLength = *2OCTET Data = *16383OCTET