Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: A parameter cannot be found that matches parameter name 'eq'.

$
0
0
Hello Dan, I think that I may have spoken too soon.

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'.
InnerException :

FullyQualifiedErrorId : NamedParameterNotFound,Get-InstalledApplication
I noticed some odd behavior when running the script against version 3.5.0.
  1. 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"
  2. 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?

Viewing all articles
Browse latest Browse all 1769

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>