SmartResponse-Framework / SmartResponse.Framework

PowerShell module for developing LogRhythm SmartResponse Plugins
Other
8 stars 2 forks source link

Setup fails with version comparison error #23

Closed GeneCupstid closed 4 years ago

GeneCupstid commented 4 years ago

Expected Behavior

Setup.ps1 installs the module, even when an existing version of the module is present on the system.

Current Behavior

Error Message / Diagnostics

[Error]
** Error occurred during installation **
  Message: Could not compare "0" to "0.9.9". Error: "Cannot convert value "0.9.9" to type "System.Char". Error: "String must be exactly one character long.""
  <Setup failed to install LogRhythm.Tools>
[Call Stack]
* Setup.ps1 [260]
* Install-Lrt.ps1 [122]
* Get-LrtInstallerInfo.ps1 [108]

Possible Solution

Steps to Reproduce

Run Test-LrtPublish in the tests directory.

GeneCupstid commented 4 years ago

confirmed fixed