mkevenaar / chocolatey-packages

My chocolatey packages
https://mkevenaar.github.io/chocolatey-packages/
Apache License 2.0
42 stars 66 forks source link

Google Drive package broken #154

Closed silversword411 closed 1 year ago

silversword411 commented 1 year ago

Current Behavior

When trying to run an update from 62.0.1.0

You have googledrive v62.0.1.0 installed. Version 66.0.3.0 is available based on your source(s).
Progress: Downloading googledrive 66.0.3.0... 100%

googledrive v66.0.3.0 [Approved]
googledrive package files upgrade completed. Performing other installation steps.
File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Hashes match.
Hashes match.
Installing googledrive...
2022-11-23T04:10:26.108ZI [13932:NonCelloThread] i18n.cc:311:InitializeI18n I18n initialized with en
WARNING: This MSI requires uninstall prior to installing a different version. Please ask the package maintainer(s) to add a check in the chocolateyInstall.ps1 script and uninstall if the software is installed. This is most likely an issue with the 'googledrive' package and not with Chocolatey itself. Please follow up with the package maintainer(s) directly.
ERROR: Running ["C:\Users\davidmain\AppData\Local\Temp\chocolatey\googledrive\66.0.3.0\GoogleDriveSetup.exe" --silent --desktop_shortcut ] was not successful. Exit code was '1638'. Exit code indicates the following: This MSI requires uninstall prior to installing a different version. Please ask the package maintainer(s) to add a check in the chocolateyInstall.ps1 script and uninstall if the software is installed. This is most likely an issue with the 'googledrive' package and not with Chocolatey itself. Please follow up with the package maintainer(s) directly..
The upgrade of googledrive was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\googledrive\tools\chocolateyInstall.ps1'.
 See log for details.

Possible Solution

Not sure how to adjust the uninstall before upgrade flag, I'll be watching the repo for how this is fixed for future work