Hello Dan, I think that I may have spoken too soon.
while the addition of the parentheses in the following
while the addition of the parentheses in the following
if (((Get-InstalledApplication -Name "Wireshark 1.12.3 (64-bit)") -eq $appName) -and ($appDisplayVersion -eq $appVersion))
relsoved the original problem I reported Message : A parameter cannot be found that matches parameter name 'eq'.I noticed some odd behavior when running the script against version 3.5.0.
InnerException :
FullyQualifiedErrorId : NamedParameterNotFound,Get-InstalledApplication
-
My detection logic is completely ignored in version 3.5.0; however in the 3.1.4 version of the script halts the installation and presents a message box with the parameters specified in "Show-InstallationPrompt"
-
In the "[string]$installPhase = 'Post-Installation'" section of version 3.5.0 I specify the following parameters
Show-InstallationPrompt -Message 'The installation of $appName $appVersion complete.' -ButtonRightText 'OK' -Icon Information -NoWait
The message box appears, but the variables are never processed. the following text appears in the message box:The installation of $appName $appVersion complete.The message text should read
The installation of Wireshark 1.12.3 complete.P.S. Screenshots would probably be helpful, is the there a way to include them?