Hey,
Yes you can. We actually did something already for Flash Player. So given that both Chrome and Internet Explorer versions newer than 10, have Flash Player built in...
Dan
Yes you can. We actually did something already for Flash Player. So given that both Chrome and Internet Explorer versions newer than 10, have Flash Player built in...
# Get the Internet Explorer version
$ieVersion = Get-Item "HKLM:Software\Microsoft\Internet Explorer" -ErrorAction SilentlyContinue | Get-ItemProperty | Select "svcVersion" -ExpandProperty "svcVersion"
$ieSubstringPos = $ieVersion.IndexOf(".")
[int]$ieShortVersion = $ieVersion.Substring(0, $ieSubstringPos)
# Install Flash Player ActiveX Control for IE versions prior to IE10
If ($ieShortVersion -lt 10) {
Execute-MSI -Action Install -Path "install_flash_player_14_active_x.msi"
}
# Install Flash Player Plugin if Firefox is installed
If(Get-InstalledApplication -Name "Mozilla Firefox" -eq $true) {
Execute-MSI -Action Install -Path "install_flash_player_14_plugin.msi"
}
That'll work on every OS version :)Dan