-
Notifications
You must be signed in to change notification settings - Fork 905
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
Some packages use non-API variables like $installArguments #207
Comments
This could sort of be related to #150 |
Like firefox being one of the big ones |
@ferventcoder which variables in particular are being used which shouldn't be? |
|
I sent the Firefox maintainers a fix (basic null check set to empty string). It worked in my testing. May not be the long term fix, but can get the Firefox package back up and running in the meantime. Here's the gist with log and fix info. |
@ferventcoder right, that is what I thought you were referring to, just wanted to make sure that we are on the same page. |
* Set $installArguments to the environment variable * Set $forcex86 to the environment variable * Set $packageParameters to the environment variable * Set $overrideArgs to the environment variable
I think I have this fixed. |
Yes, this is fixed. Going to start getting the documentation together to ship a new version today. |
Prior to calling the script, we need to set up variables so they are available. To do that we redirect the call to a known powershell script that will call the install/uninstall script. In this known script we set up all of the variables appropriately so they are already set when we call the actual script from the known script.
* stable: (version) 0.9.9.3 (doc) update nuspec / changelog for release (chocolateyGH-211) Use full path to msiexec (chocolateyGH-197) Uninstaller check for registry existence (chocolateyGH-167) Get-ChocolateyWebFile create directory (chocolateyGH-207) Set up variables for powershell scripts (chocolateyGH-202)(log) Enhance formatting escaping (chocolateyGH-202) Fix formatting on Noop logging (chocolateyGH-208) Do not escape curly braces in scripts (chocolateyGH-168) Retry .NET Fx if first install fails (chocolateyGH-168) .NET Framework 4.0 install egg/chicken (chocolateyGH-207) Some pkgs incorrectly use arguments
Only pass a switch if it is specified
Packages that incorrectly use variables that were never part of the api.
I won't call this a bug because it is most definitely a bug in the packages, not in Choco
The text was updated successfully, but these errors were encountered: