Product Setup Without Installer

RAD PDF can be setup without running the installer on a machine.

Setup

Retrieve the necessary files from the installer.

  1. Install RadPdfInstaller.exe on another Windows machine (preferably running a 64-bit version of Windows)

  2. Presuming a default installation, copy the following files to a temporary location:

    • C:\Program Files\RAD PDF\Service\RadPdfService.exe

    • C:\Program Files\RAD PDF\Service\RadPdfService.exe.config

    • C:\Program Files\RAD PDF\Service\RadPdfServiceHelper.exe

    • C:\Program Files\RAD PDF\Service\RadPdfServiceHelper.exe.config

    • C:\Program Files\RAD PDF\WebControl\RadPdf.dll

    • C:\Windows\System32\RadPdfD.dll (NOTE: If running a 32-bit version of Windows, it is the 32-bit DLL version, otherwise it is 64-bit)

    • C:\Windows\SysWOW64\RadPdfD.dll (NOTE: If running a 32-bit version of Windows, it does not exist, otherwise it is 32-bit DLL)

    • C:\Program Files\RAD PDF\Resources (optional, for use with PdfAdvancedSettingsCMapDirectory and the RAD PDF System Service)

Put files in their correct locations on the server.

  1. The above retrieved files should be copied in their same respective locations on the server. It is important to keep in mind that if the version of Windows differs (e.g. 32-bit vs 64-bit) DLL locations may need to be adjusted)

  2. RadPdf.dll should be placed directly into the /bin/ directory of the ASP.NET Web Application

  3. If you wish to use the CMap resources with the RAD PDF System Service, they should be in a directory named Resources one directory up from RadPdfService.exe

Install the RAD PDF Service.

  1. At a command prompt with RadPdfService.exe in its current path, execute RadPdfService.exe -i to install the service

  2. To uninstall the service (should you need to in the future), execute RadPdfService.exe -u

Start the RAD PDF Service.

  1. Before starting the service, set any advanced registry options you wish to use

  2. Open the Windows Services tool (or execute services.msc)

  3. Look for RAD PDF Service and start it (or execute NET START "RAD PDF Service")

You are now ready to use RAD PDF on your server.

Advanced Options

Registry Keys

These registry keys must be set before the RAD PDF Service is started. They allow for customized setups without using the Admin Tool.

Registry KeyValue NameTypeDefaultDescription
HKEY_LOCAL_MACHINE\SOFTWARE\Red Software\RadPdf\RenderingRenderCacheLocationREG_SZ (String)(empty) The directory path where rendering cache (and Lite Document session by default) is stored. The web application user (if using WCF impersonation) or service user (if not using WCF impersonation) must have read and write access to this directory. If using Lite Documents, this location must be set! If empty or an invalid directory, render caching is disabled and SQL Server is used. When using the installer, RAD PDF sets this to C:\ProgramData\RadPdf\Cache and creates a directory at that location with read and write access for Everyone.
HKEY_LOCAL_MACHINE\SOFTWARE\Red Software\RadPdf\RenderingRenderCacheTimeoutREG_DWORD (32-bit)720 Time, in minutes, objects should be kept in cache. If using Lite Documents without a custom RadPdf.LitePdfLiteStorageProvider, this is also the length of time a document session is kept in cache before being removed. The default is 12 hours.
HKEY_LOCAL_MACHINE\SOFTWARE\Red Software\RadPdf\WcfUseImpersonationREG_DWORD (32-bit)4294967295 If 0, WCF impersonation is not used; else, WCF impersonation is used. When WCF impersonation is used, the web application user account is used for interacting with database and storage resources instead of the service's user account. WCF impersonation is used by default.

Registry keys can be set using many methods, including:

See Also

Other Resources