🚀 Community Guide: Setting Up PDFsam Basic in Ketarin
The ideal setup scraps the version number from the official download site, but pulls the actual file directly from PDFsam's GitHub Repo.
Follow these exact settings to get it running:
Step 1: Create the Version Variable
Ketarin needs to find the latest version number first. We scrape this safely from the official website.
- Open the application properties for PDFsam Basic in Ketarin.
- Go to the Variables tab and click Add variable.
- Configure the variable exactly like this:
- Variable Name:
version - Type: Check the radio button for Content from URL (Regular Expression)
- Contents from URL:
https://pdfsam.org/download-pdfsam-basic/ - Use regular expression:
href=".*?pdfsam-basic-([0-9.]+)-windows-x64\.msi"[1]
- Variable Name:
Step 2: Configure the Download URL
Now that Ketarin knows what
{version} means, we use it to build the precise download path on GitHub.- Switch back to the General tab of your application properties.
- Copy and paste this exact template into the Download URL text box:
⚠️ Common Pitfall Warning: Make absolutely sure there is a forward slash
/ directly after github.com. If you accidentally type github.com{version}, Ketarin will blend the text together into a broken web address (like github.com6.0.5) and throw a "Remote name could not be resolved" error.Step 3: Optional Silent Installation (For Administrators)
If you want Ketarin to automatically install or update PDFsam quietly in the background after downloading it, you can add a script command.
- Go to the Setup tab.
- In the Post-download command box, paste the standard Windows Installer silent switches:
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.