mkevenaar / chocolatey-packages

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

MongoDB 6.1.1 failing due to feature removed from downloaded msi #166

Closed TheFlo closed 1 year ago

TheFlo commented 1 year ago

Context

MongoDB package installation is failing due to an error during mongodb.install installation: This seems to be caused by a feature specified in the installation script which have been removed from the downloaded msi.

Current Behavior

image

Steps to Reproduce (for bugs)

run choco install mongodb --install-arguments="'/l*v c:\mongodb_msi_install.log'"

in the logs we can find:

DEBUG: Error 2711:  The specified Feature name ('Client') not found in Feature Table.
MSI (s) (F4:0C) [14:06:11:148]: Product: MongoDB 6.1.1 2008R2Plus SSL (64 bit) -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2711. The arguments are: Client, , 

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2711. The arguments are: Client, , 
Action ended 14:06:11: CostFinalize. Return value 3.
Action ended 14:06:11: INSTALL. Return value 3.

Possible Solution

Removing Client from ADDLOCAL in $silentArgs at line 6 of mongodb.install\tools\chocolateyInstall.ps1 should fix the issue.

image

There might be more feature to remove in the future as the list doesn't match what we can choose during manual installation.

Your Environment

sebastienPinel commented 1 year ago

Same thing is happening on version 6.2.1, I guess nothing have been done on this