NickeManarin / ScreenToGif

🎬 ScreenToGif allows you to record a selected area of your screen, edit and save it as a gif or video.
http://www.screentogif.com
Microsoft Public License
23.04k stars 2.15k forks source link

Chocolatey package is out of date + error when attempting to install update #1307

Open DanAtkinson opened 2 months ago

DanAtkinson commented 2 months ago

Describe the bug I'm currently running on v2.39 installed from Chocolatey. However the current version is 2.41.

I've tried installing 2.41 - which I'm prompted to do every time I leave the application - but I get the following error (screenshot below):

---------------------------
ScreenToGif Setup
---------------------------
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2203. 
---------------------------
OK   
---------------------------

To Reproduce Steps to reproduce the behavior:

  1. Install the app from chocolatey - choco install screentogif -y
  2. Open the app.
  3. Close the app. You should be prompted to update
  4. See error

Expected behavior Ideally the Chocolatey package should be updated to the current version, but if I'm prompted to update via the app first, then I'm able to update the app via the installer first.

Screenshots image

Desktop (please complete the following information):

NickeManarin commented 1 month ago

I updated the chocolatey package. As for the error, the installer doesn't have permission to make changes to the folder. The app should not be calling the update as it should be handled by chocolatey. I added a check to prevent that, but looks like it's not working as expected.

DanAtkinson commented 1 month ago

Thank you! I have confirmed that the chocolatey package upgrade went through this morning following its approval, and it's now running on v2.41.