anthonymastrean / chocolateypackages Goto Github PK
View Code? Open in Web Editor NEWApplication packages for Windows
Home Page: https://chocolatey.org/profiles/AnthonyMastrean
Application packages for Windows
Home Page: https://chocolatey.org/profiles/AnthonyMastrean
They've changed terrible file hosts... http://greenfishsoftware.blogspot.com/2012/07/greenfish-icon-editor-pro.html. And it appears there's a new portable version.
In the Dutch windows version the key combination isn't ALT+SPACE+E+P due to nationalization, but: ALT+SPACE+W+P. My guess is other windows languages also have different key combinations. Internationalization might be a good idea.
Write-Error : Package 'collabnetsvn v1.8.5' did not install successfully:
Cannot bind argument to parameter 'Path' because it is null. At
C:\DEV\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
Get-WindowsOptionalFeature -Online `
| ?{ $_.FeatureName -match "IIS" } `
| Enable-WindowsOptionalFeature -Online -All -NoRestart
There are a handful of JDK packages on Chocolatey and I think they're all out of date: jdk, jdk7, jdk8, java.jdk
The JDK download is notoriously hard to script (compared to your usual chocolatey package) because it's behind a license acceptance button. You have to setup some cookies and write your own downloader.
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true }
$client = New-Object "System.Net.WebClient"
$client.Headers.Add("Cookie", "gpw_e24=http://www.oracle.com")
$client.DownloadFile($dl, $temp)
This loses you a lot of the built-in Chocolatey features:
INSTALLDIR
)-x86
flag to force the x86 package)Then, there's a number of things that you can try to do to be "helpful" because the JDK installer doesn't do it automatically. I don't know which of these is desirable or what edge cases there are (taking into account multiple installed JDKs/JREs, manual customziations in your environment, etc)
JAVA_HOME
environment variableCLASSPATH
environment variable<install-dir>\Java\bin
directory on the environment PATH
Now, assuming we hammer out the technical implementation details and figure out how to support all of the Chocolatey features (look at PR-171 for a possible reprieve), we need to talk about how best to name/version this thing.
We already know that the JDK is named/versioned like crazy
So, version "7" in the name is mapped to the minor version segment and the update "45" is in a magical 4th version segment that's not supported by semver/nuget at all. They fix that in version 8. But, the update number is given an extra order of magnitude in both cases, from 45 to 450 and 5 to 50, great!
It seems "normal" in the Java ecosystem, and probably stable enough for many years, to remap this onto one package/version scheme. But, we should take into account installing multiple JDKs, side-by-side. We may want to release packages like this...
id | version |
---|---|
jdk7 | 7.0.45 |
jdk8 | 8.0.5 |
Lots of comments here and here on naming.
//cc @carolynvs @adorepump @Iristyle @ootaken @digitaldrummerj
%
to the variable reference only in the Command Prompt.?
=> ?{ | }
%
=> %{ | }
For packages that are extensions or partial or something, like "bind.toolsonly", use dashes instead of periods. It's arguably more readable and common.
bind-toolsonly
The offending packages are
For example, hggit depends on hg and 7za and needs them on the command line for use!
I've always had trouble with local packages that require remote dependencies... think about downloading them from Chocolatey to the working directory.
PS> cinst foo -source $pwd
From radomaj via http://chocolatey.org
So, Microsoft says that $PSHome\Modules
is
reserved for modules that ship with Windows. Do not install modules to this location.
So it would be appreciated, if you used a path from $env:PSModulePath
. I know it can contain more than one path, so I guess you could just split it on ";" and use the last one. Or you could use the other path that is in Powershell by default, namely $Home\Documents\WindowsPowerShell\Modules
.
Thank you in advance. I'd appreciate a reply if you disagree.
The partitionassistant
package says
Searching through CNET html for links...
See if this helps with the start8
and modernmix
packages
The %
is only a special symbol in the Command Prompt. So, don't do anything in any other console.
Compile the scripts using ahk2exe
#Install
/FileInstall
for "content" (and %A_IsCompiled%
)For packages that include their own icons... depend on and use pngout
and jpegoptim
so the files are smaller before publishing.
A helper like
Get-Icon $url
That will download and rename, git push, and capture/rewrite the raw url
First, make a proper Chocolatey developer module and work out functions to
cpack
)cpush
)Bundler calls them build
, install
, and release
. Maybe, I can go pack
, install
, and push
, to stick with the existing terminology.
TODO
Create a new package scheme...
When trying to install dropbox, I receive this error (clipped)
Write-Error : autohotkey.portable did not finish successfully. Boo to the chocolatey gods!
[ERROR] Cannot bind argument to parameter 'Path' because it is an empty string.
At C:\Chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:30 char:2 +
Package 'autohotkey.portable v1.1.14.20140215' did not install successfully:
Cannot bind argument to parameter 'Path' because it is an empty string.
From nemchick via http://chocolatey.org
From "Fabian" on Chocolatey.org
I get an install error every time I try to install miktex. Completely version independent. Due to the fact that I can install every other package I think this is maybe related to the miktex package.
Write-Error : miktex did not finish successfully. Boo to the chocolatey gods!
[ERROR] Exception calling "GetResponse" with "0" argument(s): "Cannot handle redirect from HTTP/HTTPS protocols to other dissimilar ones."
At C:\Chocolatey\chocolateyinstall\helpers\functions\Write-ChocolateyFailure.ps1:30 char:2 + Write-Error $errorMessage + ~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error
Write-Error : Could not move bad package miktex from 'C:\Chocolatey\lib\miktex.2.9.5105' to > 'C:\Chocolatey\lib-bad': Ex ception calling "Delete" with "2" argument(s): "Das Verzeichnis ist nicht leer. " At C:\Chocolatey\chocolateyinstall\functions\Move-BadInstall.ps1:21 char:5 + Write-Error "Could not move bad package $packageName from '$packageFolder' ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error
Write-Error : Package 'miktex v2.9.5105' did not install successfully: Exception calling "GetResponse" with "0" argumen t(s): "Cannot handle redirect from HTTP/HTTPS protocols to other dissimilar ones." At C:\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
Why not, the bat-shim calls an exe that just disappears into the system tray, by default.
$startup = "$ENV:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup"
Make some kind of target and setup an icon
$shell = New-Object -ComObject "Wscript.Shell"
$shortcut = $shell.CreateShortcut($link)
$shortcut.TargetPath = $target
$shortcut.WorkingDirectory = $content
$shortcut.Save()
And kick start it
& $link
From Kris Kwalis via http://about.me
Noticed your ModernMix package while doing some Chocolatey work early. This is 1.15 of MM which will be released tomorrow, April 30.
There is at least one property of a nuspec that could be stored in an environment variable. I'm already pulling the username
(but that only works on windows). I think something like this might work nicely
:owner => ENV["CHOCOLATEY_OWNER"] || ENV["USER"] || ENV["USERNAME"]
I had to bite the bullet and just do the move or I would never have fixed them at all :)
From nemchik via http://chocolatey.org
Is there any chance of you adding the J2SE 5.0 branch? Oddly I've got a situation where I am needing J2SE 5 because the newer versions of JRE won't work with some software I'm using.
Walk through the steps to install a VSIX package to be sure where.
I broke the package some time back when I moved the script/icon into the tools folder and didn't update the install script.
For example
SourceGear has recommendations for hooking up these settings without an intermediate batch file. Use it!
These are the instructions I like. And probably just use the 7zip CLI to do the job.
The autohotkey_l fork has become the proper version under the canonical autohotkey name.
From damona via http://chocolatey.org
Might like to add /passive SPONSORS=0
. Also might be better off making this an empty package with dependance for 64bit and 32bit. Then it will handle partial installs better.
Yoshimov's dvdshrink package appears to be gone!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.