How to run ASP Content Management on CD/DVD

In this tutorial you will learn how to create a fully working version of ASP Content Management running from a CD or DVD.

1. The first step is to download and install the DWebPro server:

http://www.dwebpro.com/download

DWebPro is a web server (like Apache and IIS) developed for distributing dynamic web site on CD/DVD and as install packages. It’s FREE for non commercial use, so you can use it for your personal projects without any cost.

The installation of DWebPro is pretty straight forward, just run the installer and follow the steps (Next, Next, Next, … Finish!).

2. Download the ASP Content Management source code:

http://www.aspcontentmanagement.com/

3. Open the Windows Explorer and browse to the deploy folder of DWebPro (usually C:\DWebPro\deploy).

4. Remove any file and folder from the deploy\www directory except the deploy\www\bin one.

5. Extract the content of the ASP Content Management package into the deploy folder.

6. Open the deploy\www\common\dbconn1.asp file and edit it as follows:

dbPath =  Request.ServerVariables("DWEBPRO_MSACCESS_DATADIR") &  "\acm.mdb"

7. Open the deploy\http.ini file and edit it as follows:

[MsAccess]
CopyDataToHardDisk=1
DataDir=##DWEBPRO_PATH##\data
DestinationDir=##DWEBPRO_TEMP##\ASPCM

This will tell DWebPro to copy the ASP Content Management database on the user PC.

8. Let’s burn ASP Content Management on CD/DVD.

Open your favorite burning utility (es. Nero) and burn the whole deploy folder into a CD/DVD.

9. Run ASP Content Management from CD/DVD

Start the dwebpro.exe from the CD/DVD created in the previous step and here it is: your ASP Content Management web site running from CD/DVD.