by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Paul Broadwith
@pauby
Then see @AdmiringWorm answer above.
yoksi
@yoksi
so many years this project exists and nobody created package for AMD graphic drivers???
Paul Broadwith
@pauby

There many not be many users needing them. There are several Nvidia GPU packages available.

As I suggested previously, create one if you need it. You can get help here or in the docs. The Chocolatey Community Repository is maintained by the community. The Community Maintainers are all volunteers and create packages they perhaps need or others have requested. Pick up the one that was mentioned above and be part of the community.

Kim J. Nordmo
@AdmiringWorm
@yoksi it is not as easy as just create a package for the AMD GPU drivers.
The package needs to be aware of the GPU currently installed in the system (while most of the drivers will work across multiple GPUs, they won't for all GPUs).
The package will also need to know if it is running in an enterprise environment or not (yes there are different drivers for these), it will also need to decide the drivers to install based on the running operating system (which is not available for all GPUs).
The package will also need to figure out how to download the drivers during package installation (which is currently blocked behind an anti-bot check), and more that I don't remember right now.
yoksi
@yoksi
yes I read your comment in opened issue from Sep 6, 2019 without conclusion...
I hoped that after so long there will be some progress
yoksi
@yoksi
and if the answer is always "do it yourself" then I'm not surprised that there is only something in the packagemanager
sorry for the negative view, I counted on "choco" as a full replacement for Windows installer
yoksi
@yoksi
well... as someone says before... give him another decade :)
Kim J. Nordmo
@AdmiringWorm

I hoped that after so long there will be some progress

There hasn't, there are too many issues that needs to be resolved before one can be created (from my point of view).
I have actually been wanting to create one since 2016, but due to the already mentioned issues and other that I just don't remember right now I have never been able to produce one that would be reliable enough.

I counted on "choco" as a full replacement for Windows installer

choco isn't a replacement for windows installer. Typically a chocolatey package is a small wrapper around existing installers (or archives) that provides easier installation and upgrades silently.

Rob Reynolds
@ferventcoder
@/all If you are interested, we'll be showing off a demo of Chocolatey Central Management Deployments in about 10 minutes at https://twitch.tv/gep13 (announcement at https://chocolatey.org/blog/announcing-deployments)
Rob Reynolds
@ferventcoder
@yoksi at least not yet for Windows updates.
for windows installer, you can make it a full replacement for that. It's just powershell, so you can implement all of the things in there.
Rob Reynolds
@ferventcoder
For those that couldn't make it for the Chocolatey Central Management Deployments Demo, the recording up at https://www.twitch.tv/videos/631756984
Gregori Gualdron
@dinkpeople_twitter

I'm trying to install notepadplusplus in a different folder on PowerShell 5. According to Getting Started I should use: choco install notepadplusplus --% -ia "INSTALLDIR=""D:\My Files""" however it ends up installing the program on c:\Program Files\

Same if I use choco install notepadplusplus --% -ia 'INSTALLDIR=""D:\My Files""'

Gregori Gualdron
@dinkpeople_twitter

I'm trying to install notepadplusplus in a different folder on PowerShell 5. According to Getting Started I should use: choco install notepadplusplus --% -ia "INSTALLDIR=""D:\My Files""" however it ends up installing the program on c:\Program Files\ ...

In case it helps anyone, I figured it out:
choco install notepadplusplus --ia "/D=D:\My Files"

Jur93n
@jurgen-kluft
Hello everyone, i am kinda new to Chocolatey and Powershell scripts. However i have a question related to debugging install/uninstall scripts that are part of a (created by myself) package. What do i use to debug these scripts (e.g. Visual Studio Code or Powershell ISE) and how do i go about it. Currently when i load my install script into Powershell ISE it complains about not knowing the functions that are part of Chocolatey (e.g. Install-ChocolateyZipPackage)
Rob Reynolds
@ferventcoder
ISE is probably not best. It has issues with some of the items. You can load the chocolateyinstaller module into your session, but keep in mind choco.exe sets quite a few environment variables for the session it runs. I've had better luck running pieces I wasn't sure outside in PowerShell and then running the choco-specific items with choco itself in a vm/vagrant image.
Jur93n
@jurgen-kluft
@ferventcoder Thanks for the response. I was able to debug pretty well using Visual Studio 2017 and Poshtools. Did need to copy many of the Helpers/functions/*.ps1 files into my project and source them. But in the end i was able to step through everything which was what i wanted. Good way to learn Powershell script :-)
Rob Reynolds
@ferventcoder
👍
Rob Reynolds
@ferventcoder
@/all contacting site admins on the community repo should now be working. It was thought a spammer was being banned and it turned out we accidentally removed the ability for the website to send emails to the admin google group.
Bruno Baldochi
@brunoyb

Hi! I'm getting errors during the automated testing phase for 2 of the packages that I help maintain recently. Any ideas what could be the issue?

https://chocolatey.org/packages/fossil/2.11
https://chocolatey.org/packages/SWI-Prolog/8.2.0.1

Looking at the logs it seems that the testing environment can't download the files from the sources...

https://gist.github.com/choco-bot/78a22709af18fb627bd8b6e11f18d753
https://gist.github.com/choco-bot/eacea3e32e4a5b823e56e18697dfff91

2 replies
Stewart Cossey
@Cossey
I'm having a bit of trouble knowing the "proper way" of creating a package for a InstallShield exe that is distributed inside a zip file from its website. I've recorded the iss files for silent install and uninstall and my thought was to use "Get-ChocolateyWebFile" to download the zip, then "Get-ChocolateyUnzip" to extract the installer exe and then run the "Install-ChocolateyPackage" to run the installer file and then script some "Remove-Item"s to remove the zip and the installer exe files. Am I on the right track here?
Sudheer Chowdary Divi
@sudheer_divi_twitter
Can you any one know how to pass allure Json files while generating pickles files
Kim J. Nordmo
@AdmiringWorm
@Cossey you're close, but use Install-ChocolateyZipPackage (this combines Get-ChocolateyWebFile and Get-ChocolateyUnzip) to extract the directory to a temporary location, then use Install-ChocolateyInstallPackage to run the installer (using Install-ChocolateyPackage is for downloading and installing files). After that you could call Remove-Item to remove the extracted archive
Stewart Cossey
@Cossey
@AdmiringWorm Thanks heaps Kim, that lead me on the right path and got it sorted. Maybe chocolatey might need a Install-ChocolatelyZipInstallPackage command in the future!
n3rd4i
@n3rd4i
Hi, I have a question about a package. I want to include a picture into package description from the package itself. Is that possible?
with markdown notation, ofc.
Rob Reynolds
@ferventcoder
@n3rd4i yes you can do that now. Just make sure you have a good url for the images
n3rd4i
@n3rd4i
Hi, @ferventcoder, with URL this works, what I tried ia to link "local" / "package-archive-own" images to be used in the website. I suspect thia does not work because the package is archived anyway right?
Joel Sallow (/u/ta11ow)
@vexx32
yeah the package is stored as a single nupkg file, so you won't be able to reference things inside of it like images etc directly
Jurjen Biewenga
@JurjenBiewenga
So suddenly today, chocolatey stopped returning packages when searching for them
Nothing in the setup or server changed...
Log also contains little to nothing of value that indicates a failure
Gary Ewan Park
@gep13
@JurjenBiewenga can you please elaborate on what the problem is? What commands are you executing? What sources are you using? Are you using your own internal repository, or are you using the Chocolatey Community Repository?
Jurjen Biewenga
@JurjenBiewenga
Doing choco list --source toolsinternal.companyname.com using our own internal server that worked fine before
Executing with --debug --verbose --trace only shows information about the command being ran and nothing of interest about the execution failure
Jurjen Biewenga
@JurjenBiewenga
And now it magically works again
Paul Broadwith
@pauby
@JurjenBiewenga That sounds very much like an internal issue - perhaps network, connectivity or the internal repository?
Jurjen Biewenga
@JurjenBiewenga
I doubt it, server worked fine, connection to server seemed fine (web portal etc worked fine)
Only thing that didn't work was chocolatey saying that no packages are found
If it can't connect I'd expect an error
Rob Reynolds
@ferventcoder
It's likely something with your internal repo, as Paul indicated. Maybe the connection worked but the internal repo was returning zero results for a little while. Based on what you are saying, a semi-educated guess leads me to believe this is the right path to explore as you changed nothing locally and poof, it magically started working again. Choco returns a warning message when it cannot connect. You did not see that, so the connection was going through. That means something on your repo was going on. What do you use for an internal repo?
@jurjenbiewenga ^^
Jurjen Biewenga
@JurjenBiewenga
Commandline seems to work if I use https://toolsinternal.companyname.com/api/v2/
However using the GetChocolatey.List API doesn't seem to work due to some weird oddity
Putting in a Thread.Sleep(1) before doing ToArray seems to fix it
Gary Ewan Park
@gep13
@JurjenBiewenga sounds like you are attempting to use Chocolatey.Lib directly, is that correct? Have you looked at how things are done in the Chocolatey GUI project?
Jurjen Biewenga
@JurjenBiewenga
Also querying a local file source doesn't work either
Yes, it's largely based of the ChocolateyGUI project
But improved, again we didn't change anything and it suddenly broke