Update flash Activex and/or plugin to .213

If anyone wants to clean it up by all means :slight_smile:

<code>#Flash Active X Vars
		$testflashX = Test-path &quot;HKLM:\Software\Classes\CLSID\{D27CDB6E-AE6D-11cf-96B8-444553540000}&quot;
		$flashxregkey1 = &#039;HKLM:\Software\Macromedia\FlashPlayer\SafeVersions&#039;
		[string]$flashxregkey2 = &#039;21.0&#039;

		#test active X install
		$activex = (Get-ItemProperty $flashxregkey1).$flashxregkey2
		If ($testflashX -eq $true)
		{ if ($activex -le 213)
			{ 
			Execute-MSI -action install -path &quot;$dirfiles\install_flash_player_21_active_x.msi&quot; -Parameters &quot;/qn&quot;
            If ($psArchitecture -eq &quot;x64&quot;) { copy-file -Path &quot;$dirfiles\mms.cfg&quot; -destination &quot;$envWinDir\SysWow64\Macromed\Flash&quot; }
            ElseIf ($psArchitecture -eq &quot;x86&quot;) { copy-file -Path &quot;$dirfiles\mms.cfg&quot; -destination &quot;$envWinDir\System32\Macromed\Flash&quot;}
			}
		}
        write-log -message &quot;Key found for active X found = $testflashX&quot;
        write-log -message &quot;activex = $activex&quot;

		#flash Plugin Vars
		$testflashplug = Test-path &quot;HKLM:\Software\Macromedia\FlashPlayerPlugin&quot;
		$flashplug1 = &quot;HKLM:\Software\Macromedia\FlashPlayerPlugin&quot;
		$plugin = (Get-ItemProperty $flashplug1).version
        

		#test plugin version
		If ($testflashplug -eq $true)
			{If($plugin -ne &quot;21.0.0.213&quot;)
				{
					Execute-MSI -action install -path &quot;$dirfiles\install_flash_player_21_plugin.msi&quot; -Parameters &quot;/qn&quot;
                    If ($psArchitecture -eq &quot;x64&quot;) { copy-file -Path &quot;$dirfiles\mms.cfg&quot; -destination &quot;$envWinDir\SysWow64\Macromed\Flash&quot; }
                    ElseIf ($psArchitecture -eq &quot;x86&quot;) { copy-file -Path &quot;$dirfiles\mms.cfg&quot; -destination &quot;$envWinDir\System32\Macromed\Flash&quot;}
				}
			}
        Write-log -message &quot;test flash plug in path was $testflashplug&quot;
        write-log -message &quot;Plugin version detected = $plugin&quot;</code>