-
Notifications
You must be signed in to change notification settings - Fork 907
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
(#2241) Set install location to package dir for portable packages #2242
(#2241) Set install location to package dir for portable packages #2242
Conversation
87514b8
to
06e666f
Compare
@TheCakeIsNaOH can you update this with information about how you have tested this? We are in the process of adding templates to all repositories that would capture this information, but this PR was likely created before we started doing that. Just some information about what packages you have used to verify the execution would be great. Thanks! |
@gep13 should this information be added to the pull request, or inside the commit description, or both? |
@TheCakeIsNaOH We only need it in the PR description. |
06e666f
to
3330c46
Compare
3330c46
to
8895cd1
Compare
8895cd1
to
068abfa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Set the install location to the package folder under lib for nuget packages that do not have a chocolateyinstall.ps1. This will display the install location correctly for portable packages that just include binary(s) that get automatically shimmed.
068abfa
to
882e3f6
Compare
@TheCakeIsNaOH thanks for getting this added! |
Set the install location to the package folder under lib for nuget
packages that do not have a chocolateyinstall.ps1. This will display
the install location correctly for portable packages that just include
binary(s) that get automatically shimmed.
Fixes: #2241
This is definitely up for discussion on the implementation
This might be related to #1370.
This has been tested in a debug build, installing a number of packages, with everything working as expected:
curl
,balcon
,sumatrapdf.portable
,iperf2
. These all reported the install location correctly as being inside thelib
directory. This is the one changed behavior I found, as expected.wget
,curl
. These all reported the install location as normal inside their respectivetools
directories.4k-video-downloader
This one still showed the correct install location under "program files"$env:ChocolateyPackageInstallLocation
:dolphin-dev
,pcsx2-dev
. These all displayed the install location as specified in the install script.vcredist140
,KB3035131
,KB3033929
. These all still showed as the installation location being not set.4k-slideshow-maker
Still showed the same messagemsi.template
This one showed as being installed in a subfolder under the templates directory.chocolatey-core.extension
,chocolatey-windowsupdate.extension
. These showed as being installed in their subfolder under the extensions directory.