If you install the IE 5.5 SP2 or IE 6.x browser, then the first three items are covered. All Windows installed machines have at least (the drivers of) MS Access already installed, but if you need a more serious database and can't afford to spend anything on it try PostgreSQL or MySQL which you can use for free.
If you have MSXML Parser v4.0 installed, then change the constant MSXML_VERSION in the file owconfig_default.asp to value 4.
Locate the file "Open Wiki.nsi" in the /openwiki/installer folder
I then opened the file with notepad and commented out the lines "EnabledBitmap" and "DisabledBitmap" because it kept hanging up on those two lines (I don't know why).
Install the NSIS installer
Run the "/OpenWiki/installer/Build.bat" file. Inside that file it will look for the NSIS installer. You may have to edit the bat file to tell it where "makensis" is located.
MakeNSIS (from inside the Build.Bat file) will start a normal installation process and prompt for the folder that you want your Open Wiki files to reside. After that, let it go and it will create the appropriate folders and copy the appropriate files.
The entry point for the wiki is /owbase/ow.asp or default.asp or if you want to create an index.asp.
(jjc 09/08/2008)
Database Setup
If you have a DSN set up, use it: OPENWIKI_DB = "OpenWikiDist"
==> does DSN means "System DSN" or what? -- KW 2007-08-05
==> a system DSN is not needed, instead use the OPENWIKI_DB={SQL Server} form. -- KvH 2007-09-12
If you have the path to your database, just specify the standard ADO/ODBC connection string for OPENWIKI_DB (in owconfig_default.asp).
Directory Pathing
Drop the contents of the \owbase directory into whatever directory on your server you want the wiki to run in. So, for instance, if you are using the default configuration for IIS, you would have a website at C:\INetPub\wwwroot. You could create a new directory C:\INetPub\wwwroot\wiki and drop the contents of \owbase there (so that owbase is not included but all of its contents are in the \wiki directory). Check to verify now that you can access your ow.asp path at C:\INetPub\wwwroot\wiki\ow.asp. If so, then you should be able to access the wiki at http://localhost/wiki.
==> Has anyone noticed there IS no such file\directory called "\owbase" in the latest openwiki_077.zip file?
==> but nothing called "owbase".
==> The "owbase" folder is created by the installation program (see above, jjc)
Sample Installation on a Remote Server
Unfortunately the installation is predetermined for a specific local user - so run the installation on your local machine to get the files extracted. Then you will need to push those files up to your remote server as follows:
Setup your database.
MSACCESS: Drop the Open Wiki Dist.mdb file from the data directory in the specified data directory for your site.
SQLSERVER: Create or Identify which database you will use for OpenWiki
Run the OpenWiki-SqlServer.sql script in the database that you want to use
Create a user and password and give them db_datareader/db_datawriter access to this database.
Use DTS to import the help pages from the MSAccess OpenWikiDist.mdb that is shipped with OpenWiki (Import the openwiki_pages and openwiki_revisions tables).
Specify your database in owconfig_default.asp
DSN: Setup the DSN per your provider and set the OPENWIKI_DB variable to your DSN name. OPENWIKI_DB = "OpenWikiDist"
No DSN: Set the OPENWIKI_DB variable to an ODBC/ADO connection string.
Use the SQL Server Migration Assistant for Access to import data from Access database in data directory
Only import the openwiki_pages and openwiki_revisions tables
When prompted during import to overwrite objects click Skip or Skip All otherwise the table definitions will be overwritten with incorrect tables. The data will still be imported properly.
IIS setup
Copy the owbase folder to the path you want the wiki to appear at in your URL
you can rename owbase to wiki (or other name) if desired. If you want the wiki to show up at the root of your web pages (e.g. http://server/) then copy the CONTENTS of owbase to that location.
Enable Active Server Pages for IIS
OpenWiki configuration
Edit the owconfig_default.asp file in the ow folder from where you copied the files for IIS
SERVER\INSTANCE is the servername and instance where the database was created
username is the database user created
strongpwd is the the strong password you gave the user when created
Open Wiki Dist is the name of the database created (replace with database name you created)
edit the MSXML_VERSION:
MSXML_VERSION = 4 ' use 4 if you've installed MSXML v4.0
(optional) edit the OPENWIKI_DB_SYNTAX:
OPENWIKI_DB_SYNTAX = DB_SQLSERVER ' see owpreamble.asp for possible values
Just modify the owconfig_default.asp as below:
' Following are all the configuration items with default values set.
' Override them if you want in a separate file, see e.g. /web1/ow.asp.
' "The Truth about MS Access" : http://www.15seconds.com/Issue/010514.htm
Dim Db
Db = "data/OpenWikiDist.mdb"
OPENWIKI_DB = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = " & Server.MapPath(db)
'OPENWIKI_DB = "Driver={Microsoft Access Driver (*.mdb)};DBQ=OpenWikiDist.mdb"
' OPENWIKI_DB = "Driver={SQL Server};server=mymachine;uid=openwiki;pwd=openwiki;database=OpenWiki"
' OPENWIKI_DB = "Driver={Microsoft ODBC for Oracle};Server=OW;Uid=laurens;Pwd=aphex2twin;"
' OPENWIKI_DB = "MySystemDSName"
' OPENWIKI_DB = "MySQLOpenWiki"
' OPENWIKI_DB = "PostgreSQLOpenWiki"
'OPENWIKI_DB = "OpenWikiDist"
'OPENWIKI_DB_SYNTAX = DB_ACCESS ' see owpreamble.asp for possible values
Open Wiki works great for many users, however, if you are having problems, please refer to the following page:
Open Wiki Installation Problems