Does the zip installer support multi-file programs? #3382
-
I see that zip installer support has arrived (👏). I was looking at two applications today which only support a zip download, but which are not a single executable or a collection of single executables. Instead it is a collection of file (traditionally separated into Here's one example - GHDL (installer When extracted, the file tree is as below. Only
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Unfortunately, the current implementation of WinGet does not fully support the installation of such packages. Blocked by For additional context: The issue lies in how WinGet manages ZIP packages, specifically for the installation of portable/loose .exe files that need to be added to the PATH variable. I'll describe the scenarios I know of as a typical user as I haven't read how the actual code works for this 1. Installation from an admin shell / Developer mode turned ON WinGet will have one directory in the PATH variable (that's usually 2. Installation from a user shell and Developer mode turned OFF In this case, WinGet cannot create a symlink and will resort to putting the entire path of the package in the PATH variable. You will need to restart the shell/terminal to reload the PATH variable after installation but a package such as one described above will work correctly and the files will be referenced properly. However, this approach will quickly use up the character limit of the PATH variable if you continue installing packages this way / already have other packages in PATH. There are potential solutions discussed in the linked issue; but currently such packages (referred as "Zipped Binaries") are not being accepted into WinGet because of these limitations. |
Beta Was this translation helpful? Give feedback.
-
Pity, but thanks for the explanation. Looks like I won't be able to get my whole development environment in |
Beta Was this translation helpful? Give feedback.
Unfortunately, the current implementation of WinGet does not fully support the installation of such packages. Blocked by
For additional context: The issue lies in how WinGet manages ZIP packages, specifically for the installation of portable/loose .exe files that need to be added to the PATH variable.
I'll describe the scenarios I know of as a typical user as I haven't read how the actual code works for this
1. Installation from an admin shell / Developer mode turned ON
WinGet will have one directory in the PATH variable…