brianlala / AutoSPInstaller

Automated SharePoint 2010/2013/2016/2019/SE PowerShell-based installation script.
https://autospinstaller.com
MIT License
170 stars 80 forks source link

$inputFile is referenced but is not supplied to function CheckConfigFiles #92

Open Richardsprofile opened 1 year ago

Richardsprofile commented 1 year ago

When a product key is in a wrong format, the function CheckConfigFiles try to throw error. Part of the error message is formed by running "$(Split-Path -Path $inputFile -Leaf)`". $inputFile is referenced here but the function definition does not have an input parameter to accept it.

Referenced file: SP/Automation/AutoSPInstallerModule.ps1m Line: 295