14
edits
Changes
m
==Plugins==
<source lang="xml">
<package id="irfanview_plugins" name="Irfanview Plugins" revision="1" reboot="false" priority="1">
<check type="file" condition="exists" path="%PROGRAMFILES%\IrfanView\plugins\IV_player.exe" />
<depends package-id="irfanview" />
<install cmd='%SOFTWARE%\irfanview\irfanview_plugins_427_setup.exe /silent' />
<upgrade cmd='%SOFTWARE%\irfanview\irfanview_plugins_427_setup.exe /silent' />
</package>
</source>
no edit summary
The /silent switch for iv_uninstall.exe doesn't work. The remove process stops trying to display a window to confirm uninstall.
==Installation options==
</source>
==Plugins==
<source lang="xml">
<package id="irfanview_plugins" name="Irfanview Plugins" revision="1" reboot="false" priority="1">
<check type="file" condition="exists" path="%PROGRAMFILES%\IrfanView\plugins\IV_player.exe" />
<depends package-id="irfanview" />
<install cmd='%SOFTWARE%\irfanview\irfanview_plugins_427_setup.exe /silent' />
<upgrade cmd='%SOFTWARE%\irfanview\irfanview_plugins_427_setup.exe /silent' />
</package>
</source>
== Languages ==
To install the Irfanview language packs is better to copy the required files from the zip.
The language installers doesn't has the /silent swith.
This is an example package definition to install the Spanish Language package.
<source lang="xml">
<package id="irfanview_es" name="Irfanview Spanish Language" revision="4270" reboot="false" priority="1">
<check type="file" condition="exists" path="%PROGRAMFILES%\IrfanView\Languages\Spanish.dll" />
<depends package-id="irfanview" />
<!-- The /silent option doesn't work for the language installer
<install cmd='%SOFTWARE%\irfanview\irfanview_lang_spanish_427.exe /silent' />
<upgrade cmd='%SOFTWARE%\irfanview\irfanview_lang_spanish_427.exe /silent' />
used the files from the zip directly. Copy Spanish.dll and IP_Spanish.lng with one command -->
<install cmd='%COMSPEC% /c copy /y "%SOFTWARE%\irfanview\*Spanish.*" "%ProgramFiles%\Irfanview\Languages\"' />
<upgrade cmd='%COMSPEC% /c copy /y "%SOFTWARE%\irfanview\*Spanish.*" "%ProgramFiles%\Irfanview\Languages\"' />
</package>
</source>
[[category:Silent Installers|Irfanview]]