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

New Post: Flash Player 12 ActiveX Uninstall String Issue

$
0
0
I use the uninstaller too and it runs silent by default. It is the best way to remove all old versions of flash. However, keep in mind the executable changes with every new release of flash and it removes both the ActiveX and Plugin version. If you have machines that have the flash plugin and some that do not, then you will need to obtain that information beforehand. In my case I have ActiveX installed on everything but only some computers have the plugin.

Therefore I run this code in PRE-INSTALLATION:
    $AppInfo = Get-InstalledApplication -Name "Adobe Flash Player"
    Foreach ($InstalledApp in $AppInfo) { If ($InstalledApp.DisplayName -match "Plugin") { $PluginInstalled = $True } }
    Execute-Process -FilePath "uninstall_flash_player.exe" -arguments "-uninstall" -WindowStyle Hidden 
And this in INSTALLATION:
    Execute-MSI -Action Install -Path "install_flash_player_12_active_x.msi"
    If ($PluginInstalled -eq $True) { Execute-MSI -Action Install -Path "install_flash_player_12_plugin.msi" }

Viewing all articles
Browse latest Browse all 1769

Trending Articles



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