Replies: 4 comments
-
|
I tried this with v1.6.10121 on an x64 machine and did not experience the same issue. If you could provide the As to declaring a dependency on a minimum version of the AppInstaller itself; that isn't possible currently. The only mechanism that could work would still require your repro to get further along than it is. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @JohnMcPMS Thank you for reply. Here is AILog file that you requested |
Beta Was this translation helpful? Give feedback.
-
|
Sorry, I should have also said to get the |
Beta Was this translation helpful? Give feedback.
-
|
@JohnMcPMS sorry for long reply. I checked the log file file in folder that you provided and the file with logs is empty. Maybe it's required to set some flags somewhere to start collecting logs? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Brief description of your issue
I have msix package that has WebView2 as dependency
On fresh installed Windows 11 I have 1.21 version of AppInstaller
When try to install msix package, I got this error
The workaround is to set Optional=true, but then in this case it will not install MinVersion specified.
Then after running update for AppInstaller (via winget or via Microsoft Store)
It uses latest version
And msix installer with
Optional="false"works and install required version.It seems that there was some bug between 1.21.10120.0 and 1.25.340.0 versions, that breaks installation.
However there is lack of information shown during installation, so users can't figure out that they need to update AppInstaller. Windows updates also don't update AppInstaller. So the only option is that user should figure out by themselves that they need to upgrade AppInstaller or we can't force to install specific Webview version.
Following this – is there an option to specify dependency on concrete version of Microsoft.DesktopAppInstaller in msix package? tried to add the following
But it then return
App Installer failed to install package dependencies.Steps to reproduce
Expected behavior
should be able to instal msix package with mandatory WebView2 dependency on fresh Windows 11 installation
Actual behavior
Failed to install msix package with mandatory WebView2 dependency on fresh Windows 11 installation
Environment
>winget --info Windows Package Manager v1.6.10121 Copyright (c) Microsoft Corporation. All rights reserved. Windows: Windows.Desktop v10.0.26100.3476 System Architecture: Arm64 Package: Microsoft.DesktopAppInstaller v1.21.10120.0 after update Windows Package Manager v1.10.340 Copyright (c) Microsoft Corporation. All rights reserved. Windows: Windows.Desktop v10.0.26100.3476 System Architecture: Arm64 Package: Microsoft.DesktopAppInstaller v1.25.339.0Beta Was this translation helpful? Give feedback.
All reactions