14
edits
Changes
m
→Languages
== Languages ==
To install the Irfanview language packs is better to copy the required files from the zip.
The language installers doesn't has the <code>/silent</code> swithoption.
This is an example package definition to install the Spanish Language package.
<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]]