Skip to content

Instantly share code, notes, and snippets.

@michaelray
michaelray / gist:fa3ad48d81026988810923226d86e7bf
Created July 5, 2017 23:15
notepadplusplus.install Chocolatey package installation error with softwareName when used in match
PS C:\Windows\system32> choco install notepadplusplus -d -v -y
Chocolatey v0.10.7
Chocolatey is running on Windows v 6.1.7601.65536
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" install notepadplusplus -d -v -y
Received arguments: install notepadplusplus -d -v -y
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
@michaelray
michaelray / choco-install-git-2.11.0.2.ps1
Created January 13, 2017 23:57
Attempting to install git v2.11.0.2 Chocolatey package.
PS C:\Windows\system32> choco install git -y -d -v
Chocolatey v0.10.3
Chocolatey is running on Windows v 6.1.7601.65536
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" install git -y -d -v
Received arguments: install git -y -d -v
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
@michaelray
michaelray / choco-upgrade-vlc.ps1
Created December 11, 2016 14:32
Attempting to upgrade vlc Chocolatey package from v2.2.4 to v2.2.4.20161210.
PS C:\Windows\system32> choco upgrade vlc -y -d -v
Chocolatey v0.10.3
Chocolatey is running on Windows v 6.1.7601.65536
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" upgrade vlc -y -d -v
Received arguments: upgrade vlc -y -d -v
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
@michaelray
michaelray / choco-upgrade-virtualbox.ps1
Last active December 11, 2016 14:34
Attempting to upgrade virtualbox Chocolatey package from v5.1.10 to v5.1.10.20161207.
PS C:\Windows\system32> choco upgrade virtualbox -y -d -v
Chocolatey v0.10.3
Chocolatey is running on Windows v 6.1.7601.65536
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" upgrade virtualbox -y -d -v
Received arguments: upgrade virtualbox -y -d -v
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...