"Set script" mode is enabled by using the -s option, after which the script name must be specified. This adds the specified script to the archive (which will also be compressed by WIC.EXE).

The -s option can be combined with "add" mode (-a option) to add files and the script to an archive in one step. See "Examples" for an example.