Git Product home page Git Product logo

chocolatey-package-foxitreader's Introduction

Chocolatey Package: Foxit PDF Reader

Chocolatey package version Chocolatey package download count

Install

Install Chocolatey, and run the following command to install the latest approved version from the Chocolatey Community Repository:

choco install foxitreader --source="'https://community.chocolatey.org/api/v2'"

Alternatively, the packages as published on the Chocolatey Community Repository (starting with v11.0.0.49893) will also be mirrored on this repository's Releases page. The nupkg can be installed from the current directory (with dependencies sourced from the Community Repository) as follows:

choco install foxitreader --source="'.;https://community.chocolatey.org/api/v2/'"

Build

Install Chocolatey, clone this repository, and run the following command in the cloned repository:

choco pack

A successful build will create foxitreader.w.x.y.z.nupkg, where w.x.y.z should be the Nuspec's version value at build time.

Note that Chocolatey package builds are non-deterministic. Consequently, an independently built package will fail a checksum validation against officially published packages.

Update

This package should be automatically updated by the Chocolatey Automatic Package Updater Module. If it is outdated by more than a few days, please open an issue.

AU expects the parent directory that contains this repository to share a name with the Nuspec (foxitreader). Your local repository should therefore be cloned accordingly:

git clone [email protected]:brogers5/chocolatey-package-foxitreader.git foxitreader

Alternatively, a junction point can be created that points to the local repository (preferably within a repository adopting the AU packages template):

mklink /J foxitreader ..\chocolatey-package-foxitreader

Once created, simply run update.ps1 from within the created directory/junction point. Assuming all goes well, all relevant files should change to reflect the latest version available. This will also build a new package version using the modified files.

To forcibly create an updated package (regardless of whether a new software version or package is available), pass the -Force switch:

.\update.ps1 -Force

Note

The update script stores the last ETag value served with the download, in order to detect possible silent updates (which would require a new package to update the installer's checksum). If a new value is detected, package updates will be forced, even if -Force was not passed.

Before submitting a pull request, please test the package using the Chocolatey Testing Environment first.

chocolatey-package-foxitreader's People

Watchers

 avatar  avatar

chocolatey-package-foxitreader's Issues

v12.0.0.12394 checksum is outdated

Per a recent message sent to maintainers via the community repo website:

v12.0.0.12394, when downloaded from 'https://cdn06.foxitsoftware.com/product/reader/desktop/win/12.0.0/FoxitPDFReader120L10NSetup_Prom.exe' has a hash of CE7EA8FEB3E416EAA8D8B866AF902233E0A8F23A83D90938E24E406476C420CD, which is different from the advertised 17bf8d1603b458736d8ca9ad68294afb8511269a23be871dbce1e6fe43ee0fba.

Need to look into what (if anything else) has changed and update the package accordingly.

v2023.2.0.21408 checksum is outdated

Per a recent Disqus comment:

At this moment the package download generates a crc error and installation is impossible.

Need to look into what (if anything else) has changed and update the package accordingly.

This might also be a good opportunity to enhance the update script with support for forced updates and ETag checking, since this is not the first time Foxit has done this...

Abysmally slow downloads

Download speeds thru choco are abysmal for me.
choco download at 50KB/sec, direct downloads at 100MB/sec
Looks like the URL for choco is:
https://www.foxit.com/downloads/latest.html?product=Foxit-Reader&platform=Windows&package_type=exe&language=German&version=11.1.0.52543
But website which is fast for me is: https://www.foxit.com/downloads/latest.html?product=Foxit-Reader&platform=Windows&version=&package_type=&language=English&distID=

Is there something that can be done to change the URL used, or figure out why foxit is throttling choco? It seems deliberate, but maybe I'm missing something.

Foxit PDF Reader will not upgrade

I have version 10.1.4.37651 installed and tried to upgrade, but choclatey did not create any log (using chocolatey gui) and it fails everytime with not being able to remove the previous version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.