Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

IrfanView (Install)

4.51

Package test results are passing.

This package was approved as a trusted package on 7/4/2018.

Screenshot of IrfanView

IrfanView is a very fast, small, compact and innovative FREEWARE (for non-commercial use) graphic viewer for Windows 9x, ME, NT, 2000, XP, 2003 , 2008, Vista, Windows 7, Windows 8, Windows 10.

It is designed to be simple for beginners and powerful for professionals.

IrfanView seeks to create unique, new and interesting features, unlike some other graphic viewers, whose whole "creativity" is based on feature cloning, stealing of ideas and whole dialogs from ACDSee and/or IrfanView! (for example: XnView has been stealing/cloning features and whole dialogs from IrfanView, for 10+ years).

IrfanView was the first Windows graphic viewer WORLDWIDE with Multiple (animated) GIF support.
One of the first graphic viewers WORLDWIDE with Multipage TIF support.
The first graphic viewer WORLDWIDE with Multiple ICO support.

Features
Screenshots

Package Parameters

The following package parameters may be passed directly to the program's installer with the chocolatey option -params:

  • /desktop - create desktop shortcut for IrfanView
  • /thumbs - create desktop shortcut for IrfanView Thumbnails
  • /group - create IrfanView group in Start Menu
  • /currentuser - desktop/group links will only install for current user
  • /assocallusers- set associations for all users (Windows XP only)
  • /assoc=VALUE - set file associations; 0 = none (default), 1 = images only, 2 = select all
  • /ini=PATH - set custom INI file folder (system environment variables are allowed)
  • /folder=PATH - destination folder; if not indicated: old IrfanView folder is used, if not found, the "Program Files" folder is used

Package Specifics

If no parameters are passed, the following is assumed: --params '/assoc=1 /group=1 /ini=%APPDATA%\IrfanView'.

PACKAGE NOTES

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

C:\> choco install irfanview

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

C:\> choco upgrade irfanview

Files

Hide
  • tools\.skipAutoUninstaller
  • tools\chocolateyInstall.ps1 Show
    $packageName    = 'irfanview'
    $installerType  = 'exe'
    $toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url            = "$toolsDir\iview451_setup.exe"
    $checksum       = '0A5400988954EC933EDAC01B8822F9937BB0B6BF2B1337B69CB3347BCA375DB2'
    $checksumType   = 'sha256'
    $url64          = "$toolsDir\iview451_x64_setup.exe"
    $checksum64     = 'C4CAC895DBC4A3C31565C3947D48949A7EB611696C1D4FDE0161710C35460E6C'
    $checksumType64 = 'sha256'
    $validExitCodes = @(0)
    $arguments      = @{}
    $packageParameters = $env:chocolateyPackageParameters
    
    Write-Debug "Default values for package parameters: 0=off, 1=on"
    $desktop = 0
    $thumbs = 0
    $group = 1
    $allusers = 1
    $assoc = 1
    $ini = "%APPDATA%\IrfanView"
    $folder = $null
    
    if ($packageParameters) {
        $match_pattern = "\/(?<option>([a-zA-Z]+))=(?<value>([`"'])?([a-zA-Z0-9- _\\:%\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
        $option_name = 'option'
        $value_name = 'value'
    
        if ($packageParameters -match $match_pattern ){
            $results = $packageParameters | Select-String $match_pattern -AllMatches
            $results.matches | ForEach-Object {
              $arguments.Add(
                  $_.Groups[$option_name].Value.Trim(),
                  $_.Groups[$value_name].Value.Trim())
          }
        } else {
            Throw "Package Parameters were found but were invalid (REGEX failure)"
        }
    
        if ($arguments.ContainsKey("desktop")) {
            Write-Verbose "Adding desktop shortcut to IrfanView"
            $desktop = 1
        }
    
        if ($arguments.ContainsKey("thumbs")) {
            Write-Verbose "Adding desktop shortcut to IrfanView Thumbnails"
            $thumbs = 1
        }
    
        if ($arguments.ContainsKey("group")) {
            Write-Verbose "Adding IrfanView group to start menu"
            $group = 1
        }
        
        if ($arguments.ContainsKey("allusers")) {
            Write-Verbose "Installing IrfanView for only current user"
            $allusers = 0
        }
        
        if ($arguments.ContainsKey("assoc")) {
            Write-Verbose "Associating IrfanView to file types"
            $assoc = $arguments["assoc"]
        }
    
        if ($arguments.ContainsKey("ini")) {
            Write-Verbose "You want to use a custom configuration Path"
            $ini = $arguments["ini"]
        }
        
        if ($arguments.ContainsKey("folder")) {
            Write-Verbose "You want to use a custom configuration Path"
            $folder = $arguments["folder"]
        }
    
    } else {
        Write-Debug "No package parameters passed in"
    }
    
    $silentArgs = "/silent" + 
                  " /desktop=" + $desktop + 
                  " /thumbs=" + $thumbs + 
                  " /group=" + $group + 
                  " /allusers=" + $allusers +
                  " /assoc=" + $assoc
    if ($ini) { $silentArgs += " /ini=" + $ini }
    if ($folder) { $silentArgs += " /folder=" + $folder }
    Write-Debug "Silent arguments Chocolatey will use are: $silentArgs"
    
    $packageArgs = @{
      packageName   = $packageName
      fileType      = $installerType
      url           = $url
      url64bit      = $url64
      validExitCodes= $validExitCodes
      silentArgs    = $silentArgs
      softwareName  = 'IrfanView*'
      checksum      = $checksum
      checksumType  = $checksumType
      Checksum64    = $checksum64
      ChecksumType64= $checksumType64
    }
    
    Install-ChocolateyPackage @packageArgs 	
    
    Remove-Item $url | out-null
    Remove-Item $url64 | out-null
  • tools\chocolateyUninstall.ps1 Show
    $packageName    = 'irfanview'
    
    if (Test-Path -Path $ENV:ProgramFiles\IrfanView\iv_uninstall.exe)
       {
        &$ENV:ProgramFiles\IrfanView\iv_uninstall.exe /silent
       } else {
        &${ENV:ProgramFiles(x86)}\IrfanView\iv_uninstall.exe /silent
       }
    
    
  • tools\iview451_setup.exe Show
    md5: C2F47EBD75F3F4898713C7F4808BFA08 | sha1: EC492CAD75A154A9AC9D6E356AC7C2B0DC62356F | sha256: 0A5400988954EC933EDAC01B8822F9937BB0B6BF2B1337B69CB3347BCA375DB2 | sha512: 1E57A0A1B92084ECA098ABE0D8C8C9C4A5C17F32A67259F1DE1F4ABA9422E6C438821DD42112E6104BCB45A5EC84C4C8D1121505BCE7A6591BD108AE8F7CE002
  • tools\iview451_x64_setup.exe Show
    md5: FE93E9B8777614B3AD1D605FE7854E5E | sha1: 81373E906C7A07251C8855CDA29FDA6D12862EFB | sha256: C4CAC895DBC4A3C31565C3947D48949A7EB611696C1D4FDE0161710C35460E6C | sha512: 13D7DAB258C035218DA9C2D8AC4DAC666D93ABC75DF80FB1A9A794B10242F8C87E08E7C47C9A9CA504C942E1A0A6E77F0901EACA4867B6D97E3309D18D4C8E60
  • tools\LICENSE.txt Show
    IrfanView's webpage at http://www.irfanview.com/ defines the license as "This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License."
    
    From: http://creativecommons.org/licenses/by-sa/4.0/
    
    LICENSE
    
    You are free to:
    
    Share — copy and redistribute the material in any medium or format
    Adapt — remix, transform, and build upon the material
    for any purpose, even commercially.
    The licensor cannot revoke these freedoms as long as you follow the license terms.
    
  • tools\VERIFICATION.txt Show
    VERIFICATION
    
    Binaries included in this package were downloaded by the packager, bcurran3. SHA256 signatures were manually created and put in the package .nuspec file.
    
    Additionally checksums can be verified (assumably by the author) at https://www.fosshub.com/IrfanView.html
    
    

Virus Scan Results

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.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Irfan Skiljan

Copyright

© Irfan Skiljan

Tags

Release Notes

http://www.irfanview.com/main_history.htm

Version History

Version Downloads Last updated Status
IrfanView (Install) 4.50 33404 Thursday, October 19, 2017 approved
IrfanView (Install) 4.44 68508 Wednesday, January 4, 2017 approved
IrfanView (Install) 4.42.0.20161201 10510 Thursday, December 1, 2016 approved
IrfanView (Install) 4.42.0.20161101 8645 Tuesday, November 1, 2016 approved
IrfanView 4.42.0.20160616 21346 Friday, June 17, 2016 approved
IrfanView 4.42 3746 Friday, March 18, 2016 approved
IrfanView 4.41.0.20151207 4662 Monday, December 7, 2015 approved
IrfanView 4.41 1722 Wednesday, December 2, 2015 approved
Show More

Discussion for the IrfanView (Install) Package

Ground rules:

  • This discussion is only about IrfanView (Install) and the IrfanView (Install) 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 (Install), 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
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok