Changes

Flash Player

1,581 bytes added, 19:25, 10 May 2020
Add config for Adobe Flash Player 32.
Windows 8 & 8.1 includes Flash for IE and the activex plugin will fail with an error of 1031. To use the one combined package, note the OS checks that exclude Windows 8 from the activex installer
 
==Adobe Flash Player 32==
 
<source lang="xml">
<package
id="adobeflashplayernpapi"
name="Adobe Flash Player NPAPI"
revision="%PKG_VERSION%"
reboot="false"
priority="0">
 
<depends package-id="firefox" />
 
<variable name="PKG_VERSION" value="32.0.0.363" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\Adobe\FlashPlayer" />
<variable name="PKG_NAME" value="install_flash_player.exe" />
<variable name="PKG_REMOVE_NAME" value="uninstall_flash_player.exe" />
<variable name="PKG_FILE_PLUGIN" value="NPSWF32_32_0_0_363.dll" />
<variable name="PKG_INSTALL_SWITCH" value="-install" />
<variable name="PKG_REMOVE_SWITCH" value="-uninstall" />
<variable name="PKG_DESTINATION" value="%SystemRoot%\System32\Macromed\Flash" architecture="x86"/>
<variable name="PKG_DESTINATION" value="%SystemRoot%\SysWOW64\Macromed\Flash" architecture="x64"/>
 
 
<check type="logical" condition="and">
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Flash Player .+ NPAPI" value="%PKG_VERSION%" />
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\%PKG_FILE_PLUGIN%" value="%PKG_VERSION%" />
</check>
 
<install cmd='"%PKG_SOURCE%\%PKG_REMOVE_NAME%" %PKG_REMOVE_SWITCH%' >
<exit code="any" />
</install>
<install cmd='"%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' />
<install cmd='%COMSPEC% /C copy /Y /V "%PKG_SOURCE%\mms.cfg" "%PKG_DESTINATION%"' >
<exit code="any"/>
</install>
 
<upgrade include="install" />
 
<remove cmd='"%PKG_SOURCE%\%PKG_REMOVE_NAME%" %PKG_REMOVE_SWITCH%' />
 
</package>
</source>
==Adobe Flash Player 16==
74
edits