chocolatey-packages icon indicating copy to clipboard operation
chocolatey-packages copied to clipboard

iCloud installation using msi files fails but succeeds with the parent exe

Open aaronliu0130 opened this issue 2 years ago • 0 comments

Expected Behavior

iCloud installs successfully when using chocolatey.

Current Behavior

It fails with 1603, using the script's msi install method.

Possible Solution

Pass the same args to the downloaded .exe instead of installing with the .msi strategy.

Steps to Reproduce (for bugs)

  1. choco install iCloud

Context

This may be a problem with the msi itself that doesn't affect the parent .exe . However, package managers should be able to install programs correctly.

Your Environment

  • Package Version used: 7.21.0.23
  • Operating System and version: Windows 11 22h2 25193.1000
  • Chocolatey version: 1.1.0
  • Install/uninstall gist:
Installing the following packages:
icloud
By installing, you accept licenses for the packages.
iCloud v7.21.0.23 already installed. Forcing reinstall of version '7.21.0.23'.
 Please use upgrade if you meant to upgrade to a new version.
Progress: Downloading iCloud 7.21.0.23... 100%

iCloud v7.21.0.23 (forced) [Approved] icloud package files install completed. Performing other installation steps. Downloading iCloud from 'http://updates-http.cdn-apple.com/2020/windows/001-39935-20200911-1A70AA56-F448-11EA-8CC0-99D41950005E/iCloudSetup.exe' Progress: 100% - Completed download of C:\Users\Iakov\AppData\Local\Temp\chocolatey\iCloud\7.21.0.23\iCloudSetup.exe (153.68 MB). Download of iCloudSetup.exe (153.68 MB) completed. Hashes match. Extracting C:\Users\Iakov\AppData\Local\Temp\chocolatey\iCloud\7.21.0.23\iCloudSetup.exe to C:\Users\Iakov\AppData\Local\Temp\chocolatey\iCloud\7.21.0.23... C:\Users\Iakov\AppData\Local\Temp\chocolatey\iCloud\7.21.0.23 Installing 64-bit AppleApplicationSupport64.msi... AppleApplicationSupport64.msi has been installed. Installing 64-bit Bonjour64.msi... Bonjour64.msi has been installed. Installing 64-bit iCloud64.msi... WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\iCloud_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error. WARNING: Exit code '1603' was considered valid by script, but not as a Chocolatey success code. Returning '0'. iCloud64.msi has been installed. The install of icloud was successful. Software installed to 'C:\Program Files (x86)\Bonjour'

aaronliu0130 avatar Sep 06 '22 21:09 aaronliu0130