by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
ichooselife
@ichooselife
hello, newbie here, I just uninstalled a package from chocolatey and I am getting this message: "Uninstall may not be silent (could not detect). Proceed? Y or N" , can someone be so kind to explain why the uninstall may not be silent...is this safe?
ichooselife
@ichooselife
is choc using the auto uninstaller to uninstall this package?
ichooselife
@ichooselife
nevermind...i figured it out lol
dgalbraith
@dgalbraith
I have an item that I am packaging at the minute that doesn't have a copyright - any copyright is explicitly removed through the use of an UNLICENSE. For the package definition would it be best practicse to have a <copyright> element indicating that there is no copyright and the software is dedicated to the public domain or should the <copyright> element just be ommitted?
n3rd4i
@n3rd4i
Hi, can I explicitly ignore files with Install-ChocolateyZipPackage or do I need to use 7zip.portable for that? (filter them out from e.g. *.zip package)
Kim J. Nordmo
@AdmiringWorm
@n3rd4i no you can not, you can select a specific folder inside the archive but that is about it.
Using 7zip directly would also be a no go (assuming the package will be pushed to chocolatey.org), you should rather delete the unwanted files after they have been extracted to disk.
n3rd4i
@n3rd4i
@AdmiringWorm don't want to be to picky but problem with removing unwanted files is working but in case of SSD it would bring unnecesary write cycles.
Kim J. Nordmo
@AdmiringWorm
@n3rd4i that is really a minor nitpick.
On a normal windows system (assuming that windows is installed on the SSD) you have quite a few write cycles already running on the SSD in idle state (just from windows itself).
If you actually use your system, you almost have constant write cycles happening on the SSD.
So basically, having a few extra write cycles because of the package would not be a noticable difference in the lifespan of the SSD.
Rob Reynolds
@ferventcoder
@dgalbraith just mention exactly that in the copyright section. Let us know if package validator flags that so we can create an issue
Paul Broadwith
@pauby

@n3rd4i

@pauby oh, does this mean that KB2919355 is actually needed?

I would say so. The moddb.com website only supports TLS 1.2+.

image.png
n3rd4i
@n3rd4i
@pauby I should then include this dependency into the choco extension itself but will implicitly mean that lots of packages need exempt, of which I wuld suggest against ?
Paul Broadwith
@pauby

Yes you would need to include that and ask for an exemption.

but will implicitly mean that lots of packages need exempt, of which I wuld suggest against ?

Can you elaborate?

n3rd4i
@n3rd4i
@pauby I'm edited the original extension to include this dependency (KB2919355). This means packages which depend on this extension will need exempt right? I was trying to say if there is another, maybe better way, I would go for that, in which Verification exempt is not required.
@pauby how can you determine if a website requires TLS 1.2+ like you did for moddb.com ?
Paul Broadwith
@pauby
@n3rd4i I use SSL Labs
n3rd4i
@n3rd4i
@pauby ++
Paul Broadwith
@pauby

I'm edited the original extension to include this dependency (KB2919355). This means packages which depend on this extension will need exempt right?

Yes that is likely.

I was trying to say if there is another, maybe better way, I would go for that, in which Verification exempt is not required.

Okay, Got it. Unfortunately at the moment there is not. The reason is that we support back to Windows 7 / PS 2 so we test on a system that has no updates installed so we can make sure that we don't miss any required for a package. Once Windows Server 2008 is no longer supported on Azure this will likely change.

n3rd4i
@n3rd4i
image.png
This means it supports also 1.1, but its yellow, what does that mean, deprecation notice?
Paul Broadwith
@pauby
Which domain is that for?
Paul Broadwith
@pauby
Ah. It will tell you on the report why it's yellow. I can't remember from memory what that is.
image.png
It may just be that warning.
n3rd4i
@n3rd4i
for now, but in the future it will not be supported I believe
Paul Broadwith
@pauby
Yeah. Green is good. Amber is a warning. I think that's all it is. As TLS 1.0 and 1.1 have been shown to have 'issues' it's just a warning to let you know it's supported.
n3rd4i
@n3rd4i
Ok, so I will mark all the necessary packages for exempt then, and move the dependency requirement in the extension.
I'm glad that finally I have (at least) a workaround for this
Paul Broadwith
@pauby
When asking for an exemption, if you do it AFTER it fails Verification (you'll get the usual email) then it will be easier for the moderator to see.
n3rd4i
@n3rd4i
ok
yoksi
@yoksi
hello. there is no AMD drivers packages for choco or I missing something ? thx
If there is not a package for the drivers you need then you can always create one.
Kim J. Nordmo
@AdmiringWorm
@yoksi or if you are talking about for the GPU, there is none no. But there is a open request for the community to add one: chocolatey-community/chocolatey-package-requests#681
yoksi
@yoksi
I mean AMD Graphic Drivers ofcourse....
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"