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

[Package Issue]: Microsoft.Git #193150

Open
2 tasks done
reini-1 opened this issue Nov 22, 2024 · 3 comments
Open
2 tasks done

[Package Issue]: Microsoft.Git #193150

reini-1 opened this issue Nov 22, 2024 · 3 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@reini-1
Copy link

reini-1 commented Nov 22, 2024

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installation issue.

Brief description of your issue

Installation fails with exitcode 4

I think the problem is that there is no admin/uac popup.

Steps to reproduce

$ winget.exe install --id "Microsoft.Git" --exact --source winget --accept-source-agreements --accept-package-agreements
Gefunden Git [Microsoft.Git] Version 2.47.0.0.3
Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
Download läuft https://github.com/microsoft/git/releases/download/v2.47.0.vfs.0.3/Git-2.47.0.vfs.0.3-64-bit.exe
  ██████████████████████████████  69.4 MB / 69.4 MB
Der Installer-Hash wurde erfolgreich überprüft
Paketinstallation wird gestartet...
Das Installationsprogramm fordert die Ausführung als Administrator an. Es wird eine Eingabeaufforderung erwartet.
Installation fehlgeschlagen mit Exitcode: 4
Das Installationsprotokoll ist verfügbar unter: C:\Users\reini\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.Git.2.47.0.0.3-2024-11-22-17-24-14.147.log

Actual behavior

installation fails with exitcode 4

Expected behavior

installation works

Environment

$ winget --info
Windows-Paket-Manager v1.9.25200
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.22631.4460
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.24.25200.0

WinGet-Verzeichnisse
-----------------------------------------------------------------------------------------------------------------------------------------
Protokolle                                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Benutzereinstellungen                        %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Verzeichnis für portierbare Links (Benutzer) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portables Linkverzeichnis (Computer)         C:\Program Files\WinGet\Links
Portierbarer Paketstamm (Benutzer)           %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portierbarer Paketstamm                      C:\Program Files\WinGet\Packages
Portierbares Paketstamm (x86)                C:\Program Files (x86)\WinGet\Packages
Installationsprogrammdownloads               %USERPROFILE%\Downloads

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store-Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Administratoreinstellung                  Status
-----------------------------------------------------
LocalManifestFiles                        Deaktiviert
BypassCertificatePinningForMicrosoftStore Deaktiviert
InstallerHashOverride                     Deaktiviert
LocalArchiveMalwareScanOverride           Deaktiviert
ProxyCommandLineOptions                   Deaktiviert
DefaultProxy                              Deaktiviert

Screenshots and Logs

$ cat C:\Users\reini\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.Git.2.47.0.0.3-2024-11-22-17-24-14.147.log
2024-11-22 17:24:14.646   Log opened. (Time zone: UTC+01:00)
2024-11-22 17:24:14.646   Setup version: Inno Setup version 6.3.3
2024-11-22 17:24:14.646   Original Setup EXE: C:\Users\reini\AppData\Local\Temp\WinGet\Microsoft.Git.2.47.0.0.3\Git-2.47.0.vfs.0.3-64-bit.exe
2024-11-22 17:24:14.647   Setup command line: /SL5="$B1040,71510613,880640,C:\Users\reini\AppData\Local\Temp\WinGet\Microsoft.Git.2.47.0.0.3\Git-2.47.0.vfs.0.3-64-bit.exe" /SP- /SILENT /SUPPRESSMSGBOXES /NORESTART /LOG="C:\Users\reini\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.Git.2.47.0.0.3-2024-11-22-17-24-14.147.log" /COMPONENTS=icons,ext,gitlfs,assoc,assoc_sh,consolefont,windowsterminal,scalar
2024-11-22 17:24:14.647   Windows version: 10.0.22631
2024-11-22 17:24:14.647   Windows architecture: x64 (64-bit)
2024-11-22 17:24:14.647   Machine types supported by system: x86 x64
2024-11-22 17:24:14.647   User privileges: None
2024-11-22 17:24:14.671   Administrative install mode: No
2024-11-22 17:24:14.671   Install mode root key: HKEY_CURRENT_USER
2024-11-22 17:24:14.671   64-bit install mode: Yes
2024-11-22 17:24:14.671   Created temporary directory: C:\Users\reini\AppData\Local\Temp\is-CN4S4.tmp
2024-11-22 17:24:14.673   -- DLL function import --
2024-11-22 17:24:14.673   Function name: SetEnvironmentVariableW
2024-11-22 17:24:14.673   DLL name: Kernel32.dll
2024-11-22 17:24:14.673   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.673   Importing the DLL function.
2024-11-22 17:24:14.673   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.673   -- DLL function import --
2024-11-22 17:24:14.673   Function name: SetEnvironmentVariableW
2024-11-22 17:24:14.673   DLL name: Kernel32.dll
2024-11-22 17:24:14.673   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.673   Importing the DLL function.
2024-11-22 17:24:14.673   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.673   -- DLL function import --
2024-11-22 17:24:14.673   Function name: CloseHandle
2024-11-22 17:24:14.673   DLL name: Kernel32.dll
2024-11-22 17:24:14.673   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.673   Importing the DLL function.
2024-11-22 17:24:14.673   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.673   -- DLL function import --
2024-11-22 17:24:14.673   Function name: GetFileVersionInfoSizeA
2024-11-22 17:24:14.673   DLL name: Version.dll
2024-11-22 17:24:14.673   Dest DLL name: Version.dll
2024-11-22 17:24:14.673   Importing the DLL function.
2024-11-22 17:24:14.673   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.673   -- DLL function import --
2024-11-22 17:24:14.673   Function name: GetFileVersionInfoA
2024-11-22 17:24:14.673   DLL name: Version.dll
2024-11-22 17:24:14.673   Dest DLL name: Version.dll
2024-11-22 17:24:14.673   Importing the DLL function.
2024-11-22 17:24:14.673   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.673   -- DLL function import --
2024-11-22 17:24:14.673   Function name: VerQueryValueA
2024-11-22 17:24:14.673   DLL name: Version.dll
2024-11-22 17:24:14.673   Dest DLL name: Version.dll
2024-11-22 17:24:14.673   Importing the DLL function.
2024-11-22 17:24:14.673   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.674   -- DLL function import --
2024-11-22 17:24:14.674   Function name: CreateToolhelp32Snapshot
2024-11-22 17:24:14.674   DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Importing the DLL function.
2024-11-22 17:24:14.674   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.674   -- DLL function import --
2024-11-22 17:24:14.674   Function name: Process32FirstW
2024-11-22 17:24:14.674   DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Importing the DLL function.
2024-11-22 17:24:14.674   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.674   -- DLL function import --
2024-11-22 17:24:14.674   Function name: Process32NextW
2024-11-22 17:24:14.674   DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Importing the DLL function.
2024-11-22 17:24:14.674   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.674   -- DLL function import --
2024-11-22 17:24:14.674   Function name: Module32FirstW
2024-11-22 17:24:14.674   DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Importing the DLL function.
2024-11-22 17:24:14.674   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.674   -- DLL function import --
2024-11-22 17:24:14.674   Function name: Module32NextW
2024-11-22 17:24:14.674   DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Importing the DLL function.
2024-11-22 17:24:14.674   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.674   -- DLL function import --
2024-11-22 17:24:14.674   Function name: EnumProcesses
2024-11-22 17:24:14.674   DLL name: Psapi.dll
2024-11-22 17:24:14.674   Dest DLL name: Psapi.dll
2024-11-22 17:24:14.674   Importing the DLL function.
2024-11-22 17:24:14.674   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.674   -- DLL function import --
2024-11-22 17:24:14.674   Function name: EnumProcessModules
2024-11-22 17:24:14.674   DLL name: Psapi.dll
2024-11-22 17:24:14.674   Dest DLL name: Psapi.dll
2024-11-22 17:24:14.674   Importing the DLL function.
2024-11-22 17:24:14.674   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.674   -- DLL function import --
2024-11-22 17:24:14.674   Function name: OpenProcess
2024-11-22 17:24:14.674   DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.674   Importing the DLL function.
2024-11-22 17:24:14.674   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.674   -- DLL function import --
2024-11-22 17:24:14.674   Function name: GetModuleFileNameExW
2024-11-22 17:24:14.674   DLL name: Psapi.dll
2024-11-22 17:24:14.674   Dest DLL name: Psapi.dll
2024-11-22 17:24:14.674   Importing the DLL function.
2024-11-22 17:24:14.674   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.674   -- DLL function import --
2024-11-22 17:24:14.674   Function name: RmStartSession
2024-11-22 17:24:14.674   DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.674   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.674   Importing the DLL function.
2024-11-22 17:24:14.674   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.674   -- DLL function import --
2024-11-22 17:24:14.674   Function name: RmEndSession
2024-11-22 17:24:14.674   DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.674   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.674   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: RmRegisterResources
2024-11-22 17:24:14.675   DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.675   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: RmGetList
2024-11-22 17:24:14.675   DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.675   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: RmShutdown
2024-11-22 17:24:14.675   DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.675   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: RmRestart
2024-11-22 17:24:14.675   DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.675   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: TerminateProcess
2024-11-22 17:24:14.675   DLL name: Kernel32.dll
2024-11-22 17:24:14.675   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: WaitForSingleObject
2024-11-22 17:24:14.675   DLL name: Kernel32.dll
2024-11-22 17:24:14.675   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: CreatePipe
2024-11-22 17:24:14.675   DLL name: kernel32.dll
2024-11-22 17:24:14.675   Dest DLL name: kernel32.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: SetHandleInformation
2024-11-22 17:24:14.675   DLL name: kernel32.dll
2024-11-22 17:24:14.675   Dest DLL name: kernel32.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: CreateProcessA
2024-11-22 17:24:14.675   DLL name: kernel32.dll
2024-11-22 17:24:14.675   Dest DLL name: kernel32.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: ReadFile
2024-11-22 17:24:14.675   DLL name: kernel32.dll
2024-11-22 17:24:14.675   Dest DLL name: kernel32.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: PeekMessageA
2024-11-22 17:24:14.675   DLL name: user32.dll
2024-11-22 17:24:14.675   Dest DLL name: user32.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: TranslateMessage
2024-11-22 17:24:14.675   DLL name: user32.dll
2024-11-22 17:24:14.675   Dest DLL name: user32.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: DispatchMessageA
2024-11-22 17:24:14.675   DLL name: user32.dll
2024-11-22 17:24:14.675   Dest DLL name: user32.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: PeekNamedPipe
2024-11-22 17:24:14.675   DLL name: kernel32.dll
2024-11-22 17:24:14.675   Dest DLL name: kernel32.dll
2024-11-22 17:24:14.675   Importing the DLL function.
2024-11-22 17:24:14.675   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.675   -- DLL function import --
2024-11-22 17:24:14.675   Function name: GetExitCodeProcess
2024-11-22 17:24:14.675   DLL name: kernel32.dll
2024-11-22 17:24:14.675   Dest DLL name: kernel32.dll
2024-11-22 17:24:14.676   Importing the DLL function.
2024-11-22 17:24:14.676   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.676   -- DLL function import --
2024-11-22 17:24:14.676   Function name: GetLastError
2024-11-22 17:24:14.676   DLL name: kernel32.dll
2024-11-22 17:24:14.676   Dest DLL name: kernel32.dll
2024-11-22 17:24:14.676   Importing the DLL function.
2024-11-22 17:24:14.676   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.676   -- DLL function import --
2024-11-22 17:24:14.676   Function name: CreateHardLinkW
2024-11-22 17:24:14.676   DLL name: setup:Kernel32.dll
2024-11-22 17:24:14.676   Dest DLL name: Kernel32.dll
2024-11-22 17:24:14.676   Importing the DLL function.
2024-11-22 17:24:14.676   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:24:14.676   -- DLL function import --
2024-11-22 17:24:14.676   Function name: ExitProcess
2024-11-22 17:24:14.676   DLL name: kernel32.dll
2024-11-22 17:24:14.676   Dest DLL name: kernel32.dll
2024-11-22 17:24:14.676   Importing the DLL function.
2024-11-22 17:24:14.676   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.676   -- DLL function import --
2024-11-22 17:24:14.676   Function name: GetFileAttributesA
2024-11-22 17:24:14.676   DLL name: kernel32.dll
2024-11-22 17:24:14.676   Dest DLL name: kernel32.dll
2024-11-22 17:24:14.676   Importing the DLL function.
2024-11-22 17:24:14.676   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.676   -- DLL function import --
2024-11-22 17:24:14.676   Function name: SetFileAttributesA
2024-11-22 17:24:14.676   DLL name: kernel32.dll
2024-11-22 17:24:14.676   Dest DLL name: kernel32.dll
2024-11-22 17:24:14.676   Importing the DLL function.
2024-11-22 17:24:14.676   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:14.676   -- DLL function import --
2024-11-22 17:24:14.676   Function name: CryptStringToBinaryW
2024-11-22 17:24:14.676   DLL name: crypt32.dll
2024-11-22 17:24:14.676   Dest DLL name: crypt32.dll
2024-11-22 17:24:14.676   Importing the DLL function.
2024-11-22 17:24:14.677   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:24:15.052   Line 132: First directory in hierarchy that already exists is "C:\Program Files\Git".
2024-11-22 17:24:15.054   Line 132: First directory in hierarchy that already exists is "C:\Program Files\Git".
2024-11-22 17:24:15.108   Starting the installation process.
2024-11-22 17:24:15.113   Creating directory: C:\Program Files\Git\dev
2024-11-22 17:24:15.113   Fatal exception during installation process (Exception):
                          Setup was unable to create the directory "C:\Program Files\Git\dev".

                          Error 5: Zugriff verweigert.
2024-11-22 17:24:15.113   Exception message:
2024-11-22 17:24:15.113   Defaulting to OK for suppressed message box (OK):
                          Setup was unable to create the directory "C:\Program Files\Git\dev".

                          Error 5: Zugriff verweigert.
2024-11-22 17:24:15.113   Defaulting to OK for suppressed message box (OK):
                          Setup was not completed.

                          Please correct the problem and run Setup again.
2024-11-22 17:24:15.113   Rolling back changes.
2024-11-22 17:24:15.120   Starting the uninstallation process.
2024-11-22 17:24:15.887   Uninstallation process succeeded.
2024-11-22 17:24:17.397   Deinitializing Setup.
2024-11-22 17:24:17.416   Log closed.
@reini-1 reini-1 added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Nov 22, 2024
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Nov 22, 2024
@Dragon1573
Copy link
Contributor

It might be the same reason as #193149 (comment)?

@stephengillie
Copy link
Collaborator

#193149 (comment)

It makes me wonder if the issue is common to all developers compiling this package.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

3 participants