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

Capture Arguments for a Package during Install/Upgrade #358

Closed
SeanKilleen opened this issue Jul 22, 2015 · 2 comments
Closed

Capture Arguments for a Package during Install/Upgrade #358

SeanKilleen opened this issue Jul 22, 2015 · 2 comments

Comments

@SeanKilleen
Copy link
Contributor

SeanKilleen commented Jul 22, 2015

Per discussion from #357.

Capturing any installation arguments from a given package at the time it is installed/upgraded will enable enhancements such as exporting package.config files and being able to recreate a chocolatey package setup.

This will also allow for automatic passing of "remembered" arguments during future upgrades

For searchability: remember

@ferventcoder ferventcoder changed the title Capture Installation Arguments when a package is installed Capture Arguments for a Package during Install/Upgrade Jul 22, 2015
@ferventcoder ferventcoder added this to the 1.x milestone Jul 22, 2015
@OlafHaag
Copy link

Since the chocolatey.log displays the received arguments upon installation, it wouldn't be so hard to do? I just had the same idea for the ChocolateyGUI which has a export functionality for information about installed packages and having the installation arguments exported with it would enable recreating a setup. I'd very much appreciate that!

@ferventcoder
Copy link
Member

Getting ready to pick this one up.

@ferventcoder ferventcoder self-assigned this Mar 16, 2016
ferventcoder added a commit that referenced this issue Jun 12, 2016
If an install/upgrade is successful, capture arguments to be used later
during upgrades, like when upgrading all packages.
ferventcoder added a commit that referenced this issue Jun 12, 2016
* stable:
  (doc) update CHANGELOG/nuspec
  (GH-487) Registry Snapshot Enhancements / Fixes
  (GH-358) Capture Arguments During Install/Upgrade
  (maint) remove spaces
  (maint) Format-FileSize silent
  (maint) update shims
  (GH-789) Use PowerShell commenting, not C#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants