You can find the Getting Started Sample Application for Active Server Pages in:
SAMPLES\ASP\GettingStarted
This sample application consists of an HTML web page and an ASP page that uses VBScript. The web page allows a user to select some files, enter some customization information, and click to create a tailor-made self-extracting zip file that can immediately be downloaded. The "Download" button runs the ASP page, which uses Xceed Zip to create a self-extracting zip file and then redirects the client browser to download the file.
You will need a machine running Microsoft Internet Information Server. This sample was tested with IIS 4.0.
To get use the sample, follow these steps:
If you are using the trial version, run the trial version setup program on your server. This will allow Xceed Zip to run. If you have the registered Xceed Zip Compression Library, you can either run the setup program or register the XCEEDZIP.DLL file on the server using the "regsvr32 <path + filename of DLL>" command from the "run" option in the start menu, or from the command prompt.
Place the FILE1.TXT, FILE2.TXT and FILE3.TXT files from the ASP sample directory into a folder on your server that is readable by the Internet Guest Account. The guest account is usually named "IUSR_YOURSERVERNAME".
Place the XCDSFX32.BIN self-extractor binary file from the SFX directory into the same folder that the above three files were placed.
Place the frmSelect.html and frmDownload.asp files into a folder on your server that will be accessible to users via the HTTP protocol.
Create a folder on your server that will be used by the ASP code to create the self-extracting zip files in. The downloads will be sent from this folder too. Therefore, the Internet Guest Account should have both read and write permission for this directory in order for the script to work.
Edit the frmDownload.asp file and change the directory and filename constants. The PATH_FOR_SOURCE_FILES constant should be set to the folder where you placed the text files and self-extractor binary file. The PATH_FOR_ZIP_FILE constant should be set to the directory where the self-extracting zip files should be created. The DOWNLOAD_URL constant should be set to a URL that a browser can use to get to the location where they can download the self-extracting zip file. It's like the browser's version of PATH_FOR_ZIP_FILE.
If you are using the registered Xceed Zip Compression Library, uncomment the line containing a call to the "License" method in the frmDownload.asp file, and place your license key string between the quotes.
Now, using an HTTP address, open the frmSelect.html web page with your browser!