-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Negative Dependencies #3007
Comments
Is there an example of a package that prevents another package from being installed? |
I know that WindowsFeatures does, with some apps like BlueStacks requiring Hyper-V to be disabled (or at least they used to, not sure if it still does). For packages, one clear example is Corsair.iCUE.3 which requires Corsair.iCUE.4 to not be installed. This is because although they are the "same" application, they are valid for different sets of corsair connected devices. iCUE 3 will throw error 1603, requiring users to go into the logs to find the true error |
@stephengillie - can you tag this with Dependencies too? |
here's one package that fails to install for me: i think that's a bug in the Logitech GHUB installer but it's a very annoying one - it fails to install if newer versions of Microsoft Visual C++ 2015-2019 Redistributable (x64 / x86) are installed and it cannot force-downgrade them. |
It is indeed a bug with G Hub's installer. It tries to install the redists without checking if the dependencies are already satisfied, and takes any error code other than success as failure, promptly aborting the installation shortly after. Unfortunately, the only one that can fix it is Logitech |
[Policy] Area-Manifest |
Description of the new feature / enhancement
Sometimes packages require things to not be installed / enabled. The current dependencies flow only accounts for enabling / installing, but doesn't have a way to cleanly terminate the install if windows features need to be disabled or other packages need to be uninstalled.
Currently, installers will just terminate with their error code, which could leave users wondering what the true issue is.
Proposed technical implementation details
No response
The text was updated successfully, but these errors were encountered: