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

Change note that Get-PackageParameters is now available in Chocolatey CLI directly #430

Closed
TheCakeIsNaOH opened this issue Mar 28, 2022 · 2 comments · Fixed by #569
Closed

Comments

@TheCakeIsNaOH
Copy link
Member

What You Are Seeing?

https://docs.chocolatey.org/en-us/guides/create/parse-packageparameters-argument

image

What is Expected?

Get-PackageParameters has actually been available directly as a helper since Chocolatey CLI 0.10.8
chocolatey/choco#1393

The note should be updated.

How Did You Get This To Happen? (Steps to Reproduce)

N/A

@Manoj496
Copy link

Hi @TheCakeIsNaOH but it's not working in 0.11.2, it's working after upgrading to latest available. It is skipping the installation to the path given choco install <pkg_id> --params "'/LICENSE:value'"``. eg: choco install <pkg_id> --params "'/customlocation:C:/users/somedir'". But when using the command with latest chocolatey I can see the package installed to the given path.

TheCakeIsNaOH added a commit to TheCakeIsNaOH/docs that referenced this issue Oct 13, 2022
This updates the note about Get-PackageParameters to say
that it is now included with Chocolatey CLI. This also removes
the now unnecessary section about how to take a dependency on
the chocolatey-core.extension.
@TheCakeIsNaOH
Copy link
Member Author

@Manoj496 if you are still having issues with using Get-PackageParameters, I'd suggest asking in chat: https://ch0.co/community

TheCakeIsNaOH added a commit to TheCakeIsNaOH/docs that referenced this issue Oct 13, 2022
This updates the note about Get-PackageParameters to say
that it is now included with Chocolatey CLI. This also removes
the now unnecessary section about how to take a dependency on
the chocolatey-core.extension.
pauby added a commit that referenced this issue Oct 14, 2022
(#430) Update information about Get-PackageParameters
choco-bot pushed a commit that referenced this issue Oct 14, 2022
Merge pull request #569 from TheCakeIsNaOH/pkg-params-fix

(#430) Update information about Get-PackageParameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants