3.2.5.4 Software Configuration

The software MUST be configured according to the action determined in section 3.2.5.3.

  1. If the PackageType is that of DrwFilePath, then if an installation, reinstallation, or removal is required according to the action determined above, the application advertise script MUST be retrieved and processed:

    1. The following remote file access sequences MUST be generated to copy the file locally.

      Sequence

      Description

       File Open from Client to Server

      The plug-in MUST attempt to open the application advertise script file identified by the value of the msiScriptPath attribute.

       File Read Sequences

      One or more file reads MUST be done to read the entire content of the opened file or until an error occurs.

      File Close

      A file close operation MUST be performed.

      The client's local software configuration SHOULD<18> then process the file retrieved above to install the application. Otherwise, it MAY install the application by passing the ordered list of network file paths retrieved from the package's msiFileList attribute to the client's local application installation.

    2. The software installation package at the location specified with OrderIndex 0 in the msiFileList attribute MUST be used to supply an installation on the client with the metadata to install or remove the application.

  2. If the PackageType was SetupNamePath, then if the action was determined to be installation, the client MUST execute the command specified in the PackageRegistration object's msiScriptPath attribute.

    • If the action was anything other than installation, the client MUST behave as if the action was to do nothing, because PackageType SetupNamePath supports only the installation action.<19>