Coder Social home page Coder Social logo

ferventcoder / chocolatey-packages Goto Github PK

View Code? Open in Web Editor NEW
112.0 112.0 114.0 47.48 MB

The packages...all about the packages.

PowerShell 66.03% AutoHotkey 1.36% AutoIt 0.11% HTML 22.57% C 3.77% C# 3.45% Pascal 2.28% Batchfile 0.11% Visual Basic .NET 0.34%

chocolatey-packages's People

Contributors

admiringworm avatar alanstevens avatar chrisortman avatar cori avatar danatkinson avatar dgalbraith avatar espoelstra avatar ferventcoder avatar gep13 avatar iristyle avatar jberezanski avatar kierranm avatar linkp avatar majkinetor avatar miketweaver avatar mkevenaar avatar mwrock avatar nekresh avatar nilzor avatar pascalberger avatar patrickmaurer avatar redbaron2 avatar redsandro avatar rvdginste avatar staxmanade avatar teknowledgist avatar thecakeisnaoh avatar toddmeinershagen avatar tomone avatar zippy1981 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chocolatey-packages's Issues

(easy.install) easy.install is broken

C:\Windows\system32>choco install --force easy.install
Chocolatey v0.9.9.5
Installing the following packages:
easy.install
By installing you accept licenses for the packages.

easy.install v0.6.11.4 (forced)
The package easy.install wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Do you want to run the script?
 1) yes
 2) no
 3) print
yes
 Setting PYTHONHOME environment variable to 'C:\tools\python3'
 PS: PYTHONHOME variable is not required to Python works, but it is a good practice to have it.
 Using python home at 'C:\tools\python3'
 Installing easy_install for Python(3.4.3)...
 Installing distribute, Distribute is a fork of the Setuptools project. works with python versions >= 3.0
 distribute homepage: http://pypi.python.org/pypi/distribute
 Running python file: 'C:\Users\john\AppData\Local\Temp\distribute_setup.py'
   File "C:\Users\john\AppData\Local\Temp\distribute_setup.py", line 1
     <!DOCTYPE html>
     ^
 WARNING: Write-ChocolateySuccess is deprecated. If you are the maintainer,
 SyntaxError: invalid syntax
 please remove it from your package file.
The install of easy.install was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\easy.install\tools\chocolateyInstall.ps1'.
 See log for details.

Chocolatey installed 0/1 package(s). 1 package(s) failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures:
 - easy.install

C:\Windows\system32>

And because easy.install fails, so does pip.

Python3.4 ships pip and easy_install. Would you update the python install script to add C:\tools\python3\Scripts to %PATH% and delete pip and easy.install from chocolatey? If I install the python3 msi manually and choose "Add Python to PATH" I get pip, so you can probably accomplish this just by giving it a flag.

Thanks for your efforts. We all rely on them!

(I tried to submit this via https://chocolatey.org/packages/easy.install/ContactOwners, but that's broken too ;))

poshgit install issue

Installing posh-git produces the error below. As a workaround, you can run C:\tools\poshgit\install.ps1 directly. Make sure your execution policy is at least RemoteSigned. See posh-git manual install instructions for more details.

C:\tools\poshgit
poshgit has finished successfully! The chocolatey gods have answered your request!

Write-Error : poshgit did not finish successfully. Boo to the chocolatey gods!

[ERROR] Unable to index into an object of type System.IO.DirectoryInfo.

At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:30 char:14
+ Write-Error <<<< $errorMessage
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Write-Error : Package 'poshgit v0.5.0.201401009' did not install successfully: Unable to index into an object of type System.IO.DirectoryInfo.

At C:\ProgramData\chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:90 char:28

Write-Error <<<< "Package '$installedPackageName v$installedPackageVersion' did not install successfully: $($_.Exception.Message)"

CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException

FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error
Finished installing 'poshgit' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.

Errors when uninstalling if npm packages installed as global

How to Reproduce (sh CL)

  • choco install nodejs
  • npm i -g bower
  • choco uninstall nodejs.commandline

Errors Produced

04:39:14pm >> choco uninstall nodejs.commandline
Chocolatey (v0.9.8.31) is uninstalling nodejs.commandline...
Uninstalling from folder C:\ProgramData\chocolatey\lib\nodejs.commandline.0.10.35
get-childitem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Get-ChocolateyBins.ps1:17 char:16
+       $files = get-childitem $packageFolder -include *.exe -recurse
+                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\ProgramData\...in\node_modules:String) [Get-ChildItem], PathTooLongException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

get-childitem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Get-ChocolateyBins.ps1:17 char:16
+       $files = get-childitem $packageFolder -include *.exe -recurse
+                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\ProgramData\...nfig-chain\test:String) [Get-ChildItem], PathTooLongException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

get-childitem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Get-ChocolateyBins.ps1:17 char:16
+       $files = get-childitem $packageFolder -include *.exe -recurse
+                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\ProgramData\..._modules\wrappy:String) [Get-ChildItem], PathTooLongException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

get-childitem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Get-ChocolateyBins.ps1:17 char:16
+       $files = get-childitem $packageFolder -include *.exe -recurse
+                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\ProgramData\...les\wrappy\test:String) [Get-ChildItem], PathTooLongException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

Removing shim C:\ProgramData\chocolatey\bin\node.exe which pointed to '%DIR%..\lib\nodejs.commandline.0.10.35\tools\node.exe'.
Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Run-ChocolateyPS1.ps1:22 char:12
+     $ps1 = Get-ChildItem  $packageFolder -recurse | ?{$_.name -match $actionFile ...
+            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\ProgramData\...in\node_modules:String) [Get-ChildItem], PathTooLongException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Run-ChocolateyPS1.ps1:22 char:12
+     $ps1 = Get-ChildItem  $packageFolder -recurse | ?{$_.name -match $actionFile ...
+            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\ProgramData\...nfig-chain\test:String) [Get-ChildItem], PathTooLongException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Run-ChocolateyPS1.ps1:22 char:12
+     $ps1 = Get-ChildItem  $packageFolder -recurse | ?{$_.name -match $actionFile ...
+            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\ProgramData\..._modules\wrappy:String) [Get-ChildItem], PathTooLongException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Run-ChocolateyPS1.ps1:23 char:19
+     $installps1 = Get-ChildItem  $packageFolder -recurse | ?{$_.name -match 'cho ...
+                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\ProgramData\...in\node_modules:String) [Get-ChildItem], PathTooLongException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Run-ChocolateyPS1.ps1:23 char:19
+     $installps1 = Get-ChildItem  $packageFolder -recurse | ?{$_.name -match 'cho ...
+                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\ProgramData\...nfig-chain\test:String) [Get-ChildItem], PathTooLongException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Run-ChocolateyPS1.ps1:23 char:19
+     $installps1 = Get-ChildItem  $packageFolder -recurse | ?{$_.name -match 'cho ...
+                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\ProgramData\..._modules\wrappy:String) [Get-ChildItem], PathTooLongException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

Remove-Item : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Chocolatey-Uninstall.ps1:33 char:7
+       Remove-Item -Recurse -Force $packageFolder
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\ProgramData\...andline.0.10.35:String) [Remove-Item], PathTooLongException
    + FullyQualifiedErrorId : RemoveItemIOError,Microsoft.PowerShell.Commands.RemoveItemCommand

Manual Solution
This looks like a limitation of Windows when directory structures become too deeply nested. If you manually remove the folders in

C:\ProgramData\chocolatey\lib\nodejs.commandline.0.10.35\tools\node_modules\

then run

choco uninstall nodejs.commandline

the errors are removed.

Git Extensions 2.48 removed git-credential-winstore.

After updating Git Extensions to 2.48 the following error is shown:

"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe" get:
C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe: No such file or directory

Since version 2.48 it seems the git-credential-winstore.exe file is only available from the Complete installer, as noted on gitextensions/gitextensions#1492 (comment).

My initial guess would be that the Chocolatey package should use the Complete installer, however I can also reason that it would not be desirable in some cases. My guess is that there has been a good reason why this was not used in the past. I also think that it would be dangereous to simply remove the entry from the user's Git config file. Hence, I don't really know how this should be fixed, but at least it should be documented somehow.

(ruby2.devkit) Install script for ruby2.devkit getting errors

Attempting to install ruby2.devkit and getting the following error:
C:\tools\ruby21\bin\ruby.exe: No such file or directory -- dk.rb (LoadError)
C:\tools\ruby21\bin\ruby.exe: No such file or directory -- dk.rb (LoadError)

I haven't quite wrapped my head around the entire Chocolatey code, but I believe maybe lines 89-91 are causing the script to cd into "$env:systemdrive\DevKit2", whereas Chocolatey is installing the tools into "$env:systemdrive\tools\DevKit2." Not really completely sure that's the case, but it seems clear from the log that dk.rb isn't being found by Ruby, yet it is most definitely in "c:\tools\DevKit2"

I'll continue to research. Maybe I can fix it, once I understand everything that's going on.

(putty) Use full PuTTY installer instead of portable zip

PuTTY publishes an installer that does a few nice things that putty.portable doesn't:

  • Registers .ppk files in Explorer
  • Creates start menu entries
  • Plays well with other software (Others have complained about exe shims causing issues)

One thing that the PuTTY installer does not do is add all of the executables to the path. For most of the executables, being in the path is not necessary as shell integration and the Start Menu are often easier to use. Some exes however, pscp.exe for one, are very handy to have in the Windows PATH.

Can we use the real PuTTY installer and add exe shims so that relevant executable are also in the path? (Or is adding PuTTY install dir to the path better?)

Ketarin needs fixed

CloudBerryExplorer.S3 The downloaded file is not a binary file type (text/html; charset=utf-8). Possibly there is an error page. Status code: 200 (OK) (http://www.cloudberrylab.com)
Compass The remote server returned an error: (404) Not Found. (https://rubygems.global.ssl.fastly.net/gems/compass-{version}.gem)
googledrive The remote server returned an error: (404) Not Found. (https://dl.google.com/drive/1.26.707.2863/gsync.msi)
pngoptimizer The remote server returned an error: (404) Not Found. (http://psydk.org/download/PngOptimizer-2.4.2-x86.zip)
postgresql.v8 The remote server returned an error: (403) Forbidden. (http://get.enterprisedb.com/postgresql/postgresql-8.4.22&nbsp;-1-windows.exe)
postgresql.v9 The remote server returned an error: (403) Forbidden. (http://get.enterprisedb.com/postgresql/postgresql-9.5.0 RC1-1-windows.exe)
pspad The remote server returned an error: (404) Not Found. (http://pspad.poradna.net/release/pspad460inst_en.exe)
putty.install The remote server returned an error: (404) Not Found. (http://the.earth.li/~sgtatham/putty/0.66/x86/putty--installer.exe)
resharper The remote server returned an error: (404) Not Found. (http://www.jetbrains.com/resharper/download/download_thanks.jsp?os=rs)
sliksvn The remote server returned an error: (404) Not Found. (https://sliksvn.com/pub/Slik-Subversion-{realVersion}-win32.msi)
yeoman The remote server returned an error: (404) Not Found. (http://yeoman.io/assets/img/yeoman-008.png)

Fix php package

Shouldn’t the php package put the bin folder onto PATH?

After installing this package on a fresh W8 VM, attempting to launch php.exe failed: “MSVCR110.dll is missing”. Perhaps this needs the ms c++ runtimes as dependency?

(nodejs) Make it easy to maintain an LTS install of nodejs

Nodejs now has the concept of an LTS release, this is currently the 4.2.x series of releases. Currently these releases are mixed in with the more recent 5.x releases within the same chocolatey package, making it hard to maintain an LTS release install with chocolatey.

See conversation at https://chocolatey.org/packages/nodejs#comment-2365980358 you had suggested "Perhaps a meta package for LTS that was specifically about certain version restrictions of nodejs?" as a possible approach.

Create issue when a Ketarin 404 is detected

When Ketarin encounters a 404 error, a GitHub issue should be raised as this would indicate that the package is no longer valid.

I understand from conversations with Gary on the choco gitter that an Azure VM kicks off a scheduled task which determines whether the packages require updates and actions them accordingly.

I gather that this would require scraping the log file in order to determine whether it's failed.

This should look something like the following (for VLC).

vlc: Failed, The remote name could not be resolved

SysInternals install fails when run from Powershell DSC

Powershell DSC runs as the system user, so it attempts to setup a shortcut in the start menu of the system user, and fails as it can't save the .lnk to "C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Process Explorer.lnk" as the path doesn't exist.

Seems related to: #61, but not sure if it will fix it.

Full error log:

2015-05-27 22:27:29,384 [ERROR] -  Exception calling "Save" with "0" argument(s): "Unable to save shortcut "C:\Win
2015-05-27 22:27:29,400 [ERROR] -  dows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start 
2015-05-27 22:27:29,400 [ERROR] -  Menu\Programs\Process Explorer.lnk"."
2015-05-27 22:27:29,400 [ERROR] -  At C:\ProgramData\chocolatey\helpers\functions\Write-ChocolateyFailure.ps1:24 
2015-05-27 22:27:29,400 [ERROR] -  char:3
2015-05-27 22:27:29,400 [ERROR] -  +   throw "$failureMessage"
2015-05-27 22:27:29,400 [ERROR] -  +   ~~~~~~~~~~~~~~~~~~~~~~~
2015-05-27 22:27:29,400 [ERROR] -      + CategoryInfo          : OperationStopped: (Exception calli...Explorer.ln 
2015-05-27 22:27:29,400 [ERROR] -     k".":String) [], RuntimeException
2015-05-27 22:27:29,400 [ERROR] -      + FullyQualifiedErrorId : Exception calling "Save" with "0" argument(s): " 
2015-05-27 22:27:29,400 [ERROR] -     Unable to save shortcut "C:\Windows\system32\config\systemprofile\AppData\  
2015-05-27 22:27:29,400 [ERROR] -    Roaming\Microsoft\Windows\Start Menu\Programs\Process Explorer.lnk"."
2015-05-27 22:27:29,431 [ERROR] - The install of sysinternals was NOT successful.

I've worked around for now with a DSC File dependency to create the path first but it's a bit of a hack.

    File SysInternalsPath
    {
        Ensure = "Present"
        Type = "Directory"
        DestinationPath = "%systemroot%\System32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"
    }

    cChocoPackageInstaller installSysInternals
    {
        Name = "sysinternals"
        DependsOn = @("[cChocoInstaller]installChoco","[File]SysInternalsPath")
    }

Would be nicer if it handled the exception and didn't treat failure to add the shortcut as failure to install the package - or added to the start menu for all users, so admin users still have it even if installed via DSC.

Git package isn't installing the start menu shortcuts

When I install git with the graphical installer, I get the following start menu shortcuts:

When I install with chocolaty (choco install git) on windows 8.1, these shortcuts are not installed.

Is there a flag I need to pass? Are they supposed to be installed?

(php) Impossible to install two versions of PHP

If I want to install two versions of PHP using the side-by-side switch (install -m), the last version installed will replace the first one because both use the same setup dir (\tools\php).

> choco install php --version 5.6.17
> php --version
PHP 5.6.17 (cli) (built: Jan  6 2016 13:28:18)
...
> choco install php --version 7.0.2
> php --version
PHP 7.0.2 (cli) 
...

If the setup dir includes the version when using -m, then switching between the two would be then a change in the PATH:

To use php 5.6.17
PATH=%PATH%;\tools\php5.6.17

To use php 7
PATH=%PATH%;\tools\php7.0.2

(webpicmd) requires DotNet3.5 on windows 8.1

The dependency of DotNet3.5 needs to be added for the the webpicmd package.

On Windows 8.1 DotNet3.5 is not installed by default like on previous Windows installs which explains why this dependency could have been missed.

Git - Windows explorer integration parameter

Having installed this package on a brand new installation of windows 10, it doesn't appear to add in the windows explorer integration for "git bash here" etc. These are options present in the msi installer. Can we expose some parameters to enable the windows explorer integration?

Packages from this repo no longer updating

There seems to be something wrong with your automatic package pushing instance. Since 4 days, new versions of your packages no longer get pushed to chocolatey.org, e.g. virtualbox 5.0, which was released 3 days ago. I tested the ketarin job, but it worked fine, so there must be another issue.

Thanks for looking into it.

7-Zip

I have noticed the 7zip package is installing the 32-bit version regardless of
operating system.

This is a problem; I have found that installing the 32-bit version on 64-bit
Windows 7 breaks the context menu entries.

(7zip) v15.14 says installed successfully, can't find a trace

Windows 10
Could not find in add/remove programs
Could not find a 7zip folder in c:\program files\ or c:\program files (x86)
When double clicking a .7z file, windows doesnt have associated program.
When browsing for a program, 7zip not listed
Uninstalled with choco successfully, reinstalled, no change.
Reinstalled with choco install 7zip.install as well, same outcome
Please let me know if i can be of further assistance.

7zip install errors

When attempting to install 7zip, I get the following error:

PS C:\Windows\system32> choco install 7zip -force
Chocolatey (v0.9.8.32) is installing '7zip' and dependencies. By installing you accept the license for '7zip' and each d
ependency you are installing.

7zip.install v9.22.01.20130618
Installing 7Zip...
Write-Error : [ERROR] Running msiexec with /i "C:\Users\doug\AppData\Local\Temp\chocolatey\7Zip\7ZipInstall.msi" /quiet
  was not successful. Exit code was '1620'.
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:46 char:5
+     Write-Error $errorMessage
+     ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Write-Error : 7Zip did not finish successfully. Boo to the chocolatey gods!
-----------------------
[ERROR] [ERROR] Running msiexec with /i "C:\Users\doug\AppData\Local\Temp\chocolatey\7Zip\7ZipInstall.msi" /quiet  was
not successful. Exit code was '1620'.
-----------------------
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:30 char:3
+   Write-Error $errorMessage
+   ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Write-Error : 7Zip did not finish successfully. Boo to the chocolatey gods!
-----------------------
[ERROR] [ERROR] Running msiexec with /i "C:\Users\doug\AppData\Local\Temp\chocolatey\7Zip\7ZipInstall.msi" /quiet  was
not successful. Exit code was '1620'.
-----------------------
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:30 char:3
+   Write-Error $errorMessage
+   ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Write-Error : Package '7zip.install v9.22.01.20130618' did not install successfully: [ERROR] Running msiexec with /i "C
:\Users\doug\AppData\Local\Temp\chocolatey\7Zip\7ZipInstall.msi" /quiet  was not successful. Exit code was '1620'.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:90 char:17
+                 Write-Error "Package `'$installedPackageName v$installedPackageV ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Finished installing '7zip' and dependencies - if errors not shown in console, none detected. Check log for errors if uns
ure.

I tried to run the msi (C:\Users\doug\AppData\Local\Temp\chocolatey\7Zip\7ZipInstall.msi) and tried manually and got:

[Window Title]
Windows Installer

[Main Instruction]
This installation package could not be opened.  Contact the application vendor to verify that this is a valid Windows Installer package.

[OK]

Anyone else seeing this issue?

I'm running Windows 8.1 via Parallels on a Mac.

(7zip.install) 7zip fails to install when the same version is already installed

Originally posted at chocolatey/choco#322

 WARNING: This installer is known to close the explorer process. This means
 you may lose current work.
 If it doesn't automatically restart explorer, type 'explorer' on the
 command shell to restart it.
 Downloading 7zip.install 64 bit
   from 'http://www.7-zip.org/a/7z938-x64.msi'
 Installing 7zip.install...
 [ERROR] Running msiexec with /i "C:\Users\FINEST~1\AppData\Local\Temp\chocolate

 y\7zip.install\7zip.installInstall.msi" /quiet  was not successful. Exit code w

 as '1603' Error Message:
 .
 At C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.p

 s1:92 char:10
 +     throw <<<<  $errorMessage
     + CategoryInfo          : OperationStopped: ([ERROR] Running...or Message:

 .:String) [], RuntimeException
     + FullyQualifiedErrorId : [ERROR] Running msiexec with /i "C:\Users\FINEST

    ~1\AppData\Local\Temp\chocolatey\7zip.install\7zip.installInstall.msi" /qu

   iet  was not successful. Exit code was '1603' Error Message:
 .
The install of 7zip.install was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\7zip.install\tools\chocolatey
Install.ps1'.
 See log for details.

Although puzzled at first I then had an idea. I went to "Programs and Features" and uninstalled 7zip already present from previous days.

Move packages from this repo to the core team packages repo

I know that you’ve planned to move your packages to the core team repo some time ago.

Now it would be a good opportunity to do that. You’ve merged my bunch of PRs in this repo and there are currently only 2 PRs left.

Therefore I suggest to move your packages to the core team packages repo as soon as possible before the number of PRs in this repo increases.

These are the steps I would suggest:

Afterwards there are necessary some a bit more laborious steps. If you want, I can handle these for you, so that you would only have to accomplish the steps above which only take a couple of minutes.

These are the following steps I would do:

  • Add the chocolatey user as maintainer of all packages in this repository.
  • Normalize package files (e.g. converting nuspecs to UTF-8)
  • Deduplicate package icons
  • Adapt the package’s iconUrls to use cdn.rawgit.com.
  • Import all Ketarin jobs into the Ketarin instance on the server.
  • Merge the branch you’ve created into master.
  • Adapt the packages that include binaries to download the binaries instead and include them into the built package using the ChocoPkgUp.ps1. The yumi package does that already for example. A bloated core team packages repository with a lot of binaries is not reasonable.

Insecure mysql package

Hello,
Regarding your mysql package (mysql community server), is there a way to have the option --initialize-insecure instead of the normal one.
I understand your reasoning but I'd like it unsecure or if possible be able to give a root password as argument.

I'm having difficulties using the secure version and then being able to change the password in an automated install.
I tried running the ps1 script directly changing the initialize to initialize-insecure locally but it still seems to go and download your online script.
Hopefully you could assist me on that.

Kind regard,
Kwinten
IT Student @ College of Ghent, Belgium

Correct packages with misleading and confusing package ID suffixes

I already mentioned this here: #2 (comment)

How about doing this with the packages that are in your repo? There are not too many of them and renaming them correctly would make the gallery a bit less confusing.

Especially the .commandline suffix is often complete nonsense, e.g. https://chocolatey.org/packages/notepadplusplus.commandline. Sounds like vim for the Windows ecosystem. 😄

https://chocolatey.org/packages/sumatrapdf.commandline sounds like a PDF Viewer for the command line. 😄

Keep in mind that in package repositories it is not uncommon to rename/deprecate packages, so I think tidying up and correct package names wouldn’t be a bad thing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.