winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Installer failed with exit code: 0x80070002 : The system cannot find the file specified. (Microsoft.WingetCreate)

Open katdti opened this issue 3 years ago • 5 comments

Brief description of your issue

Result of installing WingetCreate is Installer failed with exit code: 0x80070002 : The system cannot find the file specified.

Steps to reproduce

Open powershell adminstrator cmd and execute: winget install Microsoft.WingetCreate --verbose-logs

Expected behavior

Expected Microsoft.WingetCreate to be installed

Actual behavior

Installation fails. Log is showing [FAIL] D: ... PC does not have a drive D: WinGet-2022-06-08-15-25-02.762.log

Environment

Windows Package Manager v1.2.10941
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.1706
Package: Microsoft.DesktopAppInstaller v1.17.10941.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

katdti avatar Jun 08 '22 13:06 katdti

Hey @katdti,

Thanks for filing this issue. It is hard for us to know exactly what went wrong without more information. The best way to do that is to file a bug via Feedback Hub. Once we get your report, we'll be able to dive into the logs further and identify the problem.

ryfu-msft avatar Jun 09 '22 22:06 ryfu-msft

@katdti we've released a newer version of wingetcreate. Can you reproduce this error?

denelon avatar Aug 08 '22 18:08 denelon

Problem still exists with wingetcreate 1.1.2 and winget v1.4.2161-preview

Sources:

C:\Users\knr>winget source list
Name   Argument
---------------------------------------------
winget https://cdn.winget.microsoft.com/cache

Logs from running the command winget install Microsoft.WingetCreate --verbose-logs is attached: WinGet-2022-08-09-08-19-26.956.log

katdti avatar Aug 09 '22 06:08 katdti

@ryfu-msft do you have a bug for this at wingetcreate or do you understand the problem well enough with this Issue to fix it here?

denelon avatar Aug 09 '22 15:08 denelon

It is unclear if this is a winget problem or wingetcreate package problem. No - I have not a bug at microsoft/winget-create only a bug here at microsoft/winget-cli.

katdti avatar Aug 10 '22 06:08 katdti

@katdti can you submit a Feedback Hub report so we get logs to dig into?

denelon avatar Aug 10 '22 17:08 denelon

Feedback submitted via Feedback Hub again.

katdti avatar Aug 11 '22 10:08 katdti

Thank you.

denelon avatar Aug 11 '22 18:08 denelon