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

7zip install fails #187

Closed
Stanzilla opened this issue May 19, 2020 · 14 comments
Closed

7zip install fails #187

Stanzilla opened this issue May 19, 2020 · 14 comments
Assignees
Labels
Area-External Issue outside of winget-cli source Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@Stanzilla
Copy link

Stanzilla commented May 19, 2020

Brief description of your issue

Steps to reproduce

winget install 7zip

Expected behavior

7zip gets installed

Actual behavior

7zip install fails

The app downloads and triggers the UAC dialog, I hit okay and it fails. I assume it is because 7zip was already installed

PS C:\Users\Stan> winget install 7zip
Found 7Zip [7zip.7zip]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://www.7-zip.org/a/7z1900-x64.msi
  ██████████████████████████████  1.66 MB / 1.66 MB
Successfully verified installer hash
Installing ...
Installer failed with exit code: 1603

Environment

[winget --info]
Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19041.264
Package: Microsoft.DesktopAppInstaller v1.0.41331.0

Links:
  Privacy Statement: https://aka.ms/winget-privacy
  License agreement: https://aka.ms/winget-license
  3rd Party Notices: https://aka.ms/winget-3rdPartyNotice
  Homepage:          https://aka.ms/winget
=== Logging started: 19.05.2020  18:16:33 ===
Action start 18:16:33: INSTALL.
Action start 18:16:33: AppSearch.
Action ended 18:16:33: AppSearch. Return value 1.
Action start 18:16:33: FindRelatedProducts.
Action ended 18:16:33: FindRelatedProducts. Return value 0.
Action start 18:16:33: ValidateProductID.
Action ended 18:16:33: ValidateProductID. Return value 1.
Action start 18:16:33: CostInitialize.
Action ended 18:16:33: CostInitialize. Return value 1.
Action start 18:16:33: FileCost.
Action ended 18:16:33: FileCost. Return value 1.
Action start 18:16:33: CostFinalize.
Action ended 18:16:33: CostFinalize. Return value 1.
Action start 18:16:33: MigrateFeatureStates.
Action ended 18:16:33: MigrateFeatureStates. Return value 0.
Action start 18:16:33: InstallValidate.
Action ended 18:16:33: InstallValidate. Return value 1.
Action start 18:16:33: RemoveExistingProducts.
Action ended 18:16:33: RemoveExistingProducts. Return value 0.
Action start 18:16:33: InstallInitialize.
Action ended 18:16:33: InstallInitialize. Return value 1.
Action start 18:16:33: ProcessComponents.
Action ended 18:16:33: ProcessComponents. Return value 1.
Action start 18:16:33: UnpublishFeatures.
Action ended 18:16:33: UnpublishFeatures. Return value 1.
Action start 18:16:33: RemoveRegistryValues.
Action ended 18:16:33: RemoveRegistryValues. Return value 1.
Action start 18:16:33: RemoveShortcuts.
Action ended 18:16:33: RemoveShortcuts. Return value 1.
Action start 18:16:33: RemoveFiles.
Action ended 18:16:33: RemoveFiles. Return value 0.
Action start 18:16:33: InstallFiles.
Action ended 18:16:33: InstallFiles. Return value 1.
Action start 18:16:33: CreateShortcuts.
Action ended 18:16:33: CreateShortcuts. Return value 1.
Action start 18:16:33: WriteRegistryValues.
Action ended 18:16:33: WriteRegistryValues. Return value 1.
Action start 18:16:33: RegisterUser.
Action ended 18:16:33: RegisterUser. Return value 0.
Action start 18:16:33: RegisterProduct.
Action ended 18:16:33: RegisterProduct. Return value 1.
Action start 18:16:33: PublishFeatures.
Action ended 18:16:33: PublishFeatures. Return value 1.
Action start 18:16:33: PublishProduct.
MSI (s) (04:1C) [18:16:33:274]: Product: 7-Zip 19.00 (x64 edition) -- Error 1316. The specified account already exists.


Error 1316. The specified account already exists.

Action ended 18:16:33: PublishProduct. Return value 3.
Action ended 18:16:33: INSTALL. Return value 3.
Property(S): INSTALLDIR = C:\Program Files\7-Zip\
Property(S): UpgradeCode = {23170F69-40C1-2702-0000-000004000000}
Property(S): LicenseAccepted = 1
Property(S): Installed = 00:00:00
Property(S): Privileged = 1
Property(S): MyLang = C:\Program Files\7-Zip\Lang\
Property(S): ProgramFiles64Folder = C:\Program Files\
Property(S): TARGETDIR = K:\
Property(S): PMenu = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\7-Zip\
Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(S): SourceDir = C:\Users\Stan\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\
Property(S): Manufacturer = Igor Pavlov
Property(S): ProductCode = {23170F69-40C1-2702-1900-000001000000}
Property(S): ProductLanguage = 1033
Property(S): ProductName = 7-Zip 19.00 (x64 edition)
Property(S): ProductVersion = 19.00.00.0
Property(S): MSIRMSHUTDOWN = 2
Property(S): ALLUSERS = 1
Property(S): ARPURLINFOABOUT = http://www.7-zip.org/
Property(S): ARPHELPLINK = http://www.7-zip.org/support.html
Property(S): ARPURLUPDATEINFO = http://www.7-zip.org/download.html
Property(S): DefaultUIFont = WixUI_Font_Normal
Property(S): WixUI_Mode = FeatureTree
Property(S): WixUI_WelcomeDlg_Next = LicenseAgreementDlg
Property(S): WixUI_LicenseAgreementDlg_Back = WelcomeDlg
Property(S): WixUI_LicenseAgreementDlg_Next = CustomizeDlg
Property(S): WixUI_CustomizeDlg_BackChange = MaintenanceTypeDlg
Property(S): WixUI_CustomizeDlg_BackCustom = SetupTypeDlg
Property(S): WixUI_CustomizeDlg_BackFeatureTree = LicenseAgreementDlg
Property(S): WixUI_CustomizeDlg_Next = VerifyReadyDlg
Property(S): WixUI_VerifyReadyDlg_BackCustom = CustomizeDlg
Property(S): WixUI_VerifyReadyDlg_BackChange = CustomizeDlg
Property(S): WixUI_VerifyReadyDlg_BackRepair = MaintenanceTypeDlg
Property(S): WixUI_VerifyReadyDlg_BackTypical = SetupTypeDlg
Property(S): WixUI_VerifyReadyDlg_BackFeatureTree = CustomizeDlg
Property(S): WixUI_VerifyReadyDlg_BackComplete = SetupTypeDlg
Property(S): WixUI_MaintenanceWelcomeDlg_Next = MaintenanceTypeDlg
Property(S): WixUI_MaintenanceTypeDlg_Change = CustomizeDlg
Property(S): WixUI_MaintenanceTypeDlg_Repair = VerifyRepairDlg
Property(S): WixUI_MaintenanceTypeDlg_Remove = VerifyRemoveDlg
Property(S): WixUI_MaintenanceTypeDlg_Back = MaintenanceWelcomeDlg
Property(S): WixUI_VerifyRemoveDlg_Back = MaintenanceTypeDlg
Property(S): WixUI_VerifyRepairDlg_Back = MaintenanceTypeDlg
Property(S): ErrorDialog = ErrorDlg
Property(S): SecureCustomProperties = OLDERVERSIONBEINGUPGRADED
Property(S): MsiLogFileLocation = C:\Users\Stan\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\7zip.7zip.19.0.0.log
Property(S): PackageCode = {23170F69-40C1-2702-1900-000002000000}
Property(S): ProductState = 5
Property(S): ProductToBeRegistered = 1
Property(S): REBOOTPROMPT = S
Property(S): CURRENTDIRECTORY = C:\Users\Stan
Property(S): CLIENTUILEVEL = 2
Property(S): CLIENTPROCESSID = 31676
Property(S): MsiSystemRebootPending = 1
Property(S): PRODUCTLANGUAGE = 1033
Property(S): VersionDatabase = 200
Property(S): VersionMsi = 5.00
Property(S): VersionNT = 603
Property(S): VersionNT64 = 603
Property(S): WindowsBuild = 9600
Property(S): ServicePackLevel = 0
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 1
Property(S): WindowsFolder = C:\WINDOWS\
Property(S): WindowsVolume = C:\
Property(S): System64Folder = C:\WINDOWS\system32\
Property(S): SystemFolder = C:\WINDOWS\SysWOW64\
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:\Users\Stan\AppData\Local\Temp\
Property(S): ProgramFilesFolder = C:\Program Files (x86)\
Property(S): CommonFilesFolder = C:\Program Files (x86)\Common Files\
Property(S): CommonFiles64Folder = C:\Program Files\Common Files\
Property(S): AppDataFolder = C:\Users\Stan\AppData\Roaming\
Property(S): FavoritesFolder = C:\Users\Stan\Favorites\
Property(S): NetHoodFolder = C:\Users\Stan\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(S): PersonalFolder = C:\Users\Stan\Documents\
Property(S): PrintHoodFolder = C:\Users\Stan\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(S): RecentFolder = C:\Users\Stan\AppData\Roaming\Microsoft\Windows\Recent\
Property(S): SendToFolder = C:\Users\Stan\AppData\Roaming\Microsoft\Windows\SendTo\
Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(S): CommonAppDataFolder = C:\ProgramData\
Property(S): LocalAppDataFolder = C:\Users\Stan\AppData\Local\
Property(S): MyPicturesFolder = C:\Users\Stan\Pictures\
Property(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(S): DesktopFolder = C:\Users\Public\Desktop\
Property(S): FontsFolder = C:\WINDOWS\Fonts\
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): MsiAMD64 = 23
Property(S): Msix64 = 23
Property(S): Intel = 23
Property(S): PhysicalMemory = 32721
Property(S): VirtualMemory = 14552
Property(S): LogonUser = Stan
Property(S): UserSID = S-1-5-21-3295885696-2941907520-459019011-1001
Property(S): UserLanguageID = 1031
Property(S): ComputerName = STAN-PC
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 19
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 18:16:33
Property(S): Date = 5/19/2020
Property(S): MsiNetAssemblySupport = 4.8.4084.0
Property(S): MsiWin32AssemblySupport = 6.3.19041.1
Property(S): RedirectedDllSupport = 2
Property(S): AdminUser = 1
Property(S): MsiRunningElevated = 1
Property(S): USERNAME = Stan@live.com
Property(S): DATABASE = C:\Windows\Installer\38437.msi
Property(S): OriginalDatabase = C:\Users\Stan\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\7zip.7zip.19.0.0.msi
Property(S): UILevel = 3
Property(S): MsiUIProgressOnly = 1
Property(S): MsiUIHideCancel = 1
Property(S): ACTION = INSTALL
Property(S): ROOTDRIVE = K:\
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): INSTALLLEVEL = 1
Property(S): SOURCEDIR = C:\Users\Stan\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\
Property(S): SourcedirProduct = {23170F69-40C1-2702-1900-000001000000}
MSI (s) (04:1C) [18:16:33:294]: Windows Installer reconfigured the product. Product Name: 7-Zip 19.00 (x64 edition). Product Version: 19.00.00.0. Product Language: 1033. Manufacturer: Igor Pavlov. Reconfiguration success or error status: 1603.

=== Logging stopped: 19.05.2020  18:16:33 ===
@andrewbaker-uk
Copy link

I've just tried on a device which didn't already have 7-zip installed and it installed fine.

image

@jahands
Copy link

jahands commented May 19, 2020

This did something really weird for me. It installed fine:
image

But the installer killed explorer.exe without starting again after installation, which is fine except tthat when I started it again explorer went into a crash loop:
Video of crash loop
Once I managed to kill explorer.exe in task manager (difficult when explorer is crashing) it stopped. Very weird.

Windows version:
image

@joelnedev
Copy link

same happens to me with PowerToys
PS C:\Users\joele> winget install PowerToys Found PowerToys [Microsoft.PowerToys] This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://github.com/microsoft/PowerToys/releases/download/0.18.0/PowerToysSetup-0.18.0-x64.msi ██████████████████████████████ 21.8 MB / 21.8 MB Successfully verified installer hash Installing ... Installer failed with exit code: 1603 Installer log is available at: C:\Users\joele\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Microsoft.PowerToys.0.18.0.log PS C:\Users\joele>

On Win10Pro 2004.19628.1

@denelon denelon added the Issue-Bug It either shouldn't be doing this or needs an investigation. label May 22, 2020
@denelon
Copy link
Contributor

denelon commented May 23, 2020

@JuhJuhButts did you have .NET Core installed on the machine? That is a dependency of PowerToys, and winget doesn't support dependencies yet. That was mentioned in #163

@denelon denelon added this to the Package Manager Backlog milestone May 23, 2020
@joelnedev
Copy link

joelnedev commented May 23, 2020 via email

@denelon
Copy link
Contributor

denelon commented Jan 7, 2021

Is this issue resolved?

@denelon denelon added the Needs-Author-Feedback Issue needs attention from issue or PR author label Jan 7, 2021
@Stanzilla
Copy link
Author

Just tried again today:

image

Log:

=== Logging started: 07.01.2021  02:13:01 ===
Action start 02:13:01: INSTALL.
Action start 02:13:01: AppSearch.
Action ended 02:13:01: AppSearch. Return value 1.
Action start 02:13:01: FindRelatedProducts.
Action ended 02:13:01: FindRelatedProducts. Return value 0.
Action start 02:13:01: ValidateProductID.
Action ended 02:13:01: ValidateProductID. Return value 1.
Action start 02:13:01: CostInitialize.
Action ended 02:13:01: CostInitialize. Return value 1.
Action start 02:13:01: FileCost.
Action ended 02:13:01: FileCost. Return value 1.
Action start 02:13:01: CostFinalize.
Action ended 02:13:01: CostFinalize. Return value 1.
Action start 02:13:01: MigrateFeatureStates.
Action ended 02:13:01: MigrateFeatureStates. Return value 0.
Action start 02:13:01: InstallValidate.
Action ended 02:13:01: InstallValidate. Return value 1.
Action start 02:13:01: RemoveExistingProducts.
Action ended 02:13:01: RemoveExistingProducts. Return value 0.
Action start 02:13:01: InstallInitialize.
Action ended 02:13:01: InstallInitialize. Return value 1.
Action start 02:13:01: ProcessComponents.
Action ended 02:13:01: ProcessComponents. Return value 1.
Action start 02:13:01: UnpublishFeatures.
Action ended 02:13:01: UnpublishFeatures. Return value 1.
Action start 02:13:01: RemoveRegistryValues.
Action ended 02:13:01: RemoveRegistryValues. Return value 1.
Action start 02:13:01: RemoveShortcuts.
Action ended 02:13:01: RemoveShortcuts. Return value 1.
Action start 02:13:01: RemoveFiles.
Action ended 02:13:01: RemoveFiles. Return value 0.
Action start 02:13:01: InstallFiles.
Action ended 02:13:01: InstallFiles. Return value 1.
Action start 02:13:01: CreateShortcuts.
Action ended 02:13:01: CreateShortcuts. Return value 1.
Action start 02:13:01: WriteRegistryValues.
Action ended 02:13:01: WriteRegistryValues. Return value 1.
Action start 02:13:01: RegisterUser.
Action ended 02:13:01: RegisterUser. Return value 0.
Action start 02:13:01: RegisterProduct.
Action ended 02:13:01: RegisterProduct. Return value 3.
Action ended 02:13:01: INSTALL. Return value 3.
Property(S): INSTALLDIR = C:\Program Files\7-Zip\
Property(S): UpgradeCode = {23170F69-40C1-2702-0000-000004000000}
Property(S): LicenseAccepted = 1
Property(S): Installed = 00:00:00
Property(S): Privileged = 1
Property(S): MyLang = C:\Program Files\7-Zip\Lang\
Property(S): ProgramFiles64Folder = C:\Program Files\
Property(S): TARGETDIR = K:\
Property(S): PMenu = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\7-Zip\
Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(S): SourceDir = C:\Users\Stan\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\
Property(S): Manufacturer = Igor Pavlov
Property(S): ProductCode = {23170F69-40C1-2702-1900-000001000000}
Property(S): ProductLanguage = 1033
Property(S): ProductName = 7-Zip 19.00 (x64 edition)
Property(S): ProductVersion = 19.00.00.0
Property(S): MSIRMSHUTDOWN = 2
Property(S): ALLUSERS = 1
Property(S): ARPURLINFOABOUT = http://www.7-zip.org/
Property(S): ARPHELPLINK = http://www.7-zip.org/support.html
Property(S): ARPURLUPDATEINFO = http://www.7-zip.org/download.html
Property(S): DefaultUIFont = WixUI_Font_Normal
Property(S): WixUI_Mode = FeatureTree
Property(S): WixUI_WelcomeDlg_Next = LicenseAgreementDlg
Property(S): WixUI_LicenseAgreementDlg_Back = WelcomeDlg
Property(S): WixUI_LicenseAgreementDlg_Next = CustomizeDlg
Property(S): WixUI_CustomizeDlg_BackChange = MaintenanceTypeDlg
Property(S): WixUI_CustomizeDlg_BackCustom = SetupTypeDlg
Property(S): WixUI_CustomizeDlg_BackFeatureTree = LicenseAgreementDlg
Property(S): WixUI_CustomizeDlg_Next = VerifyReadyDlg
Property(S): WixUI_VerifyReadyDlg_BackCustom = CustomizeDlg
Property(S): WixUI_VerifyReadyDlg_BackChange = CustomizeDlg
Property(S): WixUI_VerifyReadyDlg_BackRepair = MaintenanceTypeDlg
Property(S): WixUI_VerifyReadyDlg_BackTypical = SetupTypeDlg
Property(S): WixUI_VerifyReadyDlg_BackFeatureTree = CustomizeDlg
Property(S): WixUI_VerifyReadyDlg_BackComplete = SetupTypeDlg
Property(S): WixUI_MaintenanceWelcomeDlg_Next = MaintenanceTypeDlg
Property(S): WixUI_MaintenanceTypeDlg_Change = CustomizeDlg
Property(S): WixUI_MaintenanceTypeDlg_Repair = VerifyRepairDlg
Property(S): WixUI_MaintenanceTypeDlg_Remove = VerifyRemoveDlg
Property(S): WixUI_MaintenanceTypeDlg_Back = MaintenanceWelcomeDlg
Property(S): WixUI_VerifyRemoveDlg_Back = MaintenanceTypeDlg
Property(S): WixUI_VerifyRepairDlg_Back = MaintenanceTypeDlg
Property(S): ErrorDialog = ErrorDlg
Property(S): SecureCustomProperties = OLDERVERSIONBEINGUPGRADED
Property(S): MsiLogFileLocation = C:\Users\Stan\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-7zip.7zip.19.0.0-2021-1-7-02-12-58.863.log
Property(S): PackageCode = {23170F69-40C1-2702-1900-000002000000}
Property(S): ProductState = 5
Property(S): ProductToBeRegistered = 1
Property(S): REBOOTPROMPT = S
Property(S): REBOOT = ReallySuppress
Property(S): CURRENTDIRECTORY = C:\Users\Stan
Property(S): CLIENTUILEVEL = 2
Property(S): CLIENTPROCESSID = 31852
Property(S): MsiSystemRebootPending = 1
Property(S): PRODUCTLANGUAGE = 1033
Property(S): VersionDatabase = 200
Property(S): VersionMsi = 5.00
Property(S): VersionNT = 603
Property(S): VersionNT64 = 603
Property(S): WindowsBuild = 9600
Property(S): ServicePackLevel = 0
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 1
Property(S): WindowsFolder = C:\WINDOWS\
Property(S): WindowsVolume = C:\
Property(S): System64Folder = C:\WINDOWS\system32\
Property(S): SystemFolder = C:\WINDOWS\SysWOW64\
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:\Users\Stan\AppData\Local\Temp\
Property(S): ProgramFilesFolder = C:\Program Files (x86)\
Property(S): CommonFilesFolder = C:\Program Files (x86)\Common Files\
Property(S): CommonFiles64Folder = C:\Program Files\Common Files\
Property(S): AppDataFolder = C:\Users\Stan\AppData\Roaming\
Property(S): FavoritesFolder = C:\Users\Stan\Favorites\
Property(S): NetHoodFolder = C:\Users\Stan\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(S): PersonalFolder = C:\Users\Stan\Documents\
Property(S): PrintHoodFolder = C:\Users\Stan\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(S): RecentFolder = C:\Users\Stan\AppData\Roaming\Microsoft\Windows\Recent\
Property(S): SendToFolder = C:\Users\Stan\AppData\Roaming\Microsoft\Windows\SendTo\
Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(S): CommonAppDataFolder = C:\ProgramData\
Property(S): LocalAppDataFolder = C:\Users\Stan\AppData\Local\
Property(S): MyPicturesFolder = C:\Users\Stan\Pictures\
Property(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(S): DesktopFolder = C:\Users\Public\Desktop\
Property(S): FontsFolder = C:\WINDOWS\Fonts\
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): MsiAMD64 = 23
Property(S): Msix64 = 23
Property(S): Intel = 23
Property(S): PhysicalMemory = 32713
Property(S): VirtualMemory = 17955
Property(S): LogonUser = Stan
Property(S): UserSID = S-1-5-21-3295885696-2941907520-459019011-1001
Property(S): UserLanguageID = 1031
Property(S): ComputerName = STAN-PC
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 19
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 2:13:01
Property(S): Date = 1/7/2021
Property(S): MsiNetAssemblySupport = 4.8.4084.0
Property(S): MsiWin32AssemblySupport = 6.3.19041.546
Property(S): RedirectedDllSupport = 2
Property(S): AdminUser = 1
Property(S): MsiRunningElevated = 1
Property(S): USERNAME = Stan@live.com
Property(S): DATABASE = C:\Windows\Installer\38437.msi
Property(S): OriginalDatabase = C:\Users\Stan\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\7zip.7zip.19.0.0.msi
Property(S): UILevel = 3
Property(S): MsiUIProgressOnly = 1
Property(S): MsiUIHideCancel = 1
Property(S): ACTION = INSTALL
Property(S): ROOTDRIVE = K:\
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): INSTALLLEVEL = 1
Property(S): SOURCEDIR = C:\Users\Stan\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\
Property(S): SourcedirProduct = {23170F69-40C1-2702-1900-000001000000}
MSI (s) (C0:B4) [02:13:01:779]: Product: 7-Zip 19.00 (x64 edition) -- Configuration failed.

MSI (s) (C0:B4) [02:13:01:779]: Windows Installer reconfigured the product. Product Name: 7-Zip 19.00 (x64 edition). Product Version: 19.00.00.0. Product Language: 1033. Manufacturer: Igor Pavlov. Reconfiguration success or error status: 1603.

=== Logging stopped: 07.01.2021  02:13:01 ===

@ghost ghost added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Jan 7, 2021
@denelon
Copy link
Contributor

denelon commented Jan 7, 2021

Do you already have 7zip installed on the machine?

MSI error 1603 appears to be a file in use.
I've also seen an error 1683 on another package that indicated it had already been installed.

@denelon denelon added Needs-Author-Feedback Issue needs attention from issue or PR author and removed Needs-Attention Issue needs attention from Microsoft labels Jan 7, 2021
@Stanzilla
Copy link
Author

I do now, yeah. Installed via MSI. I don't remember if it was when I initially tested but I guess winget should be able to handle the case, no?

@ghost ghost added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Jan 7, 2021
@denelon
Copy link
Contributor

denelon commented Jan 7, 2021

We're still working on the linkage between installed apps and the Windows Package Manager with list. The case isn't handled yet.

@denelon denelon removed the Needs-Attention Issue needs attention from Microsoft label Jan 7, 2021
@denelon
Copy link
Contributor

denelon commented Apr 15, 2021

This looks like this issue is currently related to the 7zip installer. We haven't landed on a solid path forward to identify when a package is installed that doesn't support a second installation. We will need to work through how this scenario might be resolved in the future, and it relates to how we can map applications in ARP to something a user is trying to install. This might be a case where we need to look at upgrade rather than install, or some other solution.

Another alternative is that we may see that it appears the package has already been installed, so the Windows Package Manager would just inform the user that the package had already been installed.

@denelon denelon added the Area-External Issue outside of winget-cli source label Apr 15, 2021
@denelon denelon added this to WinGet Sep 29, 2021
@denelon denelon modified the milestones: Backlog-Client, v1.2-Client Oct 1, 2021
@o-l-a-v
Copy link

o-l-a-v commented Nov 28, 2021

For 7-Zip, the problem with explorer.exe being killed, is likely due to how MSI works. Igor Pavlov recommends using the exe installer as he has more control over the install process.

Would be great if installing 7-Zip EXE over an existing MSI installation if Winget could clean up any MSI reference afterwards (registry). Else it will say that there are two versions of 7-Zip installed. Even though MSI and EXE installs to the same directory.

@denelon
Copy link
Contributor

denelon commented Dec 3, 2021

We're starting to see scenarios where the installer type has changed. Our guidance will be to uninstall the older version prior to installing the new version. As the installer is determining which settings to put in Apps & Features, not the Windows Package Manager, there isn't much we can do here other than inform. If the winget upgrade command is used, the upgrade behavior can be set to uninstall previous in the manifest.

@denelon
Copy link
Contributor

denelon commented Dec 3, 2021

We've tested the current client against the 1603 MSI Error code, and now correctly handle the "Expected Return Code".

@Stanzilla, please let us know if this hasn't resolved the issue.

@denelon denelon closed this as completed Dec 3, 2021
Repository owner moved this from Assigned to Done in WinGet Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-External Issue outside of winget-cli source Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
Archived in project
Development

No branches or pull requests

7 participants