The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Some notes on testing locally modified chocolatey packages

Posted by jpluimers on 2025/08/01

A few notes after I helped updating [Wayback/Archive] Chocolatey Software | SetACL (Portable) 3.0.6.0 to version 3.1.2.0 and [Wayback/Archive] Updates glab from 1.22.0 to 1.24.1; fixes #2 by jpluimers · Pull Request #3 · corbob/ChocoPackages.

As the burden on maintainers (not just Chocolatey ones) is high, not all packages get updated soon after new underlying software versions arrive.

Which means the maintainers are often very happy when an occasional user helps and preferably sends in a pull request.

That brings me to the an important point IN DOCUMENTATION DO NOT LIMIT EXAMPELS TO ONLY ABBREVIATED PARAMETERS OR VERBS as that scares away occasional and novice users of your software.

Chocolatey documentation is no exception on this, hence this blog post meant for people other than maintaining chocolatey packages on a day to day base.

Modifying existing packages is a lot easier than creating new ones, as often you have a good working example.

In this case the source is under [Wayback/Archive] ChocolateyPackages/setacl at master · bcurran3/ChocolateyPackages and the main two files to be modified were:

  1. [Wayback/Archive] ChocolateyPackages/setacl.nuspec at master · bcurran3/ChocolateyPackages
  2. [Wayback/Archive] ChocolateyPackages/chocolateyInstall.ps1 at master · bcurran3/ChocolateyPackages (in subdirectory [Wayback/Wayback] ChocolateyPackages/setacl/tools at master · bcurran3/ChocolateyPackages).

After modification, I had to test them especially as the 3.0.6 could not be installed any more as the installation file had been deleted from the author’s download page [Wayback/Archive] Download Delprof2, SetACL (Studio) & More Free Tools • Helge Klein: [Wayback] SetACL (executable version).zip gave a 404 error as it had been replaced with [Wayback] SetACL 3.1.2 (executable version).zip.

So I filed an issue offering a pull request: [Wayback/Archive] Any plans to upgrade SetACL to the new version? · Issue #309 · bcurran3/ChocolateyPackages documented the differences in a [Wayback/Archive] comment and got going.

After the changes, the journey was slow though as Chocolatey documentation was not really up to the level I hoped for.

The upside: right after reporting, the documentation got improved.

TL;DR

  1. A Chocolatey packageName (or better package id) means the bare name of the package, not the filename of the package file
  2. In the package source directory, run
    1. choco pack to build a .nupkg file
    2. choco install packageName --debug --verbose --source=. to install
    3. choco uninstall packageName --debug --verbose --source=. to uninstall
  3. With the last two commands, the console will have a verbose debug output; same for the file %ChocolateyInstall%\logs\chocolatey.log (default C:\ProgramData\chocolatey\logs\chocolatey.log)
  4. Do not add the .nupkg file to your source repository:
    1. Either manually keep an eye on then so they do not get added (or remove them after testing)
    2. or add an entry in your .gitignore file (see [Wayback/Archive] Git – gitignore Documentation) to ignore them after testing

Chocolatey testing documentation command is to terse

My first gripe is about the documentation that I found via [Wayback/Archive] chocolatey test local “nuspec” – Google Search and [Wayback/Archive] Chocolatey Software Docs | Create Packages at both [Wayback/Archive] Chocolatey Software Docs | Create Packages: build your package and [Wayback/Archive] Chocolatey Software | Building, Testing, and Pushing Your Package:

Building Your Package

Open a command line in the directory where the nuspec is and type [Wayback/Archive] choco pack. That’s it.

Testing Your Package

To test the package you just built, open a command line shell and navigate to the directory where the *.nupkg file is located. Then type:

choco install packageName -dv -s .

This will install the package right out of your source. As you find things you may need to fix, using --force (-f) will remove and reinstall the package from the updated *.nupkg.

. points to the current directory. You can specify multiple directories separated by a semicolon;

The first part is kind of clear, although for consistency I’d rather had “nuspec” be replaced by *.nuspec just like the *.nupkg in the second part.

It expects you understand there is a .nuspec file that specifies the package which can be compiled into a .nupkg package file that can be installed by chocolatey (and does not need belong in the repository).

The second part contains abracadabra parameters and needs the “;” to become ; (as it is part of a command). It would have been much clearer if

choco install packageName -dv -s .

had been at least preceded by

choco install packageName --debug --verbose --source=.

Now the semantics of the options are immediately clear.

Installation documentation misses the installation options

My second gripe is about finding the actual meaning of “-dv -s“. It was much harder than needed as [Wayback/Archive] Chocolatey Software Docs | Install: options and switches just contained a reference to [Wayback/Archive] Chocolatey Software Docs | Commands: default options and switches and list of these followed by

Command Reference

📝 NOTE This documentation has been automatically generated from choco install -h.

I wrote a [Wayback/Archive] long Twitter thread why this is unclear. These screenshots of the first and last code mark on the above documentation page basically show why:

For a few reasons mentioned in that thread, the documentation makes it fully unclear that the last code bit is scrollable (scrollbars are thin, have a very light colour, lack arrows.

Being scrollable does not make any sense as that makes it way harder for novices or occasional users (the most important target of documentation!) on using the options and switches (especially because the sentence above is uses “included” in a very ambiguous way).

Confused I even saved the output of choco install --help at [Wayback/Archive] Chocolatey v1.1.0 Install Command help text output for the Chocolatey v1.1.0 Install Command, quoting the topmost bits to understand -dv -s .

Chocolatey v1.1.0
Install Command

Installs a package or a list of packages (sometimes specified as a
 packages.config).

...
 -d, --debug
     Debug - Show debug messaging.

 -v, --verbose
     Verbose - Show verbose messaging. Very verbose messaging, avoid using 
       under normal circumstances.

...

 -s, --source=VALUE
     Source - The source to find the package(s) to install. Special sources 
       include: ruby, webpi, cygwin, windowsfeatures, and python. To specify 
       more than one source, pass it with a semi-colon separating the values (-
       e.g. "'source1;source2'"). Defaults to default feeds.

This makes it clear the options and switches can be expanded to

choco install packageName --debug --verbose --source=.

Build and test documentation fails to document the uninstall test

As a software developer having worked with installer tools, I know that testing the uninstall is just as important as the install, so I was surprised that the uninstall is not part of the Chocolatey build and test documentation I mentioned above.

So after a successful install test (see below) on one of my systems of choco install setacl.3.1.2.0.nupkg --debug --verbose --source=., I decided to run choco uninstall setacl.3.1.2.0.nupkg --debug --verbose --source=. which failed, (the full logs are in [Wayback/Archive] Chocolatey setacl 3.1.2.0 uninstall output test result – complements https://gist.github.com/jpluimers/a9d14b16529c1a7f5137338bff525920) with this error:

Failures
 - setacl.3.1.2.0.nupkg - setacl.3.1.2.0.nupkg is not installed. Cannot uninstall a non-existent package.

The hint here is the first line if output even before the Chocolatey version number that is also shown when running choco install setacl.3.1.2.0.nupkg --debug --verbose --source=.:

C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl>choco install setacl.3.1.2.0.nupkg --debug --verbose --source=.
The use of .nupkg or .nuspec in for package name or source is known to cause issues. Please use the package id from the nuspec `<id />` with `-s .` (for local folder where nupkg is found).
Chocolatey v1.1.0
Chocolatey is running on Windows v 10.0.19044.0
...

It is kind of confusing, especially as the choco pack seems to indicate that setacl.3.1.2.0.nupkg is the packageName parameter. It isn’t as it is the package filename parameter. The packageName parameter needs to be setacl.

The uninstall command then becomes choco uninstall setacl --debug --verbose --source=. which works fine as the below parts of the output show.

The documentation really should add an instruction to test this uninstall template command:

choco uninstall packageName --debug --verbose --source=.

Likely the last --source=. bit is not even needed, but it worked so I could write [Wayback/Archive] Package testing documentation contains install tests, but should also include information on testing uninstall (and preferably upgrade) · Issue #561 · chocolatey/docs.

Uninstall output:

C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl>choco uninstall setacl --debug --verbose --source=.
Chocolatey v1.1.0
Chocolatey is running on Windows v 10.0.19044.0
...
Backing up existing setacl prior to operation.
...
[NuGet] Uninstalling 'setacl 3.1.2.0'.

setacl v3.1.2.0
Removing shim for SetACL.exe at 'C:\ProgramData\chocolatey\bin\SetACL.exe
Attempting to delete file "C:\ProgramData\chocolatey\bin\SetACL.exe".
Removing shim for SetACL.exe at 'C:\ProgramData\chocolatey\bin\SetACL.exe
Attempting to delete file "C:\ProgramData\chocolatey\bin\SetACL.exe".
 Skipping auto uninstaller - No registry snapshot.
Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\setacl".
[NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\setacl\tools'.
[NuGet] Removed file 'readme.md' to folder 'C:\ProgramData\chocolatey\lib\setacl'.
[NuGet] Removed file 'setacl.nuspec' to folder 'C:\ProgramData\chocolatey\lib\setacl'.
[NuGet] Removed file 'setacl.nupkg' to folder 'C:\ProgramData\chocolatey\lib\setacl'.
[NuGet] The directory is not empty.

[NuGet] Successfully uninstalled 'setacl 3.1.2.0'.
 setacl has been successfully uninstalled.
...
Chocolatey uninstalled 1/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Sending message 'PostRunMessage' out if there are subscribers...
Exiting with 0

Build and test on my system

The build step has the shortest command (and also shows my local directory structure of choice):

C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl>choco pack
Chocolatey v1.1.0
Attempting to build package from 'setacl.nuspec'.
Successfully created package 'C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl\setacl.3.1.2.0.nupkg'

The second is longer but requires UAC elevation. I have included the most important bits here (which is a lot; the even longer full text is in the gist [Wayback/Archive] Chocolatey setacl 3.1.2.0 output test result):

C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl>choco install setacl.3.1.2.0.nupkg --debug --verbose --source=.
The use of .nupkg or .nuspec in for package name or source is known to cause issues. Please use the package id from the nuspec `<id />` with `-s .` (for local folder where nupkg is found).
Chocolatey v1.1.0
Chocolatey is running on Windows v 10.0.19044.0
...
Command line: "C:\ProgramData\chocolatey\choco.exe" install setacl.3.1.2.0.nupkg --debug --verbose --source=.
Received arguments: install setacl.3.1.2.0.nupkg --debug --verbose --source=.
...
The source '.' evaluated to a 'normal' source type

...
Configuration: CommandName='install'|
...
Sources='.'|SourceType='normal'|Debug='True'|Verbose='True'|
...
Input='setacl.3.1.2.0.nupkg'|AllVersions='False'|
...
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
...
Installing the following packages:
setacl.3.1.2.0.nupkg
By installing, you accept licenses for the packages.
Updating source and package name to handle *.nupkg or *.nuspec file.
[NuGet] Installing 'setacl 3.1.2.0'.
[NuGet] Added file 'readme.md' to folder 'setacl'.
[NuGet] Added file 'chocolateyInstall.ps1' to folder 'setacl\tools'.
[NuGet] Added file 'setacl.nupkg' to folder 'setacl'.
[NuGet] Added file 'setacl.nuspec' to folder 'setacl'.
[NuGet] Successfully installed 'setacl 3.1.2.0'.

setacl v3.1.2.0
setacl package files install completed. Performing other installation steps.
Setting installer args for setacl
Setting package parameters for setacl
Contents of 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1':
$packageName    = 'setacl'
$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url            = 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip'
$checksum       = 'BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'ZIP'
  url           = $url
  checksum      = $checksum
  checksumType  = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs

The package setacl wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): A

Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
Host version is 5.1.19041.1, PowerShell Version is '5.1.19041.1682' and CLR Version is '4.0.30319.42000'.
VERBOSE: Exporting function 'Format-FileSize'.
...
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
...
VERBOSE: Exporting alias 'refreshenv'.
Loading community extensions
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
Function 'Get-PackageParameters' exists, ignoring export.
...
VERBOSE: Importing function 'Write-FileUpdateLog'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
...
VERBOSE: Importing function 'Remove-Process'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'.
VERBOSE: Exporting function 'Install-DotNetFramework'.
...
VERBOSE: Importing function 'Install-DotNetFramework'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'.
VERBOSE: Exporting function 'Install-ChocolateyFont'.
...
VERBOSE: Importing alias 'Remove-Font'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
VERBOSE: Exporting function 'Install-WindowsUpdate'.
...
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
...
VERBOSE: Importing alias 'Start-ChocolateyProcess'.
---------------------------Script Execution---------------------------
Running 'ChocolateyScriptRunner' for setacl v3.1.2.0 with packageScript 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\setacl', installArguments: '', packageParameters: '',
Running 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1'
Running Install-ChocolateyZipPackage -unzipLocation 'C:\ProgramData\chocolatey\lib\setacl\tools' -checksum 'BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC' -checksumType 'sha256' -url 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip' -packageName 'setacl'
Running Get-ChocolateyWebFile -checksum 'BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC' -checksumType 'sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'setacl' -fileFullPath 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\setaclInstall.zip' -url 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip' -url64bit ''
Running Get-ProcessorBits -compare '64'
CPU is 64 bit
Running Get-WebFileName -url 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip' -defaultName 'setaclInstall.zip'
Using response url to determine file name. 'https://helgeklein.com/downloads/SetACL/current/SetACL 3.1.2 (executable version).zip'
File name determined from url is 'SetACL 3.1.2 (executable version).zip'
Running Get-WebHeaders -url 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip' -ErrorAction 'Stop'
Setting the UserAgent to 'chocolatey command line'
Request Headers:
  'Accept':'*/*'
...
  'Server':'cloudflare'
Downloading setacl
  from 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip'
Running Get-WebFile -url 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip' -fileName 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip' -options 'System.Collections.Hashtable'
Setting request timeout to  30000
Setting read/write timeout to  2700000
Setting the UserAgent to 'chocolatey command line'
Downloading https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip to C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip
Progress: 100% - Completed download of C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip (517.03 KB).
Download of SetACL 3.1.2 (executable version).zip (517.03 KB) completed.
No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
Verifying package provided checksum of 'BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC' for 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip'.
Running Get-ChecksumValid -file 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip' -checksum 'BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC' -checksumType 'sha256' -originalUrl 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip'
checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC" -t="sha256" -f="C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip"]
Hashes match.
Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC" -t="sha256" -f="C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip"] exited with '0'.
Running Get-ChocolateyUnzip -fileFullPath 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip' -destination 'C:\ProgramData\chocolatey\lib\setacl\tools' -specificFolder '' -packageName 'setacl'
Running Get-ProcessorBits -compare '32'
Extracting C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip to C:\ProgramData\chocolatey\lib\setacl\tools...
7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\setacl\tools" -y "C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip"]
VERBOSE:
...
...
VERBOSE: Size:       1142512
$exitCode was passed null
Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\setacl\tools" -y "C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip"] exited with '0'.
7z exit code: 0
C:\ProgramData\chocolatey\lib\setacl\tools
----------------------------------------------------------------------
Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
Capturing package files in 'C:\ProgramData\chocolatey\lib\setacl'
 Found 'C:\ProgramData\chocolatey\lib\setacl\readme.md'
  with checksum '6B03B0281F208CEE22BD9F42C5145BDC'
 Found 'C:\ProgramData\chocolatey\lib\setacl\SetACL 3.1.2 (executable version).zip.txt'
  with checksum '700651EA5B5C46B92044EF5A5F21C2B6'
 Found 'C:\ProgramData\chocolatey\lib\setacl\setacl.nupkg'
  with checksum 'DE407A39D21BD6D7EF75F76FA1D9E6F1'
 Found 'C:\ProgramData\chocolatey\lib\setacl\setacl.nuspec'
  with checksum '138F3C6C5C493B96E5AE1F12A1D5C32F'
 Found 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1'
  with checksum '9893BE3D9254D031F50F562F72F568FA'
 Found 'C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe'
  with checksum '93B828ED97CB2C701364DF520DDD5331'
 Found 'C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe'
  with checksum '1FB64FF73938F4A04E97E5E7BF3D618C'
Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe" --output="C:\ProgramData\chocolatey\bin\SetACL.exe"  --iconpath="C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe"']
...
 ShimGen has successfully created a shim for SetACL.exe
  Created: C:\ProgramData\chocolatey\bin\SetACL.exe
  Targeting: C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe
  IsGui:False

Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe" --output="C:\ProgramData\chocolatey\bin\SetACL.exe"  --iconpath="C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe"']
...
  Created: C:\ProgramData\chocolatey\bin\SetACL.exe
  Targeting: C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe
  IsGui:False

Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0".
There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0\.files'
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0\.extra".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0\.version".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0\.sxs".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0\.pin".
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\setacl".
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
Attempting to delete file "C:\ProgramData\chocolatey\lib\setacl\.chocolateyPending".
 The install of setacl was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\setacl\tools'

Chocolatey installed 1/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Sending message 'PostRunMessage' out if there are subscribers...
Exiting with 0

Tough the install was a success, the first line made it into a new issue: [Wayback/Archive] “The use of .nupkg or .nuspec in for package name or source is known to cause issues.” reports empty nuspec &lt;id /&gt; when a .nupkg file was specified · Issue #2850 · chocolatey/choco after I tried the uninstall test.

Post scriptum

The Chocolatey team was quite fast responding to my issue, so they quickly made the parameters less cryptic in the documentation with these commits:

In total, those are close to 100 changed bits of documentation. Thanks for that!

–jeroen


Install test output


Microsoft Windows [Version 10.0.19044.2006]
(c) Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cd \Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl
C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl>choco install setacl.3.1.2.0.nupkg –debug –verbose –source=.
The use of .nupkg or .nuspec in for package name or source is known to cause issues. Please use the package id from the nuspec `<id />` with `-s .` (for local folder where nupkg is found).
Chocolatey v1.1.0
Chocolatey is running on Windows v 10.0.19044.0
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 setacl.3.1.2.0.nupkg –debug –verbose –source=.
Received arguments: install setacl.3.1.2.0.nupkg –debug –verbose –source=.
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…
Performing validation checks.
Global Configuration Validation Checks:
– Package Exit Code / Exit On Reboot = Checked
System State Validation Checks:
Reboot Requirement Checks:
– Pending Computer Rename = Checked
– Pending Component Based Servicing = Checked
– Pending Windows Auto Update = Checked
– Pending File Rename Operations = Ignored
– Pending Windows Package Installer = Checked
– Pending Windows Package Installer SysWow64 = Checked
The source '.' evaluated to a 'normal' source type
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
Configuration: CommandName='install'|
CacheLocation='C:\Users\jeroenp\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='.'|SourceType='normal'|Debug='True'|Verbose='True'|
Trace='False'|Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|DisableCompatibilityChecks='False'|
AcceptLicense='False'|AllowUnofficialBuild='False'|
Input='setacl.3.1.2.0.nupkg'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='setacl.3.1.2.0.nupkg'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19044.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='1.1.0.0'|
Information.ChocolateyProductVersion='1.1.0'|
Information.FullName='choco, Version=1.1.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='jeroenp'|
Information.UserDomainName='DESKTOP-4JJBH0K'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
_ Chocolatey:ChocolateyInstallCommand – Normal Run Mode _
Installing the following packages:
setacl.3.1.2.0.nupkg
By installing, you accept licenses for the packages.
Updating source and package name to handle *.nupkg or *.nuspec file.
[NuGet] Installing 'setacl 3.1.2.0'.
[NuGet] Added file 'readme.md' to folder 'setacl'.
[NuGet] Added file 'chocolateyInstall.ps1' to folder 'setacl\tools'.
[NuGet] Added file 'setacl.nupkg' to folder 'setacl'.
[NuGet] Added file 'setacl.nuspec' to folder 'setacl'.
[NuGet] Successfully installed 'setacl 3.1.2.0'.
setacl v3.1.2.0
setacl package files install completed. Performing other installation steps.
Setting installer args for setacl
Setting package parameters for setacl
Contents of 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1':
$packageName = 'setacl'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip'
$checksum = 'BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC'
$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'ZIP'
url = $url
checksum = $checksum
checksumType = 'sha256'
}
Install-ChocolateyZipPackage @packageArgs
The package setacl wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll – yes to all/[N]o/[P]rint): A
Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
Host version is 5.1.19041.1, PowerShell Version is '5.1.19041.1682' and CLR Version is '4.0.30319.42000'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
Loading community extensions
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.
Function 'Get-PackageParameters' exists, ignoring export.
Function 'Get-UninstallRegistryKey' exists, ignoring export.
Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
Exporting function 'Write-ChocolateyFailure' for backwards compatibility
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
Exporting function 'Write-ChocolateySuccess' for backwards compatibility
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
Exporting function 'Write-FileUpdateLog' for backwards compatibility
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
VERBOSE: Importing function 'Write-ChocolateyFailure'.
VERBOSE: Importing function 'Write-ChocolateySuccess'.
VERBOSE: Importing function 'Write-FileUpdateLog'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Exporting function 'Remove-Process'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Register-Application'.
VERBOSE: Importing function 'Remove-Process'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'.
VERBOSE: Exporting function 'Install-DotNetFramework'.
VERBOSE: Exporting function 'Install-DotNetDevPack'.
VERBOSE: Importing function 'Install-DotNetDevPack'.
VERBOSE: Importing function 'Install-DotNetFramework'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'.
VERBOSE: Exporting function 'Install-ChocolateyFont'.
VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
VERBOSE: Exporting alias 'Add-Font'.
VERBOSE: Exporting alias 'Remove-Font'.
VERBOSE: Importing function 'Install-ChocolateyFont'.
VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
VERBOSE: Importing alias 'Add-Font'.
VERBOSE: Importing alias 'Remove-Font'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
VERBOSE: Exporting function 'Install-WindowsUpdate'.
VERBOSE: Exporting function 'Test-WindowsUpdate'.
VERBOSE: Importing function 'Install-WindowsUpdate'.
VERBOSE: Importing function 'Test-WindowsUpdate'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Exporting function 'Remove-Process'.
VERBOSE: Exporting function 'Install-DotNetDevPack'.
VERBOSE: Exporting function 'Install-DotNetFramework'.
VERBOSE: Exporting function 'Install-ChocolateyFont'.
VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
VERBOSE: Exporting function 'Install-WindowsUpdate'.
VERBOSE: Exporting function 'Test-WindowsUpdate'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
VERBOSE: Exporting alias 'Add-Font'.
VERBOSE: Exporting alias 'Remove-Font'.
VERBOSE: Importing function 'Format-FileSize'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-ChecksumValid'.
VERBOSE: Importing function 'Get-ChocolateyUnzip'.
VERBOSE: Importing function 'Get-ChocolateyWebFile'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-EnvironmentVariable'.
VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
VERBOSE: Importing function 'Get-FtpFile'.
VERBOSE: Importing function 'Get-OSArchitectureWidth'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-PackageParameters'.
VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
VERBOSE: Importing function 'Get-ToolsLocation'.
VERBOSE: Importing function 'Get-UACEnabled'.
VERBOSE: Importing function 'Get-UninstallRegistryKey'.
VERBOSE: Importing function 'Get-VirusCheckValid'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Get-WebFile'.
VERBOSE: Importing function 'Get-WebFileName'.
VERBOSE: Importing function 'Get-WebHeaders'.
VERBOSE: Importing function 'Install-BinFile'.
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
VERBOSE: Importing function 'Install-ChocolateyFont'.
VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
VERBOSE: Importing function 'Install-ChocolateyPackage'.
VERBOSE: Importing function 'Install-ChocolateyPath'.
VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Importing function 'Install-ChocolateyShortcut'.
VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
VERBOSE: Importing function 'Install-DotNetDevPack'.
VERBOSE: Importing function 'Install-DotNetFramework'.
VERBOSE: Importing function 'Install-Vsix'.
VERBOSE: Importing function 'Install-WindowsUpdate'.
VERBOSE: Importing function 'Register-Application'.
VERBOSE: Importing function 'Remove-Process'.
VERBOSE: Importing function 'Set-EnvironmentVariable'.
VERBOSE: Importing function 'Set-PowerShellExitCode'.
VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Importing function 'Test-ProcessAdminRights'.
VERBOSE: Importing function 'Test-WindowsUpdate'.
VERBOSE: Importing function 'Uninstall-BinFile'.
VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Importing function 'Update-SessionEnvironment'.
VERBOSE: Importing function 'Write-ChocolateyFailure'.
VERBOSE: Importing function 'Write-ChocolateySuccess'.
VERBOSE: Importing function 'Write-FileUpdateLog'.
VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
VERBOSE: Importing alias 'Add-BinFile'.
VERBOSE: Importing alias 'Add-Font'.
VERBOSE: Importing alias 'Generate-BinFile'.
VERBOSE: Importing alias 'Get-InstallRegistryKey'.
VERBOSE: Importing alias 'Get-OSBitness'.
VERBOSE: Importing alias 'Get-ProcessorBits'.
VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
VERBOSE: Importing alias 'refreshenv'.
VERBOSE: Importing alias 'Remove-BinFile'.
VERBOSE: Importing alias 'Remove-Font'.
VERBOSE: Importing alias 'Start-ChocolateyProcess'.
—————————Script Execution—————————
Running 'ChocolateyScriptRunner' for setacl v3.1.2.0 with packageScript 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\setacl', installArguments: '', packageParameters: '',
Running 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1'
Running Install-ChocolateyZipPackage -unzipLocation 'C:\ProgramData\chocolatey\lib\setacl\tools' -checksum 'BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC' -checksumType 'sha256' -url 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip' -packageName 'setacl'
Running Get-ChocolateyWebFile -checksum 'BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC' -checksumType 'sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'setacl' -fileFullPath 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\setaclInstall.zip' -url 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip' -url64bit ''
Running Get-ProcessorBits -compare '64'
CPU is 64 bit
Running Get-WebFileName -url 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip' -defaultName 'setaclInstall.zip'
Using response url to determine file name. 'https://helgeklein.com/downloads/SetACL/current/SetACL 3.1.2 (executable version).zip'
File name determined from url is 'SetACL 3.1.2 (executable version).zip'
Running Get-WebHeaders -url 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip' -ErrorAction 'Stop'
Setting the UserAgent to 'chocolatey command line'
Request Headers:
'Accept':'*/*'
'User-Agent':'chocolatey command line'
Response Headers:
'Connection':'keep-alive'
'x-content-type-options':'nosniff'
'x-frame-options':'sameorigin'
'x-xss-protection':'1; mode=block; report=https://vastlimits.report-uri.com/r/d/xss/enforce'
'content-security-policy':'default-src https:; font-src https: data:; img-src https: data: 'self' about:; script-src 'unsafe-inline' 'unsafe-eval' https: data:; style-src 'unsafe-inline' https:; connect-src https: data: 'self''
'strict-transport-security':'max-age=31536000; includeSubDomains; preload'
'referrer-policy':'no-referrer-when-downgrade'
'CF-Cache-Status':'HIT'
'Age':'1'
'Report-To':'{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=B00xgr86hHqmZZsWH8320nuu1YhCwzQ%2FaVtF3F45mGN7quxm0TzkFnQelcLtStQtT%2BjmV9xZaibRmoDlsdyMWlZ0qFtM910%2B4vBzzuZNW4BPN6tAH6D%2B%2BOW%2BB1KwrLTI"}],"group":"cf-nel","max_age":604800}'
'NEL':'{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
'Vary':'Accept-Encoding'
'CF-RAY':'7558af8798a1b8fa-AMS'
'alt-svc':'h3=":443"; ma=86400, h3-29=":443"; ma=86400'
'Accept-Ranges':'bytes'
'Content-Length':'529434'
'Cache-Control':'max-age=31536000'
'Content-Type':'application/zip'
'Date':'Wed, 05 Oct 2022 19:50:20 GMT'
'ETag':'"8141a-5c5b37c1754ce"'
'Last-Modified':'Sat, 26 Jun 2021 23:19:15 GMT'
'Server':'cloudflare'
Downloading setacl
from 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip'
Running Get-WebFile -url 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip' -fileName 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip' -options 'System.Collections.Hashtable'
Setting request timeout to 30000
Setting read/write timeout to 2700000
Setting the UserAgent to 'chocolatey command line'
Downloading https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip to C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip
Progress: 100% – Completed download of C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip (517.03 KB).
Download of SetACL 3.1.2 (executable version).zip (517.03 KB) completed.
No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business – https://chocolatey.org/compare
Verifying package provided checksum of 'BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC' for 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip'.
Running Get-ChecksumValid -file 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip' -checksum 'BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC' -checksumType 'sha256' -originalUrl 'https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip'
checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC" -t="sha256" -f="C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip"]
Hashes match.
Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="BA74399A70963C156580180455FBFC0FA68EA673A64EB89010A46273C7D478CC" -t="sha256" -f="C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip"] exited with '0'.
Running Get-ChocolateyUnzip -fileFullPath 'C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip' -destination 'C:\ProgramData\chocolatey\lib\setacl\tools' -specificFolder '' -packageName 'setacl'
Running Get-ProcessorBits -compare '32'
Extracting C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip to C:\ProgramData\chocolatey\lib\setacl\tools…
7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\setacl\tools" -y "C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip"]
VERBOSE:
VERBOSE:
VERBOSE: 7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
VERBOSE: 1 file, 529434 bytes (518 KiB)
VERBOSE: Scanning the drive for archives:
VERBOSE:
VERBOSE: Extracting archive: C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip
VERBOSE: Type = zip
VERBOSE: —
VERBOSE: – SetACL (executable version)\
VERBOSE: Path = C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip
VERBOSE: – SetACL (executable version)\32 bit\
VERBOSE: – SetACL (executable version)\32 bit\SetACL.exe
VERBOSE: – SetACL (executable version)\64 bit\
VERBOSE: – SetACL (executable version)\64 bit\SetACL.exe
VERBOSE:
VERBOSE: Physical Size = 529434
VERBOSE: Everything is Ok
VERBOSE:
VERBOSE: Folders: 3
VERBOSE: Files: 2
VERBOSE: Compressed: 529434
VERBOSE: Size: 1142512
$exitCode was passed null
Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\setacl\tools" -y "C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0\SetACL 3.1.2 (executable version).zip"] exited with '0'.
7z exit code: 0
C:\ProgramData\chocolatey\lib\setacl\tools
———————————————————————-
Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
Capturing package files in 'C:\ProgramData\chocolatey\lib\setacl'
Found 'C:\ProgramData\chocolatey\lib\setacl\readme.md'
with checksum '6B03B0281F208CEE22BD9F42C5145BDC'
Found 'C:\ProgramData\chocolatey\lib\setacl\SetACL 3.1.2 (executable version).zip.txt'
with checksum '700651EA5B5C46B92044EF5A5F21C2B6'
Found 'C:\ProgramData\chocolatey\lib\setacl\setacl.nupkg'
with checksum 'DE407A39D21BD6D7EF75F76FA1D9E6F1'
Found 'C:\ProgramData\chocolatey\lib\setacl\setacl.nuspec'
with checksum '138F3C6C5C493B96E5AE1F12A1D5C32F'
Found 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1'
with checksum '9893BE3D9254D031F50F562F72F568FA'
Found 'C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe'
with checksum '93B828ED97CB2C701364DF520DDD5331'
Found 'C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe'
with checksum '1FB64FF73938F4A04E97E5E7BF3D618C'
Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" –path="..\\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe" –output="C:\ProgramData\chocolatey\bin\SetACL.exe" –iconpath="C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe"']
[ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
[ShimGen] Selected Icon is invalid
[ShimGen] Microsoft (R) Visual C# Compiler version 4.8.4084.0
[ShimGen] for C# 5
[ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
[ShimGen] This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" –path="..\\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe" –output="C:\ProgramData\chocolatey\bin\SetACL.exe" –iconpath="C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe"'] exited with '0'
[ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\SetACL.exe'
ShimGen has successfully created a shim for SetACL.exe
Created: C:\ProgramData\chocolatey\bin\SetACL.exe
Targeting: C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe
IsGui:False
Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" –path="..\\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe" –output="C:\ProgramData\chocolatey\bin\SetACL.exe" –iconpath="C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe"']
[ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
[ShimGen] Selected Icon is invalid
[ShimGen] Microsoft (R) Visual C# Compiler version 4.8.4084.0
[ShimGen] for C# 5
[ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" –path="..\\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe" –output="C:\ProgramData\chocolatey\bin\SetACL.exe" –iconpath="C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe"'] exited with '0'
[ShimGen] This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
ShimGen has successfully created a shim for SetACL.exe
[ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\SetACL.exe'
Created: C:\ProgramData\chocolatey\bin\SetACL.exe
Targeting: C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe
IsGui:False
Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0".
There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0\.files'
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0\.extra".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0\.version".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0\.sxs".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setacl.3.1.2.0\.pin".
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\setacl".
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers…
Attempting to delete file "C:\ProgramData\chocolatey\lib\setacl\.chocolateyPending".
The install of setacl was successful.
Software installed to 'C:\ProgramData\chocolatey\lib\setacl\tools'
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Sending message 'PostRunMessage' out if there are subscribers…
Exiting with 0
C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl>

Uninstall test output


C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl>choco uninstall setacl.3.1.2.0.nupkg –debug –verbose –source=.
The use of .nupkg or .nuspec in for package name or source is known to cause issues. Please use the package id from the nuspec `<id />` with `-s .` (for local folder where nupkg is found).
Chocolatey v1.1.0
Chocolatey is running on Windows v 10.0.19044.0
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" uninstall setacl.3.1.2.0.nupkg –debug –verbose –source=.
Received arguments: uninstall setacl.3.1.2.0.nupkg –debug –verbose –source=.
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…
Performing validation checks.
Global Configuration Validation Checks:
– Package Exit Code / Exit On Reboot = Checked
System State Validation Checks:
Reboot Requirement Checks:
– Pending Computer Rename = Checked
– Pending Component Based Servicing = Checked
– Pending Windows Auto Update = Checked
– Pending File Rename Operations = Ignored
– Pending Windows Package Installer = Checked
– Pending Windows Package Installer SysWow64 = Checked
The source '.' evaluated to a 'normal' source type
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\jeroenp\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='.'|SourceType='normal'|Debug='True'|Verbose='True'|
Trace='False'|Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|DisableCompatibilityChecks='False'|
AcceptLicense='False'|AllowUnofficialBuild='False'|
Input='setacl.3.1.2.0.nupkg'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='setacl.3.1.2.0.nupkg'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19044.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='1.1.0.0'|
Information.ChocolateyProductVersion='1.1.0'|
Information.FullName='choco, Version=1.1.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='jeroenp'|
Information.UserDomainName='DESKTOP-4JJBH0K'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
_ Chocolatey:ChocolateyUninstallCommand – Normal Run Mode _
Uninstalling the following packages:
setacl.3.1.2.0.nupkg
Running list with the following filter = ''
— Start of List —
7zip 22.1
7zip.install 22.1
adobereader 2022.002.20212
anonymouspro 2014.12.31
atom 1.60.0
atom.install 1.60.0
autohotkey 1.1.34.04
autohotkey.install 1.1.34.04
autohotkey.portable 1.1.34.04
beyondcompare 4.4.3.26655
carnac 2.3.13
checksum 0.2.0
choco-cleaner 0.0.8.4
chocolatey 1.1.0
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolatey-font-helpers.extension 0.0.4
chocolatey-windowsupdate.extension 1.0.4
crystaldiskinfo 8.17.7
crystaldiskinfo.portable 8.17.7
curl 7.85.0
dejavufonts 2.37
dia 0.97.2.2
dotnet-6.0-sdk 6.0.401
dotnet-6.0-sdk-4xx 6.0.401
DotNet4.5.2 4.5.2.20140902
dotnet4.7.1 4.7.2558.20190226
dotnetfx 4.8.0.20220524
drawio 20.3.0
envycoder 2015.01.02
Everything 1.4.11021
fantasque-sans.font 1.8.0
filezilla 3.61.0
FiraCode 6.2
Firefox 105.0.1
gimp 2.10.32.1
git.install 2.37.3
google-backup-and-sync 99.99.99.99
gsmartcontrol 1.1.4
hackfont 3.003
hdtune 2.55.0.1
imagemagick 7.1.0.49
imagemagick.app 7.1.0.49
imgburn 2.5.8.20210426
inconsolata 2019.12.12
InkScape 1.2.1
intel-mas 1.12
isowriter 0.6.1.20200129
jetbrainsmono 2.002
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
KB3063858 1.0.0
nerdfont-hack 2.1.0
nircmd 2.86
nmap 7.93
notepadplusplus 8.4.5
notepadplusplus.install 8.4.5
nssm 2.24.101.20180116
paint.net 4.3.12
pandoc 2.19.2
prime95 30.8.17
rufus 3.20
seatools 5.0.140
sed 4.8
setacl 3.1.2.0
smartmontools 7.3
SourceCodePro 2.030.0
sourcetree 3.4.9
speedfan 4.52.0.20200321
speedtest 1.1.1.1
sysinternals 2022.9.29
ultravnc 1.3810
vcredist140 14.32.31332
vcredist2010 10.0.40219.32503
vcredist2015 14.0.24215.20170201
vmware-workstation-player 16.2.4.20089737
vscode 1.71.2
vscode.install 1.71.2
wakemeonlan 1.90
winbox 3.37
winscp 5.21.3
winscp.install 5.21.3
wireshark 3.6.8
— End of List —
setacl.3.1.2.0.nupkg is not installed. Cannot uninstall a non-existent package.
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
– setacl.3.1.2.0.nupkg – setacl.3.1.2.0.nupkg is not installed. Cannot uninstall a non-existent package.
If a package uninstall is failing and/or you've already uninstalled the
software outside of Chocolatey, you can attempt to run the command
with `-n` to skip running a chocolateyUninstall script, additionally
adding `–skip-autouninstaller` to skip an attempt to automatically
remove system-installed software. Only the packaging files are removed
and not things like software installed to Programs and Features.
If a package is failing because it is a dependency of another package
or packages, then you may first need to consider if it needs to be
removed as packages have dependencies for a reason. If
you decide that you still want to remove it, head into
`$env:ChocolateyInstall\lib` and find the package folder you want to
be removed. Then delete the folder for the package. You should use
this option only as a last resort.
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
Sending message 'PostRunMessage' out if there are subscribers…
Exiting with 1


C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl>choco uninstall setacl –debug –verbose –source=.
Chocolatey v1.1.0
Chocolatey is running on Windows v 10.0.19044.0
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" uninstall setacl –debug –verbose –source=.
Received arguments: uninstall setacl –debug –verbose –source=.
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…
Performing validation checks.
Global Configuration Validation Checks:
– Package Exit Code / Exit On Reboot = Checked
System State Validation Checks:
Reboot Requirement Checks:
– Pending Computer Rename = Checked
– Pending Component Based Servicing = Checked
– Pending Windows Auto Update = Checked
– Pending File Rename Operations = Ignored
– Pending Windows Package Installer = Checked
– Pending Windows Package Installer SysWow64 = Checked
The source '.' evaluated to a 'normal' source type
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\jeroenp\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='.'|SourceType='normal'|Debug='True'|Verbose='True'|
Trace='False'|Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|DisableCompatibilityChecks='False'|
AcceptLicense='False'|AllowUnofficialBuild='False'|Input='setacl'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='setacl'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19044.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='1.1.0.0'|
Information.ChocolateyProductVersion='1.1.0'|
Information.FullName='choco, Version=1.1.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='jeroenp'|
Information.UserDomainName='DESKTOP-4JJBH0K'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\jeroenp\Documents\Versioned\github.com\jpluimers\bcurran3.ChocolateyPackages\setacl'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
_ Chocolatey:ChocolateyUninstallCommand – Normal Run Mode _
Uninstalling the following packages:
setacl
Running list with the following filter = ''
— Start of List —
7zip 22.1
7zip.install 22.1
adobereader 2022.002.20212
anonymouspro 2014.12.31
atom 1.60.0
atom.install 1.60.0
autohotkey 1.1.34.04
autohotkey.install 1.1.34.04
autohotkey.portable 1.1.34.04
beyondcompare 4.4.3.26655
carnac 2.3.13
checksum 0.2.0
choco-cleaner 0.0.8.4
chocolatey 1.1.0
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolatey-font-helpers.extension 0.0.4
chocolatey-windowsupdate.extension 1.0.4
crystaldiskinfo 8.17.7
crystaldiskinfo.portable 8.17.7
curl 7.85.0
dejavufonts 2.37
dia 0.97.2.2
dotnet-6.0-sdk 6.0.401
dotnet-6.0-sdk-4xx 6.0.401
DotNet4.5.2 4.5.2.20140902
dotnet4.7.1 4.7.2558.20190226
dotnetfx 4.8.0.20220524
drawio 20.3.0
envycoder 2015.01.02
Everything 1.4.11021
fantasque-sans.font 1.8.0
filezilla 3.61.0
FiraCode 6.2
Firefox 105.0.1
gimp 2.10.32.1
git.install 2.37.3
google-backup-and-sync 99.99.99.99
gsmartcontrol 1.1.4
hackfont 3.003
hdtune 2.55.0.1
imagemagick 7.1.0.49
imagemagick.app 7.1.0.49
imgburn 2.5.8.20210426
inconsolata 2019.12.12
InkScape 1.2.1
intel-mas 1.12
isowriter 0.6.1.20200129
jetbrainsmono 2.002
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
KB3063858 1.0.0
nerdfont-hack 2.1.0
nircmd 2.86
nmap 7.93
notepadplusplus 8.4.5
notepadplusplus.install 8.4.5
nssm 2.24.101.20180116
paint.net 4.3.12
pandoc 2.19.2
prime95 30.8.17
rufus 3.20
seatools 5.0.140
sed 4.8
setacl 3.1.2.0
smartmontools 7.3
SourceCodePro 2.030.0
sourcetree 3.4.9
speedfan 4.52.0.20200321
speedtest 1.1.1.1
sysinternals 2022.9.29
ultravnc 1.3810
vcredist140 14.32.31332
vcredist2010 10.0.40219.32503
vcredist2015 14.0.24215.20170201
vmware-workstation-player 16.2.4.20089737
vscode 1.71.2
vscode.install 1.71.2
wakemeonlan 1.90
winbox 3.37
winscp 5.21.3
winscp.install 5.21.3
wireshark 3.6.8
— End of List —
Backing up existing setacl prior to operation.
Moving 'C:\ProgramData\chocolatey\lib\setacl'
to 'C:\ProgramData\chocolatey\lib-bkp\setacl'
Attempting to create directory "C:\ProgramData\chocolatey\lib\setacl".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\setacl\readme.md"
to "C:\ProgramData\chocolatey\lib\setacl\readme.md".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\setacl\SetACL 3.1.2 (executable version).zip.txt"
to "C:\ProgramData\chocolatey\lib\setacl\SetACL 3.1.2 (executable version).zip.txt".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\setacl\setacl.nupkg"
to "C:\ProgramData\chocolatey\lib\setacl\setacl.nupkg".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\setacl\setacl.nuspec"
to "C:\ProgramData\chocolatey\lib\setacl\setacl.nuspec".
Attempting to create directory "C:\ProgramData\chocolatey\lib\setacl\tools".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\setacl\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1".
Attempting to create directory "C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe"
to "C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe".
Attempting to create directory "C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe"
to "C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe".
Capturing package files in 'C:\ProgramData\chocolatey\lib\setacl'
Found 'C:\ProgramData\chocolatey\lib\setacl\readme.md'
with checksum '6B03B0281F208CEE22BD9F42C5145BDC'
Found 'C:\ProgramData\chocolatey\lib\setacl\SetACL 3.1.2 (executable version).zip.txt'
with checksum '700651EA5B5C46B92044EF5A5F21C2B6'
Found 'C:\ProgramData\chocolatey\lib\setacl\setacl.nupkg'
with checksum 'DE407A39D21BD6D7EF75F76FA1D9E6F1'
Found 'C:\ProgramData\chocolatey\lib\setacl\setacl.nuspec'
with checksum '138F3C6C5C493B96E5AE1F12A1D5C32F'
Found 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1'
with checksum '9893BE3D9254D031F50F562F72F568FA'
Found 'C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe'
with checksum '93B828ED97CB2C701364DF520DDD5331'
Found 'C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe'
with checksum '1FB64FF73938F4A04E97E5E7BF3D618C'
[NuGet] Uninstalling 'setacl 3.1.2.0'.
setacl v3.1.2.0
Removing shim for SetACL.exe at 'C:\ProgramData\chocolatey\bin\SetACL.exe
Attempting to delete file "C:\ProgramData\chocolatey\bin\SetACL.exe".
Removing shim for SetACL.exe at 'C:\ProgramData\chocolatey\bin\SetACL.exe
Attempting to delete file "C:\ProgramData\chocolatey\bin\SetACL.exe".
Skipping auto uninstaller – No registry snapshot.
Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\setacl".
[NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\setacl\tools'.
[NuGet] Removed file 'readme.md' to folder 'C:\ProgramData\chocolatey\lib\setacl'.
[NuGet] Removed file 'setacl.nuspec' to folder 'C:\ProgramData\chocolatey\lib\setacl'.
[NuGet] Removed file 'setacl.nupkg' to folder 'C:\ProgramData\chocolatey\lib\setacl'.
[NuGet] The directory is not empty.
[NuGet] Successfully uninstalled 'setacl 3.1.2.0'.
setacl has been successfully uninstalled.
Removing nupkg if it still exists.
Ensuring removal of installation files.
Found 'C:\ProgramData\chocolatey\lib\setacl\SetACL 3.1.2 (executable version).zip.txt'
with checksum '700651EA5B5C46B92044EF5A5F21C2B6'
Attempting to delete file "C:\ProgramData\chocolatey\lib\setacl\SetACL 3.1.2 (executable version).zip.txt".
Found 'C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe'
with checksum '93B828ED97CB2C701364DF520DDD5331'
Attempting to delete file "C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\32 bit\SetACL.exe".
Found 'C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe'
with checksum '1FB64FF73938F4A04E97E5E7BF3D618C'
Attempting to delete file "C:\ProgramData\chocolatey\lib\setacl\tools\SetACL (executable version)\64 bit\SetACL.exe".
Attempting to delete directory "C:\ProgramData\chocolatey\lib\setacl".
Ensuring removal of package cache files.
Attempting to delete directory "C:\Users\jeroenp\AppData\Local\Temp\chocolatey\setacl\3.1.2.0".
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Sending message 'PostRunMessage' out if there are subscribers…
Exiting with 0

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.