Questions tagged [chocolatey]
Chocolatey is a Windows apt-get like global automation tool (used mostly as a silent installer).
142
questions
17
votes
2
answers
44k
views
Chocolatey as non-admin user
I´m starting to use Chocolatey in the network of my hotel for software installs. I have a domain set on Win 2008 and all my users are not admins.
So, lets say I have a user JOE that is not an admin ...
3
votes
1
answer
1k
views
How to migrate from Chocolatey to Scoop?
I'm finding that Scoop's repos are more often updated than Chocolatey's (am I wrong?).
Scoop doesn't immediately recognise apps already installed, so I wanted a way to let Scoop know the apps I had ...
52
votes
1
answer
41k
views
How to clear Chocolatey cache in the free version?
Installation-file-cleaning is currently only available in the licensed edition of Chocolatey ($96 a year) and the developers seemingly have no plans to offer cache-cleaning support for the free ...
0
votes
0
answers
1k
views
Installing chocolatey in windows 7
I am trying to installing chocolaty on windows 7 machine.
1. I open power shell terminal with admin
2. Set-Execution policy to AllSigned
3.Then in copied the below code in powershell terminal
Set-...
0
votes
0
answers
69
views
Opening powershell terminal from the script for the execution purpose
# Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass (Before running the script execute the command in terminal for admin rights)
# Step 1) install Chocolatey when needed
if (-not (Test-Path ...
1
vote
1
answer
2k
views
Chocolatey: How to retain certain version of a package but install new version when available also?
I have a software with v1.0 installed with chocolatey. I want to keep that version but want chocolatey to install v2.0 also (next to the older one) when I do the next choco update all.
Is:
choco ...
0
votes
0
answers
134
views
How to install outdated packages using chocolatey
#step 1) Installing Chocolatey when needed
if (-not (Test-Path -Path "$env:ProgramData\Chocolatey\choco.exe" -PathType Leaf))
{
# from https://chocolatey.org/install
Set-...
0
votes
1
answer
552
views
Powershell script for software automation using chocolatey
Code for my chocolatey script:
$apps=@('googlechrome','firefox','codeblocks','windbg','nasm','explorersuite','pestudio','vscode','sysinternals','python','Google Earth')
function Show-Menu
{
...
10
votes
2
answers
15k
views
How do I uninstall a Chocolatey package that won't go away?
C:\Users\Chloe>choco uninstall cyg-get
Chocolatey v0.10.8
Uninstalling the following packages:
cyg-get
cyg-get v1.1.0
Skipping auto uninstaller - No registry snapshot.
Chocolatey uninstalled 1/1 ...
4
votes
1
answer
3k
views
How to resolve tilde-completed paths in windows Cmd/Powershell
I'm trying to automate uninstallation of some applications, one of which is XtremeTuner. XtremeTuner saves a command used to uninstall it in the registry under HKLM\SOFTWARE\WOW6432Node\Microsoft\...
2
votes
1
answer
585
views
Why does Chocolatey fail to install Elixir on Windows?
I'm a wizard at Linux/Unix-based OSes, but I'm rubbish at Windows and the like. To be able to install package via a CLI, which I prefer to graphical installers, I installed Chocolatey onto my Windows ...
0
votes
0
answers
986
views
Why vagrant claim about Powershell version (minimum 3)?
Trying to use Vagrant and it claims about Powershell minimum version 3 installed.
I have Windows 10 Pro and Vagrant 2.2.16 and the minimum version at Windows 10 is 5.
Tried to use chocolatey and ...
1
vote
1
answer
82
views
How to add GUI installed programs
I've recently started using Chocolatey to install new programs on my computer and to then subsequently upgrade them. However, there are many programs that I have already installed which appear when I ...
22
votes
1
answer
17k
views
Using chocolatey to install lots of apps at once
I am about to reinstall my Windows 10 pc, and would like to use Chocolatey for a lot of applications.
Can I just issue one command to Chocolatey and let it deal with the dependencies and installation ...
1
vote
1
answer
2k
views
chocolatey install blocked by antivirus on windows 10
I'm trying to install chocolatey package manager on my local machine as administrator using instructions given on https://docs.chocolatey.org/en-us/choco/setup#install-with-powershell.exe
I opened ...