Product Setup Without Installer |
RAD PDF can be setup without running the installer on a machine.
Install RadPdfInstaller.exe on another Windows machine (preferably running a 64-bit version of Windows)
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)
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)
RadPdf.dll should be placed directly into the /bin/ directory of the ASP.NET Web Application
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
At a command prompt with RadPdfService.exe in its current path, execute RadPdfService.exe -i to install the service
To uninstall the service (should you need to in the future), execute RadPdfService.exe -u
Before starting the service, set any advanced registry options you wish to use
Open the Windows Services tool (or execute services.msc)
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.
These registry keys must be set before the RAD PDF Service is started. They allow for customized setups without using the Admin Tool.
Registry Key | Value Name | Type | Default | Description |
---|---|---|---|---|
HKEY_LOCAL_MACHINE\SOFTWARE\Red Software\RadPdf\Rendering | RenderCacheLocation | REG_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\Rendering | RenderCacheTimeout | REG_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\Wcf | UseImpersonation | REG_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: