Difference between revisions of "Irfanview"
Line 19: | Line 19: | ||
<check type="file" condition="versionequalto" path="%PROGRAMFILES%\IrfanView\i_view32.exe" value="3.9.8.0" /> | <check type="file" condition="versionequalto" path="%PROGRAMFILES%\IrfanView\i_view32.exe" value="3.9.8.0" /> | ||
− | + | <install cmd='%PACKAGES%\iview398.exe /silent /folder="%ProgramFiles%\Irfanview" /desktop=1 /group=1 /allusers=1 /assoc=1' /> | |
− | <install cmd=' | + | |
− | <!-- | + | <!-- bring in our INI file which forces Irfanview to use per-user configurations in %APPDATA% --> |
<install cmd='cmd /c copy /y \\server\share\IrfanView\i_view32.ini "%ProgramFiles%\Irfanview\"' /> | <install cmd='cmd /c copy /y \\server\share\IrfanView\i_view32.ini "%ProgramFiles%\Irfanview\"' /> | ||
Line 28: | Line 27: | ||
</package> | </package> | ||
</pre> | </pre> | ||
+ | |||
+ | See http://www.irfanview.com/faq.htm for a full list of the installer options. | ||
+ | |||
+ | If the INI file in Irfanview's program directory contains the line INI_folder="%APPDATA%" then each user will have their own preferences saved in their %APPDATA% directory rather than all users using the same preferences file in the Irfanview program directory. | ||
+ | |||
[[category:Silent Installers|Irfanview]] | [[category:Silent Installers|Irfanview]] |
Revision as of 14:14, 2 September 2006
Irfanview is an freeware image viewer with many additional features
By default irfanview writes the user config-file to i_view32.ini in the install-dir, this is not appropriate in a multi-user environment. You can redirect this to the users Application Data folder by replacing the default i_view32.ini with the following one.
i_view32.ini: Place this file in your \\server\share\IrfanView\ directory beside the installer.
[Others] INI_Folder=%APPDATA%\Irfanview
<package id="irfanview" name="IrfanView" revision="398" reboot="false" priority="0"> <check type="file" condition="versionequalto" path="%PROGRAMFILES%\IrfanView\i_view32.exe" value="3.9.8.0" /> <install cmd='%PACKAGES%\iview398.exe /silent /folder="%ProgramFiles%\Irfanview" /desktop=1 /group=1 /allusers=1 /assoc=1' /> <!-- bring in our INI file which forces Irfanview to use per-user configurations in %APPDATA% --> <install cmd='cmd /c copy /y \\server\share\IrfanView\i_view32.ini "%ProgramFiles%\Irfanview\"' /> <remove cmd='"%PROGRAMFILES%\IrfanView\iv_uninstall.exe" /silent' /> </package>
See http://www.irfanview.com/faq.htm for a full list of the installer options.
If the INI file in Irfanview's program directory contains the line INI_folder="%APPDATA%" then each user will have their own preferences saved in their %APPDATA% directory rather than all users using the same preferences file in the Irfanview program directory.