Downloads of v 4.41:


Last Update:

02 Dec 2015

Package Maintainer(s):

Software Author(s):

  • Irfan Skiljan


image viewer editor converter thumbnail


This is not the latest version of IrfanView available.

  • 1
  • 2
  • 3

4.41 | Updated: 02 Dec 2015



Downloads of v 4.41:


Software Author(s):

  • Irfan Skiljan

  • 1
  • 2
  • 3
IrfanView 4.41

This is not the latest version of IrfanView available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Unknown

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files


To install IrfanView, run the following command from the command line or from PowerShell:


To upgrade IrfanView, run the following command from the command line or from PowerShell:


To uninstall IrfanView, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade irfanview -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade irfanview -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure irfanview installed
    name: irfanview
    state: present
    version: 4.41
    source: STEP 3 URL

See docs at

chocolatey_package 'irfanview' do
  action    :install
  version  '4.41'
  source   'STEP 3 URL'

See docs at

    Name: irfanview,
    Version: 4.41,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller irfanview
   Name     = 'irfanview'
   Ensure   = 'Present'
   Version  = '4.41'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'irfanview':
  provider => 'chocolatey',
  ensure   => '4.41',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install irfanview version="4.41" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator gep13 on 04 Dec 2015.


IrfanView is a very fast, small, compact and innovative FREEWARE (for non-commercial use) graphic viewer.


$packageName = 'irfanview'
$installerType = 'exe'
# desktop:  create desktop shortcut; 0 = no, 1 = yes (default: 0)
# thumbs:   create desktop shortcut for thumbnails; 0 = no, 1 = yes (default: 0)
# group:    create group in Start Menu; 0 = no, 1 = yes (default: 0)
# allusers: desktop/group links are for all users; 0 = current user, 1 = all users
# assoc:    if used, set file associations; 0 = none, 1 = images only, 2 = select all (default: 0)
# assocallusers:  if used, set associations for all users (Windows XP only)
# ini:      if used, set custom INI file folder (system environment variables are allowed)
$silentArgs = "/silent /desktop=0 /thumbs=0 /group=1 /allusers=0 /assoc=0"
Write-Host $silentArgs
$urlArray = @('','')
$url = $urlArray[0]
$checksum = '9a51e8930455e49563fb24d6e576953ec484c52a'
$checksumType = 'sha1'
$url64 = $urlArray[1]
$checksum64 = '6584ce9677cb8fd272a6a7fcea48b94c16a009fa'
$checksumType64 = 'sha1'
$validExitCodes = @(0)
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

# Combatibility - This function has not been merged
if (!(Get-Command Get-UrlFromFosshub -ErrorAction SilentlyContinue)) {
  Import-Module "$($toolsDir)\Get-UrlFromFosshub.ps1"
$url = Get-UrlFromFosshub $url
$url64 = Get-UrlFromFosshub $url64

Install-ChocolateyPackage -PackageName "$packageName" `
                          -FileType "$installerType" `
                          -SilentArgs "$silentArgs" `
                          -Url "$url" `
                          -Url64bit "$url64" `
                          -ValidExitCodes $validExitCodes `
                          -Checksum "$checksum" `
                          -ChecksumType "$checksumType" `
                          -Checksum64 "$checksum64" `
                          -ChecksumType64 "$checksumType64"
; default environment
DetectHiddenWindows, off
SetControlDelay, 20

; modified environment
DetectHiddenText, off
SetTitleMatchMode, 2

; variables
winTitle = IrfanView Uninstall ahk_class #32770

WinWait, %winTitle%, Thank you for using, 180
ControlClick, Button1, , &Yes

WinWait, %winTitle%, IrfanView uninstalled, 180
ControlClick, Button1, , OK

$packageName = 'irfanview'
$packageSearch = "$packageName *"
$installerType = 'exe'
$validExitCodes = @(0)

$scriptPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$ahkFile = Join-Path $scriptPath "chocolateyUninstall.ahk"
$ahkExe = 'AutoHotKey'
$ahkRun = "$Env:Temp\$(Get-Random).ahk"
Copy-Item $ahkFile "$ahkRun" -Force

Start-Process $ahkExe $ahkRun
Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                         'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
                 -ErrorAction:SilentlyContinue `
| Where-Object   {$_.DisplayName -like $packageSearch} `
| ForEach-Object {Uninstall-ChocolateyPackage -PackageName "$packageName" `
                                              -FileType "$installerType" `
                                              -SilentArgs "$($silentArgs)" `
                                              -File "$($_.UninstallString)" `
                                              -ValidExitCodes $validExitCodes}
Remove-Item "$ahkRun" -Force
# Get the resolved URL form a FossHub download link.
# Takes a FossHub URL in the “genLink” format and returns the generated 
# expiring download link for the file.
# Usage: Get-UrlFromFosshub genLink_url
# Example:
# Get-UrlFromFosshub
Function Get-UrlFromFosshub($genLinkUrl) {

  $fosshubAppName = $genLinkUrl -match 'genLink/(.+?)/'
  # If there’s no match, it means that it’s not a FossHub genLink URL.
  # Then this function simply returns the input URL.
  if (!$Matches) {
    return $genLinkUrl
  # Get the actual FossHub appname from the matches array  
  $fosshubAppName = $Matches[1]
  $referer = "${fosshubAppName}.html"
  $webClient = New-Object System.Net.WebClient
  $webClient.Headers.Add("Referer", $referer)
  $generatedLink = $webClient.DownloadString($genLinkUrl)
  return $generatedLink

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
IrfanView (Install) 4.56 113614 Wednesday, October 28, 2020 Approved
IrfanView (Install) 4.54 172874 Saturday, December 21, 2019 Approved
IrfanView (Install) 4.53 102968 Friday, May 31, 2019 Approved
IrfanView (Install) 4.52 43387 Saturday, December 15, 2018 Approved
IrfanView (Install) 4.51 41031 Monday, March 12, 2018 Approved
IrfanView (Install) 4.50 33670 Thursday, October 19, 2017 Approved
IrfanView (Install) 4.44 70484 Wednesday, January 4, 2017 Approved
IrfanView (Install) 10729 Thursday, December 1, 2016 Approved



  • Automatically built and uploaded by dtgm
Discussion for the IrfanView Package

Ground Rules:

  • This discussion is only about IrfanView and the IrfanView package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or IrfanView, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus