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

Unable to use Boxstarter when using a licensed version of Chocolatey #247

Closed
flcdrg opened this issue Apr 7, 2017 · 13 comments · Fixed by #479
Closed

Unable to use Boxstarter when using a licensed version of Chocolatey #247

flcdrg opened this issue Apr 7, 2017 · 13 comments · Fixed by #479
Labels
5 - Released The issue has been resolved, and released to the public for consumption Bug Issues where something has happened which was not expected or intended
Milestone

Comments

@flcdrg
Copy link
Member

flcdrg commented Apr 7, 2017

Installed latest Chocolatey 0.10.5, added my license for Professional and installed chocolatey.extension package.

Then ran boxstarter via START http://boxstarter.org/package/url and seeing these errors being displayed:

Error when registering components for 'chocolatey.licensed.infrastructure.app.registration.ContainerBinding':
 Exception has been thrown by the target of an invocation.
Error when setting configuration for 'chocolatey.licensed.infrastructure.app.builders.ConfigurationBuilder':
 Exception has been thrown by the target of an invocation.
Error when setting environment for 'chocolatey.licensed.infrastructure.app.configuration.EnvironmentSettings':
 Exception has been thrown by the target of an invocation.
@EndaTreanor3001
Copy link

Did you find a solution to this problem?

@flcdrg
Copy link
Member Author

flcdrg commented Jun 16, 2017

No. Hoping there's a new Boxstarter version in the works that takes the latest Chocolatey bits

@mwallner
Copy link
Member

CC @ferventcoder

@ferventcoder
Copy link
Member

Fixed in 0.10.6 I believe with all of the API work that went in - 0.10.7 will have best fixes.

@mwrock
Copy link
Member

mwrock commented Jun 18, 2017

just deployed new boxstarter with 0.10.7 choco!

@EndaTreanor3001
Copy link

It appears to be a timing issue, I just kept trying the command and eventually the timing was ok and it made the package.

I was using version 10.7 of chocolatey and the latest version of boxstarter.

@ferventcoder
Copy link
Member

@csharprookie boxstarter has a built-in choco, it doesn't use the system installed version of choco by default. So a new version of boxstarter needed to deploy to support this.

@ferventcoder
Copy link
Member

Unless there is something there causing issues as well (like seen in the GUI)

@pauby pauby added Bug Issues where something has happened which was not expected or intended Chocolatey Issue 0 - Backlog Issue is accepted, but is not ready to be worked on or not in current sprint labels Mar 18, 2019
@pauby
Copy link
Member

pauby commented Mar 18, 2019

Related to #241.

@Jvekka
Copy link

Jvekka commented May 28, 2019

Is there a way to suppress the errors (or output)?

@lukebal
Copy link

lukebal commented Jul 9, 2019

@pauby What is the recommended way of moving forward with this? Error suppression? Not installing Chocolatey before using Boxstarter and having Boxstarter install chocolatey?
My goal is bootstrapping a fresh Windows 10 machine + installing licensed Chocolatey v10.13 + using Boxstarter to control the whole process

@pauby
Copy link
Member

pauby commented Jul 9, 2019

@lukebal I would have Boxtstarter install Chocolatey as needed. Boxstarter uses it's own 'Chocolatey' for package management.

@pauby pauby added this to the 3.0.0 milestone Oct 25, 2021
@gep13 gep13 added 3 - Review Code has been added, and is available for review as a pull request and removed Up For Grabs 0 - Backlog Issue is accepted, but is not ready to be worked on or not in current sprint labels Apr 25, 2022
@gep13 gep13 added 4 - Done Code has been added to the repository, and has been reviewed by a team member and removed 3 - Review Code has been added, and is available for review as a pull request labels Apr 27, 2022
@gep13 gep13 changed the title Error running Boxstarter script with existing licensed Chocolatey Unable to use Boxstarter when using a licensed version of Chocolatey Apr 27, 2022
@gep13 gep13 modified the milestones: 3.0.0-beta-20220426-14, 3.0.0 Jul 14, 2022
@gep13 gep13 added the 5 - Released The issue has been resolved, and released to the public for consumption label Jul 14, 2022
@gep13 gep13 removed the 4 - Done Code has been added to the repository, and has been reviewed by a team member label Jul 14, 2022
@choco-bot
Copy link

🎉 This issue has been resolved in version 3.0.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Released The issue has been resolved, and released to the public for consumption Bug Issues where something has happened which was not expected or intended
Projects
None yet
10 participants