Relevant area(s)
WinGet CLI
Relevant command(s)
winget install
Brief description of your issue
When testing my manifest on both my dev machine and in Windows Sandbox (with and without your Sandbox script), I found that installing a zip InstallerType with a portable NestedInstallerType and all the right fields - it validates successfully - doesn't actually install the EXE. I also tried on Hugo.Hugo in Windows Sandbox and, though it also succeeded, didn't actually put anything in the package directory that winget --info shows, nor was the command available even after restarting my terminal.
I even tried with the --scope user parameter based on another bug I saw but didn't change anything.
Winget downloads the package, verifies it, and even seems to process it given the timing, but then nothing is in $env:LOCALAPPDATA\Microsoft\Winget\Packages or ...\Links.
Steps to reproduce
- Clone the
winget-pkgs repo (I did a sparse-checkout of { / , !/manifests/, /manifests/h/HUGO } for speed/disk space).
- Run:
.\Tools\SandboxTest.ps1 .\manifests\h\Hugo\Hugo\0.105.0\
- After install completes, check the User and Machine scope package directories.
Expected behavior
hugo.exe is installed (or, in my attempts to validate my own manifest, akv.exe)
Actual behavior
No files are actually installed.
Environment
Windows Package Manager v1.28.240
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26100.8246
System Architecture: Arm64
Package: Microsoft.DesktopAppInstaller v1.28.240.0
Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag???
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett???
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
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
Admin Setting State
--------------------------------------------------
LocalManifestFiles Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Enabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled
Relevant area(s)
WinGet CLI
Relevant command(s)
winget install
Brief description of your issue
When testing my manifest on both my dev machine and in Windows Sandbox (with and without your Sandbox script), I found that installing a
zipInstallerTypewith aportableNestedInstallerTypeand all the right fields - it validates successfully - doesn't actually install the EXE. I also tried onHugo.Hugoin Windows Sandbox and, though it also succeeded, didn't actually put anything in the package directory thatwinget --infoshows, nor was the command available even after restarting my terminal.I even tried with the
--scope userparameter based on another bug I saw but didn't change anything.Winget downloads the package, verifies it, and even seems to process it given the timing, but then nothing is in
$env:LOCALAPPDATA\Microsoft\Winget\Packagesor...\Links.Steps to reproduce
winget-pkgsrepo (I did a sparse-checkout of{ / , !/manifests/, /manifests/h/HUGO }for speed/disk space)..\Tools\SandboxTest.ps1 .\manifests\h\Hugo\Hugo\0.105.0\Expected behavior
hugo.exe is installed (or, in my attempts to validate my own manifest, akv.exe)
Actual behavior
No files are actually installed.
Environment