Installing SoftArtisans WordWriter
|
 |
Automatic Installation
To run the automatic installation, double-click WordWriter.exe and follow the
instructions. By default, the
automatic installation will save WordWriter's assemblies, samples, and documentation
in the directory C:\Program Files\SoftArtisans\WordWriter. You can select a
different directory during the installation process.
WordWriter includes the two .Net assemblies WordWriter.dll and Collections.dll.
WordWriter also provides WordWriterCOM.dll, a COM callable wrapper (CCW)
that allows you to use WordWriter from ASP. The .Net assemblies are installed
in:
- The Global Assembly Cache (GAC)
The assemblies must be installed in the GAC to allow the CCW to work.
If you do not plan to use WordWriter in ASP, you can remove the assemblies
from the GAC.
- WordWriter\doc-samples\bin
This is the bin directory for WordWriters samples. If you
remove the assemblies from the GAC, the WordWriter samples will still run, because
they use the assemblies in the bin directory.
If you removed the WordWriter assemblies from the GAC, the assemblies will only
be available to the WordWriter samples. To make WordWriter available to another application,
include a directory called bin at the application's top level, and save copies
of the assembly files in this directory:
- At the top level of your application, create a directory called bin.
- Copy WordWriter.dll and Collections.dll from WordWriter\doc-samples\bin to
your application's bin directory.
By default, WordWriter's assemblies are installed in the Global
Assembly Cache (GAC), and are therefore available to all .NET applications on your machine.
If you remove the assemblies from the GAC, and would like to reinstall them globally:
- Open a command prompt window and move to the directory WordWriter\doc-samples\bin.
- Enter gacutil /i WordWriter.dll.
- Enter gacutil /i Collections.dll.
- Open the file machine.config
(in C:\WINNT\Microsoft.NET\Framework\Vx.x.xxxx\CONFIG).
- Add the following line to the assemblies node of machine.config:
<add assembly="WordWriter, Version=x.x.x.x, Culture=neutral, PublicKeyToken=d7b935349d058188"/>
OR
Create a text file containing the following lines, and save it as
web.config. Save web.config at the top level of your application.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation>
<compilers>
</compilers>
<assemblies>
<add assembly="WordWriter, Version=x.x.x.x, Culture=neutral, PublicKeyToken=d7b935349d058188"/>
<add assembly="*" />
</assemblies>
</compilation>
</system.web>
</configuration>
The version attribute of the add assembly node
must correspond exactly to the version of the assembly (dll file) added to the GAC.
If you add a new version of WordWriter to the GAC using the gacutil command,
update the dll version attributes in machine.config. To get the exact
version of the dll file, right-click the dll and select the Properties tab. |
Top
Using WordWriter with Windows 2003
To use WordWriter on Windows 2003, you must enable the following
Web Service extensions in IIS:
- Active Server Pages
- ASP.NET
To enable these extensions:
- Open the Internet Information Services (IIS) Manager.
- Open local computer.
- Select Web Service Extensions.
- From the list of Web Service Extensions, select Active Server Pages.
- Click the Allow button.
- From the list of Web Service Extensions, select ASP.NET.
- Click the Allow button.

Top
Copyright © 2003, SoftArtisans, Inc.