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]: Git.Git 2.47.0.2 did not install #193149

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

[Package Issue]: Git.Git 2.47.0.2 did not install #193149

reini-1 opened this issue Nov 22, 2024 · 0 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage This work item needs to be triaged by a member of the core team.

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 "Git.Git" --exact --source winget --accept-source-agreements --accept-package-agreements
Gefunden Git [Git.Git] Version 2.47.0.2
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/git-for-windows/git/releases/download/v2.47.0.windows.2/Git-2.47.0.2-64-bit.exe
  ██████████████████████████████  65.5 MB / 65.5 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-Git.Git.2.47.0.2-2024-11-22-17-25-09.183.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-Git.Git.2.47.0.2-2024-11-22-17-25-09.183.log
2024-11-22 17:25:09.646   Log opened. (Time zone: UTC+01:00)
2024-11-22 17:25:09.646   Setup version: Inno Setup version 6.3.3
2024-11-22 17:25:09.646   Original Setup EXE: C:\Users\reini\AppData\Local\Temp\WinGet\Git.Git.2.47.0.2\Git-2.47.0.2-64-bit.exe
2024-11-22 17:25:09.646   Setup command line: /SL5="$270F2A,67469616,880640,C:\Users\reini\AppData\Local\Temp\WinGet\Git.Git.2.47.0.2\Git-2.47.0.2-64-bit.exe" /SP- /SILENT /SUPPRESSMSGBOXES /NORESTART /LOG="C:\Users\reini\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Git.Git.2.47.0.2-2024-11-22-17-25-09.183.log" /COMPONENTS=icons,ext,gitlfs,assoc,assoc_sh,consolefont,windowsterminal,scalar
2024-11-22 17:25:09.646   Windows version: 10.0.22631
2024-11-22 17:25:09.646   Windows architecture: x64 (64-bit)
2024-11-22 17:25:09.646   Machine types supported by system: x86 x64
2024-11-22 17:25:09.646   User privileges: None
2024-11-22 17:25:09.668   Administrative install mode: No
2024-11-22 17:25:09.668   Install mode root key: HKEY_CURRENT_USER
2024-11-22 17:25:09.668   64-bit install mode: Yes
2024-11-22 17:25:09.669   Created temporary directory: C:\Users\reini\AppData\Local\Temp\is-514DK.tmp
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: SetEnvironmentVariableW
2024-11-22 17:25:09.670   DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: SetEnvironmentVariableW
2024-11-22 17:25:09.670   DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: CloseHandle
2024-11-22 17:25:09.670   DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: GetFileVersionInfoSizeA
2024-11-22 17:25:09.670   DLL name: Version.dll
2024-11-22 17:25:09.670   Dest DLL name: Version.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: GetFileVersionInfoA
2024-11-22 17:25:09.670   DLL name: Version.dll
2024-11-22 17:25:09.670   Dest DLL name: Version.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: VerQueryValueA
2024-11-22 17:25:09.670   DLL name: Version.dll
2024-11-22 17:25:09.670   Dest DLL name: Version.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: CreateToolhelp32Snapshot
2024-11-22 17:25:09.670   DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: Process32FirstW
2024-11-22 17:25:09.670   DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: Process32NextW
2024-11-22 17:25:09.670   DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: Module32FirstW
2024-11-22 17:25:09.670   DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: Module32NextW
2024-11-22 17:25:09.670   DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: EnumProcesses
2024-11-22 17:25:09.670   DLL name: Psapi.dll
2024-11-22 17:25:09.670   Dest DLL name: Psapi.dll
2024-11-22 17:25:09.670   Importing the DLL function.
2024-11-22 17:25:09.670   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.670   -- DLL function import --
2024-11-22 17:25:09.670   Function name: EnumProcessModules
2024-11-22 17:25:09.670   DLL name: Psapi.dll
2024-11-22 17:25:09.671   Dest DLL name: Psapi.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: OpenProcess
2024-11-22 17:25:09.671   DLL name: Kernel32.dll
2024-11-22 17:25:09.671   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: GetModuleFileNameExW
2024-11-22 17:25:09.671   DLL name: Psapi.dll
2024-11-22 17:25:09.671   Dest DLL name: Psapi.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: RmStartSession
2024-11-22 17:25:09.671   DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: RmEndSession
2024-11-22 17:25:09.671   DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: RmRegisterResources
2024-11-22 17:25:09.671   DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: RmGetList
2024-11-22 17:25:09.671   DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: RmShutdown
2024-11-22 17:25:09.671   DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: RmRestart
2024-11-22 17:25:09.671   DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Dest DLL name: Rstrtmgr.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: TerminateProcess
2024-11-22 17:25:09.671   DLL name: Kernel32.dll
2024-11-22 17:25:09.671   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: WaitForSingleObject
2024-11-22 17:25:09.671   DLL name: Kernel32.dll
2024-11-22 17:25:09.671   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: CreatePipe
2024-11-22 17:25:09.671   DLL name: kernel32.dll
2024-11-22 17:25:09.671   Dest DLL name: kernel32.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: SetHandleInformation
2024-11-22 17:25:09.671   DLL name: kernel32.dll
2024-11-22 17:25:09.671   Dest DLL name: kernel32.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: CreateProcessA
2024-11-22 17:25:09.671   DLL name: kernel32.dll
2024-11-22 17:25:09.671   Dest DLL name: kernel32.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: ReadFile
2024-11-22 17:25:09.671   DLL name: kernel32.dll
2024-11-22 17:25:09.671   Dest DLL name: kernel32.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: PeekMessageA
2024-11-22 17:25:09.671   DLL name: user32.dll
2024-11-22 17:25:09.671   Dest DLL name: user32.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: TranslateMessage
2024-11-22 17:25:09.671   DLL name: user32.dll
2024-11-22 17:25:09.671   Dest DLL name: user32.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: DispatchMessageA
2024-11-22 17:25:09.671   DLL name: user32.dll
2024-11-22 17:25:09.671   Dest DLL name: user32.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: PeekNamedPipe
2024-11-22 17:25:09.671   DLL name: kernel32.dll
2024-11-22 17:25:09.671   Dest DLL name: kernel32.dll
2024-11-22 17:25:09.671   Importing the DLL function.
2024-11-22 17:25:09.671   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.671   -- DLL function import --
2024-11-22 17:25:09.671   Function name: GetExitCodeProcess
2024-11-22 17:25:09.672   DLL name: kernel32.dll
2024-11-22 17:25:09.672   Dest DLL name: kernel32.dll
2024-11-22 17:25:09.672   Importing the DLL function.
2024-11-22 17:25:09.672   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.672   -- DLL function import --
2024-11-22 17:25:09.672   Function name: GetLastError
2024-11-22 17:25:09.672   DLL name: kernel32.dll
2024-11-22 17:25:09.672   Dest DLL name: kernel32.dll
2024-11-22 17:25:09.672   Importing the DLL function.
2024-11-22 17:25:09.672   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.672   -- DLL function import --
2024-11-22 17:25:09.672   Function name: CreateHardLinkW
2024-11-22 17:25:09.672   DLL name: setup:Kernel32.dll
2024-11-22 17:25:09.672   Dest DLL name: Kernel32.dll
2024-11-22 17:25:09.672   Importing the DLL function.
2024-11-22 17:25:09.672   Successfully imported the DLL function. Delay loaded? Yes
2024-11-22 17:25:09.672   -- DLL function import --
2024-11-22 17:25:09.672   Function name: ExitProcess
2024-11-22 17:25:09.672   DLL name: kernel32.dll
2024-11-22 17:25:09.672   Dest DLL name: kernel32.dll
2024-11-22 17:25:09.672   Importing the DLL function.
2024-11-22 17:25:09.672   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.672   -- DLL function import --
2024-11-22 17:25:09.672   Function name: GetFileAttributesA
2024-11-22 17:25:09.672   DLL name: kernel32.dll
2024-11-22 17:25:09.672   Dest DLL name: kernel32.dll
2024-11-22 17:25:09.672   Importing the DLL function.
2024-11-22 17:25:09.672   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.672   -- DLL function import --
2024-11-22 17:25:09.672   Function name: SetFileAttributesA
2024-11-22 17:25:09.672   DLL name: kernel32.dll
2024-11-22 17:25:09.672   Dest DLL name: kernel32.dll
2024-11-22 17:25:09.672   Importing the DLL function.
2024-11-22 17:25:09.672   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:09.672   -- DLL function import --
2024-11-22 17:25:09.672   Function name: CryptStringToBinaryW
2024-11-22 17:25:09.672   DLL name: crypt32.dll
2024-11-22 17:25:09.672   Dest DLL name: crypt32.dll
2024-11-22 17:25:09.672   Importing the DLL function.
2024-11-22 17:25:09.672   Successfully imported the DLL function. Delay loaded? No
2024-11-22 17:25:10.023   Line 132: First directory in hierarchy that already exists is "C:\Program Files\Git".
2024-11-22 17:25:10.025   Line 132: First directory in hierarchy that already exists is "C:\Program Files\Git".
2024-11-22 17:25:10.072   Starting the installation process.
2024-11-22 17:25:10.079   Creating directory: C:\Program Files\Git\dev
2024-11-22 17:25:10.079   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:25:10.079   Exception message:
2024-11-22 17:25:10.079   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:25:10.079   Defaulting to OK for suppressed message box (OK):
                          Setup was not completed.

                          Please correct the problem and run Setup again.
2024-11-22 17:25:10.079   Rolling back changes.
2024-11-22 17:25:10.085   Starting the uninstallation process.
2024-11-22 17:25:10.827   Uninstallation process succeeded.
2024-11-22 17:25:12.330   Deinitializing Setup.
2024-11-22 17:25:12.348   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
@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
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. Needs-Triage This work item needs to be triaged by a member of the core team.
Projects
None yet
Development

No branches or pull requests

1 participant