Difference between revisions of "Irfanview"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(No difference)

Revision as of 17:14, 7 February 2006

Irfanview is an image viewer that has some additional features

Basic install:

<package id="irfanview" name="Irfanview 3.93" revision="1" 
  <check type="file" condition="exists" path="c:\Program Files\Irfanview\i_view32.exe" />
  <install cmd="\\server\software\irfanview\iview390.exe /silent /folder="c:\Program Files\Irfanview" /desktop=1 /group=1 /allusers=0 /assoc=1">
     <exit code="0" />
  </install>
</package>

The problem with irfanview is that it likes to write to i_view32.ini in the same folder, which is a problem if the user does not have permissions. You can create an INI file to redirect this to the user's Application Data folder though:

  • Create a i_view32.ini file:
   [Others]
   INI_Folder=%APPDATA%\Irfanview
  • copy this into the IrfanView directory. You can do this in wpkg using the patch in bug #18 (as of wpkg 0.9.3, this is not merged):
 <install src="\\server\software\irfanview\i_view32.ini" dest="c:\Program Files\Irfanview" overwrite="true" />