-
Notifications
You must be signed in to change notification settings - Fork 908
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
Package succeeds but software Install silently fails when Install-ChocolateyInstallPackage has the wrong arguments #629
Comments
ferventcoder
changed the title
If a package tries to install something but doesn't pass the right arguments, do not silently state it is successful
Package succeeds but software Install silently fails when Install-ChocolateyInstallPackage has the wrong arguments
Feb 11, 2016
Found it, fileType is the switch. Since it is empty, it should fail. choco/src/chocolatey.resources/helpers/functions/Install-ChocolateyInstallPackage.ps1 Lines 76 to 105 in 0426b74
|
ferventcoder
added a commit
that referenced
this issue
Feb 12, 2016
Validate that File and FileType are not null. If FileType is present but is not one of the proper settings, write a warning and set it to 'exe'.
ferventcoder
added a commit
to ferventcoder/choco
that referenced
this issue
Feb 12, 2016
* stable: (doc) update changelog/nuspec (chocolateyGH-631) Remove Get-BinRoot, Add Get-ToolsLocation (chocolateyGH-606) Check for License in User Profile (chocolateyGH-629) Install-ChocolateyInstallPackage Validate Parameters (doc) Update changelog/nuspec
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a package tries to install something but doesn't pass the right arguments, do not silently state it is successful
https://gist.github.com/fredrikaverpil/b8b1ce5fd0bacca0a644#file-vcpython27_no_uninstall_possible-log-L84
The text was updated successfully, but these errors were encountered: