-
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
7zip install fails #187
Comments
This did something really weird for me. It installed fine: But the installer killed explorer.exe without starting again after installation, which is fine except tthat when I started it again explorer went into a crash loop: |
same happens to me with PowerToys On Win10Pro 2004.19628.1 |
@JuhJuhButts did you have .NET Core installed on the machine? That is a dependency of PowerToys, and winget doesn't support dependencies yet. That was mentioned in #163 |
I'm not sure, probably not. Did the regular installer for PowerToys install .NET Core? Because I tried installing it with that afterward and it worked fine.
Thanks,
Joel Evans
|
Is this issue resolved? |
Just tried again today: Log:
|
Do you already have 7zip installed on the machine? MSI error 1603 appears to be a file in use. |
I do now, yeah. Installed via MSI. I don't remember if it was when I initially tested but I guess winget should be able to handle the case, no? |
We're still working on the linkage between installed apps and the Windows Package Manager with list. The case isn't handled yet. |
This looks like this issue is currently related to the 7zip installer. We haven't landed on a solid path forward to identify when a package is installed that doesn't support a second installation. We will need to work through how this scenario might be resolved in the future, and it relates to how we can map applications in ARP to something a user is trying to install. This might be a case where we need to look at upgrade rather than install, or some other solution. Another alternative is that we may see that it appears the package has already been installed, so the Windows Package Manager would just inform the user that the package had already been installed. |
For 7-Zip, the problem with explorer.exe being killed, is likely due to how MSI works. Igor Pavlov recommends using the exe installer as he has more control over the install process.
Would be great if installing 7-Zip EXE over an existing MSI installation if Winget could clean up any MSI reference afterwards (registry). Else it will say that there are two versions of 7-Zip installed. Even though MSI and EXE installs to the same directory. |
We're starting to see scenarios where the installer type has changed. Our guidance will be to uninstall the older version prior to installing the new version. As the installer is determining which settings to put in Apps & Features, not the Windows Package Manager, there isn't much we can do here other than inform. If the |
We've tested the current client against the 1603 MSI Error code, and now correctly handle the "Expected Return Code". @Stanzilla, please let us know if this hasn't resolved the issue. |
Brief description of your issue
Steps to reproduce
winget install 7zip
Expected behavior
7zip gets installed
Actual behavior
7zip install fails
The app downloads and triggers the UAC dialog, I hit okay and it fails. I assume it is because 7zip was already installed
Environment
The text was updated successfully, but these errors were encountered: