-
Notifications
You must be signed in to change notification settings - Fork 1.5k
foxit(-pdf)-reader: Update to version 2025.2.1, split 32/64-bit, fix installation #16126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
z-Fng
merged 7 commits into
ScoopInstaller:master
from
AlimusSifar:foxit-reader-2025.2.0
Oct 8, 2025
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
336eeaa
foxit-reader: Update to version 2025.2.0
AlimusSifar 1912741
foxit-pdf-reader: Update to version 2025.2.0
AlimusSifar 8206cdb
Merge branch 'ScoopInstaller:master' into foxit-reader-2025.2.0
AlimusSifar 7935c5c
Merge branch 'ScoopInstaller:master' into foxit-reader-2025.2.0
AlimusSifar b8daec7
Fix JSON formatting by adding newline at EOF
AlimusSifar da4eb95
Fix JSON formatting by adding newline at EOF
AlimusSifar 7565092
Update to version 2025.2.1, add 32bit support, fix installer, checkve…
z-Fng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,67 @@ | ||
| { | ||
| "##": "Using cdn78.foxitsoftware.com for better speed worldwide. Please keep foxit-reader and foxit-pdf-reader in sync.", | ||
| "version": "2025.1.0", | ||
| "version": "2025.2.1", | ||
| "description": "Fast and feature rich PDF reader that offers a delightful reading experience.", | ||
| "homepage": "https://www.foxit.com/pdf-reader/", | ||
| "license": { | ||
| "identifier": "Freeware", | ||
| "url": "https://www.foxit.com/pdf-editor/eula.html" | ||
| }, | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/2025.1.0/FoxitPDFReader20251_enu_Setup_Prom.exe", | ||
| "hash": "c85f927712ab6bbe2076a806d4a6bd2503bd25f552b2868d9f37ac0892b53a27", | ||
| "architecture": { | ||
| "64bit": { | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/2025.2.1/FoxitPDFReader202521_L10N_Setup_Prom_x64.exe", | ||
| "hash": "f72daae81be3e848ebaf0c0bf70e4030e4a266ea0f6f232f08f30324971cbc6c" | ||
| }, | ||
| "32bit": { | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/2025.2.1/FoxitPDFReader202521_L10N_Setup_Prom_x86.exe", | ||
| "hash": "a0bfc28ca7bfcb93bf1a9ef92e497ec6b93f0e2614cdf7dafa5106bb2be7de59" | ||
| } | ||
| }, | ||
| "installer": { | ||
| "script": [ | ||
| "# Lessmsi cannot handle .msp patches correctly in this case. So we use msiexec to extract the files.", | ||
| "Expand-7zipArchive \"$dir\\$fname\" \"$dir\\msi\" -ExtractDir '.rsrc\\1033\\PAYLOAD' -Removal", | ||
| "$succ = Invoke-ExternalCommand msiexec -ArgumentList @('/a', \"$dir\\msi\\500\", '/p', \"$dir\\msi\\700\", '/qn', \"TARGETDIR=$dir\\extracted\") -LogPath \"$dir\\install.log\"", | ||
| "if(-not $succ) {", | ||
| " error \"Failed to extract files from `\"$dir\\msi`\".`nLog file:`n $(friendly_path `\"$dir\\install.log`\")`n$(new_issue_msg $app $bucket 'decompress error')\"", | ||
| " break", | ||
| "}", | ||
| "Move-Item \"$dir\\extracted\\Foxit Software\\Foxit PDF Reader\\*\" \"$dir\"", | ||
| "Remove-Item \"$dir\\msi\", \"$dir\\extracted\", \"$dir\\install.log\" -Force -Recurse" | ||
| ] | ||
| }, | ||
| "bin": "FoxitPDFReader.exe", | ||
| "shortcuts": [ | ||
| [ | ||
| "FoxitPDFReader.exe", | ||
| "Foxit PDF Reader" | ||
| ] | ||
| ], | ||
| "innosetup": true, | ||
| "checkver": { | ||
| "script": [ | ||
| "$url = 'https://www.foxit.com/downloads/latest.html?product=Foxit-Reader&platform=Windows&version=&package_type=&language=English&distID='", | ||
| "if ($PSVersionTable.PSVersion.Major -lt 7.0) {", | ||
| " $req = Invoke-WebRequest -Uri $url -MaximumRedirection 0 -ErrorAction SilentlyContinue", | ||
| "} else {", | ||
| " $req = Invoke-WebRequest -Uri $url -MaximumRedirection 0 -ErrorAction SilentlyContinue -SkipHttpErrorCheck", | ||
| "$output = @()", | ||
| "'64', '32' | ForEach-Object {", | ||
| " $req = $null", | ||
| " $url = \"https://www.foxit.com/downloads/latest.html?product=Foxit-Reader&platform=Windows&operating_type=$_&package_type=exe&language=ML\"", | ||
| " if ($PSVersionTable.PSVersion.Major -lt 7.0) {", | ||
| " $req = Invoke-WebRequest -Uri $url -MaximumRedirection 0 -ErrorAction SilentlyContinue", | ||
| " } else {", | ||
| " $req = Invoke-WebRequest -Uri $url -MaximumRedirection 0 -ErrorAction SilentlyContinue -SkipHttpErrorCheck", | ||
| " }", | ||
| " $output += [string]($req.Headers.Location)", | ||
| "}", | ||
| "Write-Output $req.Headers.Location" | ||
| "Write-Output ($output -join ', ')" | ||
| ], | ||
| "regex": "/win/(?<version>[\\d.]+)/(?<fname>FoxitPDFReader.*exe)$" | ||
| "regex": "/win/(?<version>[\\d.]+)/(?<fname64>FoxitPDFReader.*\\.exe), .*/win/\\k<version>/(?<fname32>FoxitPDFReader.*\\.exe)" | ||
| }, | ||
| "autoupdate": { | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/$version/$matchFname" | ||
| "architecture": { | ||
| "64bit": { | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/$version/$matchFname64" | ||
| }, | ||
| "32bit": { | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/$version/$matchFname32" | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,67 @@ | ||
| { | ||
| "##": "Using cdn78.foxitsoftware.com for better speed worldwide. Please keep foxit-reader and foxit-pdf-reader in sync.", | ||
| "version": "2025.1.0", | ||
| "version": "2025.2.1", | ||
| "description": "Fast and feature rich PDF reader that offers a delightful reading experience.", | ||
| "homepage": "https://www.foxit.com/pdf-reader/", | ||
| "license": { | ||
| "identifier": "Freeware", | ||
| "url": "https://www.foxit.com/pdf-editor/eula.html" | ||
| }, | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/2025.1.0/FoxitPDFReader20251_enu_Setup_Prom.exe", | ||
| "hash": "c85f927712ab6bbe2076a806d4a6bd2503bd25f552b2868d9f37ac0892b53a27", | ||
| "architecture": { | ||
| "64bit": { | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/2025.2.1/FoxitPDFReader202521_L10N_Setup_Prom_x64.exe", | ||
| "hash": "f72daae81be3e848ebaf0c0bf70e4030e4a266ea0f6f232f08f30324971cbc6c" | ||
| }, | ||
| "32bit": { | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/2025.2.1/FoxitPDFReader202521_L10N_Setup_Prom_x86.exe", | ||
| "hash": "a0bfc28ca7bfcb93bf1a9ef92e497ec6b93f0e2614cdf7dafa5106bb2be7de59" | ||
| } | ||
| }, | ||
| "installer": { | ||
| "script": [ | ||
| "# Lessmsi cannot handle .msp patches correctly in this case. So we use msiexec to extract the files.", | ||
| "Expand-7zipArchive \"$dir\\$fname\" \"$dir\\msi\" -ExtractDir '.rsrc\\1033\\PAYLOAD' -Removal", | ||
| "$succ = Invoke-ExternalCommand msiexec -ArgumentList @('/a', \"$dir\\msi\\500\", '/p', \"$dir\\msi\\700\", '/qn', \"TARGETDIR=$dir\\extracted\") -LogPath \"$dir\\install.log\"", | ||
| "if(-not $succ) {", | ||
| " error \"Failed to extract files from `\"$dir\\msi`\".`nLog file:`n $(friendly_path `\"$dir\\install.log`\")`n$(new_issue_msg $app $bucket 'decompress error')\"", | ||
| " break", | ||
| "}", | ||
| "Move-Item \"$dir\\extracted\\Foxit Software\\Foxit PDF Reader\\*\" \"$dir\"", | ||
| "Remove-Item \"$dir\\msi\", \"$dir\\extracted\", \"$dir\\install.log\" -Force -Recurse" | ||
| ] | ||
| }, | ||
| "bin": "FoxitPDFReader.exe", | ||
| "shortcuts": [ | ||
| [ | ||
| "FoxitPDFReader.exe", | ||
| "Foxit PDF Reader" | ||
| ] | ||
| ], | ||
| "innosetup": true, | ||
| "checkver": { | ||
| "script": [ | ||
| "$url = 'https://www.foxit.com/downloads/latest.html?product=Foxit-Reader&platform=Windows&version=&package_type=&language=English&distID='", | ||
| "if ($PSVersionTable.PSVersion.Major -lt 7.0) {", | ||
| " $req = Invoke-WebRequest -Uri $url -MaximumRedirection 0 -ErrorAction SilentlyContinue", | ||
| "} else {", | ||
| " $req = Invoke-WebRequest -Uri $url -MaximumRedirection 0 -ErrorAction SilentlyContinue -SkipHttpErrorCheck", | ||
| "$output = @()", | ||
| "'64', '32' | ForEach-Object {", | ||
| " $req = $null", | ||
| " $url = \"https://www.foxit.com/downloads/latest.html?product=Foxit-Reader&platform=Windows&operating_type=$_&package_type=exe&language=ML\"", | ||
| " if ($PSVersionTable.PSVersion.Major -lt 7.0) {", | ||
| " $req = Invoke-WebRequest -Uri $url -MaximumRedirection 0 -ErrorAction SilentlyContinue", | ||
| " } else {", | ||
| " $req = Invoke-WebRequest -Uri $url -MaximumRedirection 0 -ErrorAction SilentlyContinue -SkipHttpErrorCheck", | ||
| " }", | ||
| " $output += [string]($req.Headers.Location)", | ||
| "}", | ||
| "Write-Output $req.Headers.Location" | ||
| "Write-Output ($output -join ', ')" | ||
| ], | ||
| "regex": "/win/(?<version>[\\d.]+)/(?<fname>FoxitPDFReader.*exe)$" | ||
| "regex": "/win/(?<version>[\\d.]+)/(?<fname64>FoxitPDFReader.*\\.exe), .*/win/\\k<version>/(?<fname32>FoxitPDFReader.*\\.exe)" | ||
| }, | ||
| "autoupdate": { | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/$version/$matchFname" | ||
| "architecture": { | ||
| "64bit": { | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/$version/$matchFname64" | ||
| }, | ||
| "32bit": { | ||
| "url": "https://cdn78.foxitsoftware.com/product/reader/desktop/win/$version/$matchFname32" | ||
| } | ||
| } | ||
| } | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temporary workaround. Needs updating when the next version is released.