Difference between revisions of "Irfanview"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Configuration)
(Configuration)
Line 25: Line 25:
  
 
== Configuration ==
 
== Configuration ==
By default irfanview writes the user config-file to <code>i_view32.ini</code> in the Irfanview program directory. This is not appropriate in a multi-user environment.  You can redirect this to the user's <code>%APPDATA%</code> directory by replacing the default <code>i_view32.ini</code> with the following one.
+
By default Irfanview uses a user configuration file (<code>i_view32.ini</code>) in the Irfanview program directory. This is not appropriate in a multi-user environment.  You can redirect this to the user's <code>%APPDATA%</code> directory by replacing the default <code>i_view32.ini</code> with the following one.
  
 
Save this as <code>i_view32.ini<code> and place it your %PACKAGES%\IrfanView\ directory beside the installer.
 
Save this as <code>i_view32.ini<code> and place it your %PACKAGES%\IrfanView\ directory beside the installer.

Revision as of 14:20, 2 September 2006

Irfanview is a freeware image viewer and minor image editor.

<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>

Installation options

See http://www.irfanview.com/faq.htm for a full list of the installer options.

Configuration

By default Irfanview uses a user configuration file (i_view32.ini) in the Irfanview program directory. This is not appropriate in a multi-user environment. You can redirect this to the user's %APPDATA% directory by replacing the default i_view32.ini with the following one.

Save this as i_view32.ini<code> and place it your %PACKAGES%\IrfanView\ directory beside the installer.

[Others]
INI_Folder="%APPDATA%\Irfanview"