Skip to content
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

Error code: Wsl/CallMsi/Install/ERROR_INSTALL_FAILURE #11828

Closed
1 of 2 tasks
heartacker opened this issue Jul 24, 2024 · 4 comments
Closed
1 of 2 tasks

Error code: Wsl/CallMsi/Install/ERROR_INSTALL_FAILURE #11828

heartacker opened this issue Jul 24, 2024 · 4 comments

Comments

@heartacker
Copy link

Windows Version

11

WSL Version

2.3.12

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Ubuntu 24.10

Other Software

No response

Repro Steps

WSL 正在完成升级...
Warning 1946.Property 'System.AppUserModel.ID' for shortcut 'WSL.lnk' could not be set.
Warning 1946.Property 'System.AppUserModel.ToastActivatorCLSID' for shortcut 'WSL.lnk' could not be set.
Warning 1946.Property 'System.AppUserModel.IsSystemComponent' for shortcut 'WSL Settings.lnk' could not be set.
Could not write value to key \SOFTWARE\Classes\Directory\shell\WSL. Verify that you have sufficient access to that key, or contact your support personnel.
更新失败(退出代码: 1603)。
Error code: Wsl/CallMsi/Install/ERROR_INSTALL_FAILURE

[已退出进程,代码为 4294967295 (0xffffffff)]
现在可以使用Ctrl+D关闭此终端,或按 Enter 重新启动。

Expected Behavior

ok

Actual Behavior

WSL 正在完成升级...
Warning 1946.Property 'System.AppUserModel.ID' for shortcut 'WSL.lnk' could not be set.
Warning 1946.Property 'System.AppUserModel.ToastActivatorCLSID' for shortcut 'WSL.lnk' could not be set.
Warning 1946.Property 'System.AppUserModel.IsSystemComponent' for shortcut 'WSL Settings.lnk' could not be set.
Could not write value to key \SOFTWARE\Classes\Directory\shell\WSL. Verify that you have sufficient access to that key, or contact your support personnel.
更新失败(退出代码: 1603)。
Error code: Wsl/CallMsi/Install/ERROR_INSTALL_FAILURE

[已退出进程,代码为 4294967295 (0xffffffff)]
现在可以使用Ctrl+D关闭此终端,或按 Enter 重新启动。

Diagnostic Logs

No response

Copy link

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@wwmmzz
Copy link

wwmmzz commented Jul 26, 2024

similar issues with wsl.2.3.12.0.x64.msi

run msiexec /i <path/to/msi> /L*V .\wsllogs.txt get log:

MSI (s) (B8:90) [07:50:49:824]: Note: 1: 2318 2: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\WSL.lnk 
MSI (s) (B8:90) [07:50:49:825]: Note: 1: 2318 2: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\WSL.lnk 
MSI (s) (B8:90) [07:50:49:825]: Executing op: ShortcutPropertyCreate(ShortcutName=WSL,PropertyKey=System.AppUserModel.ID,PropVariantValue=Microsoft.WSL)
MSI (s) (B8:90) [07:50:49:830]: Executing op: ShortcutPropertyCreate(ShortcutName=WSL,PropertyKey=System.AppUserModel.ToastActivatorCLSID,PropVariantValue={2B9C59C3-98F1-45C8-B87B-12AE3C7927E8})
MSI (s) (B8:90) [07:50:49:834]: Executing op: ShortcutCreate(Name=whinzpvc|WSL Settings,Feature=WSL,Component={AB166073-8855-492B-95C8-C6E5939B66A5}[~]2,,,,Icon=wsl.ico,,,,Description=Windows Subsystem for Linux Settings,,,,)
MSI (s) (B8:90) [07:50:49:841]: Note: 1: 2318 2: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\WSL Settings.lnk 
MSI (s) (B8:90) [07:50:49:841]: Executing op: ShortcutPropertyCreate(ShortcutName=whinzpvc|WSL Settings,PropertyKey=System.AppUserModel.IsSystemComponent,PropVariantValue=true)
MSI (s) (B8:90) [07:50:49:843]: Note: 1: 1946 2: System.AppUserModel.IsSystemComponent 3: WSL Settings.lnk 4: 32811 
MSI (s) (B8:90) [07:50:49:843]: Note: 1: 2205 2:  3: Error 
MSI (s) (B8:90) [07:50:49:843]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1946 
MSI (c) (A8:DC) [07:50:49:848]: Font created.  Charset: Req=1, Ret=134, Font: Req=, Ret=宋体

MSI (c) (A8:DC) [07:50:49:849]: Font created.  Charset: Req=0, Ret=0, Font: Req=, Ret=Arial

Warning 1946.Property 'System.AppUserModel.IsSystemComponent' for shortcut 'WSL Settings.lnk' could not be set. HRESULT 32811.
MSI (s) (B8:90) [07:51:05:771]: Executing op: SetTargetFolder(Folder=23)
MSI (s) (B8:90) [07:51:05:773]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (s) (B8:90) [07:51:05:773]: Executing op: ActionStart(Name=WriteRegistryValues,Description=Writing system registry values,Template=Key: [1], Name: [2], Value: [3])
MSI (s) (B8:90) [07:51:05:774]: Executing op: ProgressTotal(Total=69,Type=1,ByteEquivalent=13200)
MSI (s) (B8:90) [07:51:05:774]: Executing op: RegOpenKey(,Key=Interface\{38541BDC-F54F-4CEB-85D0-37F0F3D2617E},,BinaryType=1,ControlRegistryReflection=0,)
MSI (s) (B8:90) [07:51:05:774]: Executing op: RegAddValue(,Value=ILxssUserSession,)

@Stanzilla
Copy link

This can then lead to #11827

Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants