I am liking winget more as I use it.
It finds install not on C but won't update them. (I think)
It finds installed files not installed by winget
Choco only sees installs from Choco but the selections from Choco is more numerous.
"winget upgrade" shows all the installs with upgrades
"winget upgrade name" won't install if not on C:
winget export -o .\winget-export.json
winget import -i .\winget-export.json --accept-package-agreements
winget upgrade --all works great
*see winget json and bat examples at the bottom
choco outdated
choco list --local-only
choco upgrade all
I'm a D drive guy but this is so handy I'm using it more all the time.
. . . This is turning into Windows setup after install
To list files in a directory through CMD dir /b >filelist.txt
https://chocolatey.org/Stuff I use
May be best to find first to get the version/offering you want but I just go for it.
choco find
7zip
anydesk
as ssd
audacity
autohotkey
backupper-standard
brave
calibre
chocolateygui
cpu-z
eartrumpet (may increase volume)
everything
f.lux
firefox
foxitreader
googlechrome
hasleo backup suite (try for cloning if aomei does not work) or
haslo disk clonehdtune
hexchat
hwinfo
imdisk
irfanview
kodi (seldom used at this point)
notepadplusplus
onionshare
partitionwizard
private internet access pia
patch my pc
qbittorrent
reflect-free (Macrium Reflect in case AOMEI Backupper does not work)
sharex
shutup10 (downloads to C:\ProgramData\chocolatey\lib) (Portables are stored here)
streamwhatyouhear
syncbackfree
synctrayzor
taskbarx
ventoy (seems to have problems)
veracrypt
virtualbox
vlc
whocrashed
winaero-tweaker
winscp
Get From Elsewhere
Gimp Portable
Partha (Start once to create folders then copy fonts, etc.)
Gimp Portable
Samj (Can be harder to find most recent. Folders already exist)
Gsplit (Symenu)
nitroshare (for quick windows file share locally. It adds to context menu & must be disabled or right .
click in file explorer crashes explorer)
PatchMyPC (Great updater for installed programs.) Choco chokes on this. Also in Symenu.
Chocolatey portable apps.
I put portable apps in one folder so easy to access with RocketDock or Launchy
Choco puts portable apps in C:\ProgramData\chocolatey\lib so now I make a .Links folder in the portable folder with shortcuts for both portable folders in RocketDock. Launchy scans C:\ProgramData\chocolatey\lib
Startup Folder (for placing shortcuts you want to start with Windows boot)
C:\Users\User Name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
find the path Win+R shell:startup
2020-12-10
This works now but could change
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
If winget is used then
choco install chocolateygui as-ssd shutup10 taskbarx gimp -y
(winget installs gimp to appdata - what's up with that?
#1 Here is a standard program install for every PC. These are mostly small and having them on C is no biggie.
choco install chocolateygui backupper-standard 7zip as-ssd anydesk brave cpu-z everything foxitreader googlechrome hwinfo irfanview nitroshare notepadplusplus rocketdock sharex shutup10 -y
choco install autohotkey scite4autohotkey qbittorrent taskbarx -y
choco install translucenttb -y (if Windows 11)
#2 And I may need . . .
choco install virtualbox imdisk ventoy pia f.lux veracrypt -y
#3 Other Interesting
choco install hexchat calibre volumouse.install audacity streamwhatyouhear mobalivecd synctrayzor powertoys telegram veracrypt -y
***In case backupper is a pain
#4 choco install reflect-free
end with space -y to bypass prompts
to update choco upgrade all -y
to uninstall choco uninstall 7zip -y
The GUI
choco install ChocolateyGUI
.to run
ChocolateyGUI
choco search or find
choco info
choco install
choco upgrade chocolately
choco list --local-only
Here is a sample .json file for winget. I would add a few things like gimp.
{
"$schema" : "https://aka.ms/winget-packages.schema.2.0.json",
"CreationDate" : "2022-06-23T12:09:22.711-00:00",
"Sources" :
[
{
"Packages" :
[
{
"PackageIdentifier" : "7zip.7zip"
},
{
"PackageIdentifier" : "ShareX.ShareX"
},
{
"PackageIdentifier" : "Lexikos.AutoHotkey"
},
{
"PackageIdentifier" : "BraveSoftware.BraveBrowser"
},
{
"PackageIdentifier" : "Google.Chrome"
},
{
"PackageIdentifier" : "HexChat.HexChat"
},
{
"PackageIdentifier" : "IrfanSkiljan.IrfanView"
},
{
"PackageIdentifier" : "Microsoft.WindowsTerminal"
},
{
"PackageIdentifier" : "Notepad++.Notepad++"
},
{
"PackageIdentifier" : "VideoLAN.VLC"
},
{
"PackageIdentifier" : "qBittorrent.qBittorrent"
},
{
"PackageIdentifier" : "JavadMotallebi.NeatDownloadManager"
},
{
"PackageIdentifier" : "NathanOsman.NitroShare"
},
{
"PackageIdentifier" : "Oracle.VirtualBox"
}
],
"SourceDetails" :
{
"Argument" : "https://winget.azureedge.net/cache",
"Identifier" : "Microsoft.Winget.Source_8wekyb3d8bbwe",
"Name" : "winget",
"Type" : "Microsoft.PreIndexed.Package"
}
}
],
"WinGetVersion" : "1.2.10941"
}
Here is an example batch file for winget install
On every PC
winget install --id=7zip.7zip -e && winget install --id=Notepad++.Notepad++ -e && winget install --id=ShareX.ShareX -e && winget install --id=Lexikos.AutoHotkey -e && winget install --id=Google.Chrome -e && winget install --id=IrfanSkiljan.IrfanView -e && winget install --id=REALiX.HWiNFO -e && winget install --id=Microsoft.WindowsTerminal -e && winget install --id=VideoLAN.VLC -e && winget install --id=qBittorrent.qBittorrent -e && winget install --id=JavadMotallebi.NeatDownloadManager -e && winget install --id=AOMEI.Backupper -e && winget install --id=Microsoft.VisualStudioCode -e winget install -id=voidtools.Everything -e && winget install --id= Foxit.FoxitReader -e && winget install -id=PunkLabs.RocketDock -e
I want to check if the bat file will work like this.
winget install --id=GIMP.GIMP -e
&& winget install --id=7zip.7zip -e
&& winget install --id=Notepad++.Notepad++ -e
&& winget install --id=ShareX.ShareX -e
&& winget install --id=Lexikos.AutoHotkey -e
&& winget install --id=Google.Chrome -e
&& winget install --id=IrfanSkiljan.IrfanView -e
&& winget install --id=REALiX.HWiNFO -e
&& winget install --id=Microsoft.WindowsTerminal -e
&& winget install --id=VideoLAN.VLC -e
&& winget install --id=qBittorrent.qBittorrent -e
&& winget install --id=JavadMotallebi.NeatDownloadManager -e
&& winget install --id=AOMEI.Backupper -e
&& winget install --id=Microsoft.VisualStudioCode -e
&& winget install -id=voidtools.Everything -e
&& winget install --id= Foxit.FoxitReader -e
&& winget install -id=PunkLabs.RocketDock -e