CPMR0003 - Install Script Named Incorrectly (package)

CPMR0003 - Install Script Named Incorrectly (package)

WARNING

This rule has been marked as a Requirement.

Requirements represent the minimum quality of a package that is acceptable. When a package version has failed requirements, the package version requires fixing and/or response by the maintainer. Provided a Requirement has flagged correctly, it must be fixed before the package version can be approved. The exact same version should be uploaded during moderation review.

Issue

Your script is named incorrectly and will need to be renamed. A script named chocolateyInstall.ps1 was not found in your package, but another script ending in install.ps1 was found.

The install script should be named chocolateyInstall.ps1 and be found in the tools folder.

Reasoning

Chocolatey looks for a known/named script. Without it, Chocolatey can’t run PowerShell automation.