|
| 1 | +# Building PDFKeeper v11 from Source |
| 2 | + |
| 3 | +## Install Development Applications and Tools |
| 4 | + |
| 5 | +1. Microsoft Visual Studio 2022 - https://www.visualstudio.com/downloads/ |
| 6 | +2. WiX Toolset Build Tools - Download and install v3.14.1 using "Manage Extensions" in Visual Studio. |
| 7 | +3. WiX v3 - Visual Studio 2019 Extension - Download and install using "Manage Extensions" in Visual Studio. |
| 8 | +4. Wax - Download and install using "Manage Extensions" in Visual Studio. |
| 9 | +5. Microsoft HTML Help Workshop - https://web.archive.org/web/20201201163924/http://www.microsoft.com/en-us/download/details.aspx?id=21138 |
| 10 | + |
| 11 | +## Get the Source |
| 12 | + |
| 13 | +When available, download the source code for a v12 release from [here](https://github.com/rffrasca/PDFKeeper/releases). For the latest version in development, clone the https://github.com/rffrasca/PDFKeeper repository to your development system using Git. |
| 14 | + |
| 15 | +## Download and Extract Third-Party Components |
| 16 | + |
| 17 | +* Ghostscript for Windows (64 bit) - https://www.ghostscript.com/download/gsdnld.html |
| 18 | + |
| 19 | + After downloading, extract gswin64c.exe and gsdll64.dll from the Ghostscript installer into the vendor folder in the PDFKeeper solution using the following instructions: |
| 20 | + |
| 21 | + 1. Download and install 7-Zip Portable - https://portableapps.com/apps/utilities/7-zip\_portable |
| 22 | + 2. Open 7-Zip Portable. |
| 23 | + 3. Select gsxxxxw64.exe in folder where downloaded. |
| 24 | + 4. Select the File menu, and then Open Inside. |
| 25 | + 5. Open the bin folder. |
| 26 | + 6. Select gswin64c.exe and gsdll64.dll. |
| 27 | + 7. Select Extract. |
| 28 | + 8. Select the vendor folder in the PDFKeeper solution. |
| 29 | + 9. Select OK. |
| 30 | + |
| 31 | +* Oracle ODP.NET 23.5.1 - https://www.nuget.org/packages/Oracle.ManagedDataAccess/23.5.1 |
| 32 | + |
| 33 | + 1. Open in NuGet Package Explorer. |
| 34 | + 2. Under Contents expand lib, and then expand net472. |
| 35 | + 3. Double click Oracle.ManagedDataAccess.dll. |
| 36 | + 4. Download Oracle.ManagedDataAccess.dll to the vendor folder in the PDFKeeper solution and Unblock. |
| 37 | + |
| 38 | + ## Build PDFKeeper |
| 39 | + |
| 40 | +1. Open src\\Help\\en-US\\PDFKeeper.hhp with HTML Help Workshop and compile. |
| 41 | +2. If src\\Help\\PDFKeeper.en-US.chm resides on a network/remote drive, copy to a local drive. |
| 42 | +3. Open PDFKeeper.en-US.chm. If the help file fails to open, as an Administrator, execute *regsvr32 C:\\Windows\\System32\\hhctrl.ocx* and then repeat the compile and test again. |
| 43 | +4. Open "PDFKeeper.sln" with Visual Studio. |
| 44 | +5. Set configuration to Release, and then Build the Solution. |
| 45 | + |
| 46 | + After a successful build, "PDFKeeper-11.x.x.msi" will exist in "PDFKeeper\\src\\PDFKeeper.Setup\\bin\\Release". |
| 47 | + |
0 commit comments