Changes

Jump to: navigation, search

Imagine

1,457 bytes added, 23:29, 11 May 2020
Google WebP
=== Google WebP ===
<source lang="xml">
<package
id="imagine_webp"
name="Imagine WebP plugin"
revision="%PKG_VERSION%"
reboot="false"
priority="0">
 
<depends package-id="imagine" />
 
<variable name="PKG_VERSION" value="0.0.8" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\Imagine\x64\plugins\WebP" architecture="x64" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\Imagine\x86\plugins\WebP" architecture="x86" />
<variable name="PKG_FILES" value="%PKG_SOURCE%\%PKG_VERSION%" />
<variable name="PKG_DESTINATION" value="%PROGRAMFILES%\Imagine\Plugin" />
<variable name="PKG_FILENAME" value="WebP.plg64" architecture="x64" />
<variable name="PKG_FILENAME" value="WebP.plg" architecture="x86" />
 
<check type="logical" condition="and">
<check type="file" condition="exists" path="%PKG_DESTINATION%\%PKG_FILENAME%" />
<check type="registry" condition="equals" path="HKLM\SOFTWARE\Imagine\WebPVersion" value="%PKG_VERSION%" />
</check>
<install cmd='%COMSPEC% /C copy /Y /V "%PKG_FILES%\*" "%PKG_DESTINATION%\"' />
<install cmd='%COMSPEC% /C regedit /s "%PKG_SOURCE%\WebP.reg"' />
<install cmd='%COMSPEC% /C "%PROGRAMFILES%\Imagine\Imagine64.exe" /assocext /regcontextmenu' />
<upgrade include="remove" />
<upgrade include="install" />
 
<remove cmd='%COMSPEC% /C del /Q "%PKG_DESTINATION%\%PKG_FILENAME%"' />
<remove cmd='%COMSPEC% /C reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Imagine" /v WebPVersion /f' />
</package>
</source>
74
edits

Navigation menu