106 Commits

Author SHA1 Message Date
Leo Menzies-Ye
72c00b07a4 setting .bat file's end of line by default as CRLF 2025-03-11 19:22:58 +11:00
Leo Menzies-Ye
11ca7033d5 adding some remarks about the build script 2025-03-11 19:16:41 +11:00
Leo Menzies-Ye
26facc5d5d making the build.bat a lot more verbose to make it easier to narrow down which step may have gone wrong during the building process 2025-02-27 10:36:58 +11:00
Leo Menzies-Ye
0e1d749525 updating all file names referring to VC redistributable file inside script to match their usual case 2025-02-26 10:07:44 +11:00
Leo Menzies-Ye
32db122829 adding logging if failing to create a folder called redist under installation path used to put the dependency file 2025-02-25 15:21:14 +11:00
Leo Menzies-Ye
be828762cc create relocation dir for redistributble before copying 2025-02-25 15:15:32 +11:00
Leo Menzies-Ye
e1b5fe2d3e using correct comment style for pre-processing lines, moving redist file after installation instead of deleting 2025-02-25 15:02:46 +11:00
Leo Menzies-Ye
deb51f3203 addressing PR comments. No more checking already running processes for VC++ deps installation, no more deleting the VC++ deps installer post-installation, committing the specific version of VC_redist.x64.exe, build 30153 to code base as it is hard to find 2025-02-25 14:16:41 +11:00
Leo Menzies-Ye
30cad13c29 adding comments, the VC++ deps installation is automatic and mirrors the version used by GhostScript installer 2025-02-25 11:22:32 +11:00
Leo Menzies-Ye
4887c5b1d5 simplifying deps logic as only installing x64 version of the vc++ deps, mirroring what GhostScript installer does 2025-02-21 11:00:31 +11:00
Leo Menzies-Ye
1441d20fe6 refactoring, only calling post-intall exec hook once, also removing experimenting code after initial test success 2025-02-20 15:25:53 +11:00
Leo Menzies-Ye
af21c97863 adding experimental method for testing 2025-02-20 14:21:29 +11:00
Leo Menzies-Ye
8384a17b8c add silent logging, fixing a file name bug, initialise a global flag to monitor whether we have tried to install vc deps in function PrepareToInstall 2025-02-20 11:34:44 +11:00
Leo Menzies-Ye
e2c0e3d2d8 inno setup installer script changes, removing extra pages, adds vc redist files to the included package, adds business logic to run them as part of the installation process when required 2025-02-19 17:59:00 +11:00
Kelby Murie
c54e330c91 PO-2572 Inno Setup 6.3 introduced the ARM64 support. Updated requirements. v1.5.10.03.1 2024-08-09 12:10:59 +10:00
Kelby Murie
fe0b7b92da PO-2572 Version bump from v1.4.10.03.1 to v1.5.10.03.1 2024-08-09 11:44:26 +10:00
Jason Clarke
6a376c3002 PO-2572 - modify ghost-trap.iss - don't block installation on Windows arm64
ArchitecturesAllowed=x64
becomes
ArchitecturesAllowed=x64compatible
2024-08-09 11:14:31 +10:00
Kelby Murie
045ccde919 PO-2204 Upgrading to Ghostscript 10.03.1 and the latest Chromium Sandbox
* GhostPDL 10.03.1 (2024-05-02)
* Chromium commit c067d47d154d8a6cf56ee8ac7e7b9a9a8b6f9a6f Tue Jul 16 23:01:42 2024 +0000
* Depot tools commit 8715e8e64d718352eae124e4d36f9c65de7c37ad Tue Jul 16 22:06:41 2024 +0000
* C++## object type tweak to conform with the new Chromium Sandbox
v1.4.10.03.1
2024-07-17 15:54:09 +10:00
Leo Ye
b78e4cbddf Merged in PO-1913-add-dot-NET-runtime-requirement-to-installer (pull request #4)
PO-1913 add dot NET runtime requirement to installer

Approved-by: Paul Mendoza
2024-02-07 23:18:18 +00:00
Leo Menzies-Ye
9a60e76df0 simplified one method while making one link label more specific, addressing PR comments 2024-02-08 10:09:14 +11:00
Leo Menzies-Ye
31d7d2fb91 adding comments for future maintainability 2024-02-07 17:45:42 +11:00
Leo Menzies-Ye
191019453d Creating the custom page regardless to avoid null pointer for when required dependencies already exist. Adding logic to skip the custom page if dependencies already exist 2024-02-07 17:40:06 +11:00
Leo Menzies-Ye
ca1125ffd9 removing unused variable, also changing the default button to yes when asking user to confirm they would like to download dependencies now 2024-02-07 15:49:28 +11:00
Leo Menzies-Ye
83e75735b2 re-wrote installer's dependencies check 2024-02-07 15:42:21 +11:00
Leo Ye
8551ea4412 Merged in PO-1913-add-dot-NET-runtime-requirement-to-installer (pull request #3)
initial draft, adding custom page after welcome page if the absence of required deps is detected, installation process will abort either way, but the user gets to choose if they want to download the deps now or later

Approved-by: Paul Mendoza
2024-02-05 23:02:36 +00:00
Leo Menzies-Ye
1b7b87a643 changing some variable and function names, also combining conditions for set up wizard behaviour when installation process is not terminated normally due to the absence of deps 2024-02-05 12:51:12 +11:00
Leo Menzies-Ye
799a66e64d fixing the shell exec method to have the correct number of params 2024-02-02 13:16:26 +11:00
Leo Menzies-Ye
a4443d46f2 initial draft, adding custom page after welcome page if the absence of required deps is detected, installation process will abort either way, but the user gets to choose if they want to download the deps now or later 2024-02-02 12:55:09 +11:00
Kelby Murie
8d3738006a PO-1666 Fixed installer link to be the clipped version number produced by WiX. v1.4.10.02.1 2023-12-01 09:27:08 +11:00
Kelby Murie
512db2b699 Merged in ghostpdl-10.02.1 (pull request #2)
Ghostpdl 10.02.1

Approved-by: Nimesh Silva
2023-11-14 03:34:42 +00:00
Kelby Murie
fd445147b5 PO-1666 Corrections to bad formatting introduced by VS2019 2023-11-10 15:19:10 +11:00
Kelby Murie
2d772b55dc PO-1666 Upgrading to GhostScript version 10.02.1 and the latest Chromium Sandbox
* GhostPDL version 10.02.1.20231101
* Chromium commit b2d264b1585bd0d583a49dd91866e7d0ea02d387 Fri Nov 3 02:46:52 2023 +0000
* Depot tools commit b4e466e610accd97629e2a8f3e4fdb307bc54f4a Thu Nov 2 21:08:10 2023 +0000
* Tweaks where required to conform with the new Chromium Sandbox
* Replaced sandbox retired AddKnownSidToObject with home baked GrantAccessToObject
* Replaced sandbox retired AddRule instances with AllowFileAccess instances
2023-11-10 15:08:01 +11:00
Kelby Murie
d793454b00 Merged in ghostpdl-10 (pull request #1)
PO-351: Ghostpdl 10

Approved-by: Nimesh Silva
v1.4.10.00
2023-09-28 02:53:05 +00:00
Kelby Murie
c47cdc1109 Fix to Nimesh Silva's std::unique_ptr changes in commit 94176b2b663587d4bac898fd4822870bbfd4af35. 2023-09-28 11:52:52 +10:00
Nimesh Silva
94176b2b66 Modify usages around std::unique_ptr with some C++ best practices 2023-09-27 14:37:56 +10:00
Kelby Murie
1e5b803e99 Clarified building be run from the Visual Studio Developer Command Prompt 2023-01-12 09:58:02 +11:00
Kelby Murie
a7b8c20972 Fixed the display of version help.
Writing the help to stdout from within the sandbox doesn't work, as intended.
2023-01-06 15:57:54 +11:00
Kelby Murie
31d5ca8179 Updated installer information copyright year and company name.
* Fixed paragraph spacing.
2023-01-06 15:50:47 +11:00
Kelby Murie
ec76690586 Updated markdown documentation to reflect the new 1.4.10.00 version. 2023-01-06 14:30:11 +11:00
Kelby Murie
7ed21ced2d Fixed deliberate test failures from not running when requested.
Caused by an incorrect hardcoded pointer increment. Converted to a string length increment.
* Sandbox testing no longer displays a message that an output file is required
2023-01-06 14:01:15 +11:00
Kelby Murie
5289538ce2 Updated to Ghostscript 10.00 and the latest Chromium Sandbox
Note: The registry sandboxing subsystem is no longer supported by the Chromium Sandbox.
* Ghostscript version 10.00.0.20220921
* Chromium commit 1a554a4863f66c922398e91691212a54a8f11ea0
* Depot tools commit 18359bb9a19ee9b31a33fae83aa49ced770a9b81
* wcstok() calls updated to be ISO C conformant
2023-01-06 12:00:11 +11:00
Tom Clift
c3af393d58 Merge branch 'gs9.27' v1.3.9.27 2019-06-17 15:36:36 +10:00
Tom Clift
9479663a24 Update README with 1.3.9.27 installer download link. 2019-06-17 14:32:07 +10:00
Tom Clift
7df63aa653 Rather than the build script copying duplicate binaries into the installer files, have the installer copy the files multiple times at install time. 2019-06-17 14:32:07 +10:00
Tom Clift
c7d8069276 Simplify some copying in the build script, and remove some path traversal by making more directory references absolute. 2019-06-17 14:32:07 +10:00
Tom Clift
35db2ae5e9 Remove unneeded .gitkeep file. 2019-06-17 14:32:07 +10:00
Tom Clift
f357d9989d Fix build script built binary name (gswin64c-trapped.exegsc-trapped.exe) and remove arch name from GhostPDL binaries. 2019-06-17 14:32:07 +10:00
Tom Clift
21e3650b97 README Markdown format cleanup. 2019-06-17 14:32:07 +10:00
Tom Clift
ff6b79b23d Rewrite README build instructions to add some more specific detail about 3rd party build steps, and replace the project structure examples with path references. 2019-06-17 14:32:07 +10:00
Tom Clift
be7e8586e1 Release history structure and content cleanup - add versions, diff/tag links, clarify latest version changes. 2019-06-17 14:18:09 +10:00