The following script is the minimum script for an archive which has only one single package in it with the index 1. No WPS objects will be created, no WPS classes registered, no CONFIG.SYS changes will be made.

To use this script, create an archive, adding all your files to package index 1, and add this script.

<WARPIN>
<HEAD>
<PCK INDEX=1
     PACKAGEID="Sample author\Sample app\Sample package\1\0\0"
     TARGET="?:\SAMPLAPP"
     TITLE="Sample app"
     >This package contains a sample application.</PCK>
</HEAD>

<!-- Here come the different pages. They are linked by
     the <NEXTBUTTON> tags, which must have a target.
     Each page must have a TYPE= attribute, which tells
     WarpIn what will be visible on that page. -->

<BODY>

<!-- page 1: introductory page -->
<PAGE INDEX=1 TYPE=TEXT>
<NEXTBUTTON TARGET=2>~Next</NEXTBUTTON>
<TEXT>


Welcome!

This is your sample application introductory text on the first page.

Select "Next" to continue.

Select "Cancel" to abort installation.</TEXT>
</PAGE>

<!-- The TYPE=CONTAINER will list the packages which can be installed. -->

<PAGE INDEX=2 TYPE=CONTAINER>
<NEXTBUTTON TARGET=3>~Next</NEXTBUTTON>
<TEXT>
On this page, you may deselect the package if it is already installed or change the package's target path. </TEXT>
</PAGE>

<!-- Display another TEXT page to inform the user
        that installation will begin. We use the TARGET=0
        with the NEXTBUTTON tag which starts installation. -->

<PAGE INDEX=3 TYPE=TEXT>
<NEXTBUTTON TARGET=0>I~nstall</NEXTBUTTON>
<TEXT>



Press "Install" to begin installing this archive.</TEXT>
</PAGE>
</BODY>
</WARPIN>