Git Product home page Git Product logo

Comments (8)

NeoFax75 avatar NeoFax75 commented on June 28, 2024 1

from chocolatey-package-foxitreader.

brogers5 avatar brogers5 commented on June 28, 2024

Unfortunately, I could not reproduce an upgrade failure on either of my Windows machines or in the Chocolatey test environment. All environments used the latest available version of Chocolatey (0.11.3).

As a disclaimer, I've had little experience with using Chocolatey GUI, so feel free to correct me on any later claims/assumptions relating to it.

In all environments, I started by installing package version 10.1.4.37651 via the CLI, as I could not find an option in the GUI to install a user-defined version. From what I've observed, the only supported option for an initial-install scenario would be the latest listed version for a given package.

In the Chocolatey test environment, I wasn't able to get Chocolatey GUI v0.19.0 to successfully launch:
image

I wasn't able to find any information on this error, so I assume this is a bug with Chocolatey GUI that I'll need to report upstream. So for now, I can only attempt reproduction from the Chocolatey test environment with the CLI.

From there, an upgrade to the latest listed version (11.1.0.52543) succeeded without issues.

I then tried the same upgrade via the CLI for my Windows machines. This likewise succeeded on both machines.

Finally, I uninstalled version 11.1.0.52543, started again with installing 10.1.4.37651, and tried an upgrade via Chocolatey GUI v0.19.0. This also succeeded on both machines. The only thing that stuck out to me is that the Package Details page did not refresh to reflect the change in version - I had to backtrack to the main dashboard for the GUI's information to properly update.

Are you certain that no log was written? In my case, Chocolatey GUI wrote Chocolatey's output log to a file in C:\ProgramData\Chocolatey GUI\Logs. I'm assuming the same is being done in your environment, as I could not find an option to disable logging or redirect logs elsewhere.

Regardless, I'll need a copy of a log file containing an upgrade failure to move forward with debugging this.

from chocolatey-package-foxitreader.

NeoFax75 avatar NeoFax75 commented on June 28, 2024

Here is all that shows up in my chocolatey logs:

2021-10-30 14:33:20,135 20308 [DEBUG] - XmlConfiguration is now operational

Also, one problem is Windows Control Panel did not have Foxit PDF Reader recognized as installed, so I had to install the latest version and now Chocolatey GUI shows the old version even though the newest Foxit is installed on my PC.
chocolatey.log

from chocolatey-package-foxitreader.

brogers5 avatar brogers5 commented on June 28, 2024

Based on the provided log file, it looks as though it's a failure in the installer binary itself that's causing the failure:

2021-10-31 06:37:45,301 15040 [ERROR] - ERROR: Running ["C:\Users\Terry Milnes\AppData\Local\Temp\chocolatey\FoxitReader\11.1.0.52543\FoxitPDFReader111_L10N_Setup_Prom.exe" /verysilent ] was not successful. Exit code was '1'. See log for possible error messages.

Unfortunately, no other details are being printed by it to the console.

I would recommend you run the upgrade again from the CLI with the not-silent option:

choco upgrade foxitreader --not-silent

This will instruct Chocolatey to not use the typical command-line arguments used for a silent-install, and would show the installer wizard GUI as though you had started it directly. You'd have to manually step through the installer GUI to reproduce the problem again. Chances are it would give us a more descriptive error message that we could work with.

Alternatively, since you've already installed the latest version outside of Chocolatey, you could run the upgrade again with the Skip PowerShell option (-n) to skip running chocolateyInstall.ps1 altogether (which includes running the installer binary). That ought to get you unblocked and get your version registration synced up:

choco upgrade foxitreader -n

from chocolatey-package-foxitreader.

brogers5 avatar brogers5 commented on June 28, 2024

@NeoFax75, have you had a chance to dig further into this? Do you still require assistance?

from chocolatey-package-foxitreader.

brogers5 avatar brogers5 commented on June 28, 2024

@NeoFax75, just wanted to circle back and let you know I just pushed a new package version for v11.2.1.53537 that was released a few days ago. Be sure to keep an eye out for when it gets approved.

from chocolatey-package-foxitreader.

brogers5 avatar brogers5 commented on June 28, 2024

@NeoFax75, the updated package has been approved for publishing as of a week ago. Have you had a chance to try an upgrade yet?

from chocolatey-package-foxitreader.

brogers5 avatar brogers5 commented on June 28, 2024

Given the lack of updates, I'm closing this issue, since this issue appears to be environment-specific and is not actionable with the info currently available to me.

from chocolatey-package-foxitreader.

Related Issues (4)

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.