|
$manifestData = Import-PowerShellDataFile -Path $manifestPath -ErrorAction stop |
Example: PRTGAPI Already Installed
Try to install PRTGAPI, it reads the existing manifest and fails with a dynamic because there is script logic in the .psd1 file.
Probably should skip and force overwrite if a newer version is found, this has to be handled both in the above code and in the installer code for when it encounters a same-name same-version folder