-
Notifications
You must be signed in to change notification settings - Fork 86
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
wingetcreate new
detected installertype that fails
#26
Comments
wingetcreate new
detected installertype that fails
Very strange indeed. From the exe manifest, this does seem to be a WiX installer:
However, winget fails when trying to install it as such. Changing wix to exe in the installer manifest seems to fix the issue. It's possible either this is an extremely rare edge case where the workaround of manually editing the manifest is sufficient, or it's possible there's something wrong with our installerType detection heuristic. |
EA Desktop also does the same I don't know how installers work, but do they disable the parms for some wild reason? |
Apparently, the "wix" installerType is actually for WiX MSIs. When the WiX toolset is used to create an exe, that's actually a "burn" installer. https://wixtoolset.org/documentation/manual/v3/bundle/ |
burn did indeed solve the EA Desktop InstallerType, hope there is a easy way to detect the difference between burn and WiX MSI :) |
We decided to just set the installerType for all MSIs as "msi" for now. Winget itself doesn't treat them differently: https://github.com/microsoft/winget-cli/blob/cf6f8e58195bf033a1a5872f7b800866cd27a586/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp#L348. If that ever changes, we'll re-evaluate |
Brief description of your issue
wingetcreate new
detected the wrong installertype which madewinget install -m M:\pathtomanifest
fail with error code 1620Steps to reproduce
wingetcreate new https://www.expressvpn.works/clients/windows/expressvpn_windows_10.2.4.11_release.exe
winget install -m .\e\ExpressVPN\ExpressVPN\10.2.4.11\
Expected behavior
For it to work
Actual behavior
Error code 1620
Environment
The text was updated successfully, but these errors were encountered: