Sha256: d7b30f8a94545291c9d0c605f66f010f10c48673d4d3d4311559146790a0b8cf
Contents?: true
Size: 399 Bytes
Versions: 9
Compression:
Stored size: 399 Bytes
Contents
class Specinfra::Command::Windows::Base::Package < Specinfra::Command::Windows::Base def check_is_installed(package, version=nil) version_selection = version.nil? ? "" : "-appVersion '#{version}'" Backend::PowerShell::Command.new do using 'find_installed_application.ps1' exec "(FindInstalledApplication -appName '#{package}' #{version_selection}) -eq $true" end end end
Version data entries
9 entries across 9 versions & 1 rubygems