Downloads:

3,924

Downloads of v 1.06:

3,149

Last Update:

5/18/2018

Package Maintainer(s):

Software Author(s):

  • Irfan Skiljan

Tags:

irfanview image photo viewer plugin shell extension

IrfanView Shell Extension (Install)

1.06 | Updated: 5/18/2018

Downloads:

3,924

Downloads of v 1.06:

3,149

Maintainer(s):

Software Author(s):

  • Irfan Skiljan

IrfanView Shell Extension (Install) 1.06

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

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

>

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

>

To uninstall IrfanView Shell Extension (Install), 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 https://chocolatey.org/api/v2. 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 https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade irfanview-shellextension -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-shellextension -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure irfanview-shellextension installed
  win_chocolatey:
    name: irfanview-shellextension
    state: present
    version: 1.06
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'irfanview-shellextension' do
  action    :install
  version  '1.06'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: irfanview-shellextension,
    Version: 1.06,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller irfanview-shellextension
{
   Name     = 'irfanview-shellextension'
   Ensure   = 'Present'
   Version  = '1.06'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'irfanview-shellextension':
  provider => 'chocolatey',
  ensure   => '1.06',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install irfanview-shellextension version="1.06" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator gep13 on 5/23/2018.

Description

* IrfanView Shell Extension *
This PlugIn shows a Context menu for some IrfanView (4.38 and later)
operations in Windows Explorer, Total Commander or other file managers.
You can select several (picture) files and perform IrfanView operations:
- Play slideshow with selected files (using current IrfanView slideshow dialog settings)
- Open selected files in IrfanView Thumbnails window
- JPG Lossless Rotation (automatic rotation, based on EXIF orientation, optimize ON, keep all markers ON)
- Convert pictures/images to another format (same folder, copies will be created if the result file already exists)
Thanks to Michael Dunn!


PACKAGE NOTES


tools\ChocolateyInstall.ps1
#http://www.irfanview.net/plugins/irfanview_shell_extension.zip
$ErrorActionPreference = 'Stop'
$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageName    = 'irfanview-shellextension' 
$url            = "$toolsDir\irfanview_shell_extension.zip"
$checksum       = '2112F85A917B2ECA90EAA047A8C3B22E0157F13E83971AEE679D955B2FF1047D'
$bits           = Get-ProcessorBits
$32bitDLL       = 'IrfanViewShellExt.dll'
$64bitDLL       = 'IrfanViewShellExt64.dll'
$Found          = "False"

if (Test-Path $Env:ProgramFiles\IrfanView){
    $Found = "True"
    $ShellDir = "$Env:ProgramFiles\IrfanView\Shell Extension"
	if ($bits -eq 64){
	   $UseDLL = $64bitDLL
	   $DLLDir = '64 bit'
	   } else {
	   $UseDLL = $32bitDLL
	   $DLLDir = '32 bit'
	   }
   } else {
     if (Test-Path "{$Env:ProgramFiles(x86)}\IrfanView"){
	     $Found = "True"
         $ShellDir = "{$Env:ProgramFiles(x86)}\IrfanView\Shell Extension"
		 $UseDLL = $32bitDLL
		 $DLLDir = '32 bit'
        }
}
		  
if ($Found -eq "True"){
    New-Item $ShellDir -type directory -force | out-null
    Write-Host "Irfanview default install path found!" -foreground green -backgroundcolor blue
	} else{
	 Write-Host "Cannot find IrfanView install location. Aborting." -foreground red -backgroundcolor blue
	 throw
	}

$packageArgs = @{
  packageName    = $packageName
  unzipLocation  = $toolsDir
  fileType       = 'ZIP' 
  url            = $url
  checksum       = $checksum
  checksumType   = 'sha256'
  }

Install-ChocolateyZipPackage @packageArgs

Copy-Item "$toolsDir\$DLLDir\$UseDLL" -Destination $ShellDir
& regsvr32.exe /s $ShellDir\$UseDLL
Remove-Item $url | out-null
Remove-Item "$toolsDir\32 bit" -recurse | out-null
Remove-Item "$toolsDir\64 bit" -recurse | out-null
Remove-Item "$toolsDir\Readme_first.txt" | out-null
tools\ChocolateyUninstall.ps1
$packageName    = 'irfanview-shellextension' 
$FoundDLL	    = "False"

if (Test-Path "$Env:ProgramFiles\IrfanView\Shell Extension\IrfanViewShellExt64.dll"){
    $FoundDLL  = "True"
    $RemoveDLL = "$Env:ProgramFiles\IrfanView\Shell Extension\IrfanViewShellExt64.dll"
   } 
if (Test-Path "$Env:ProgramFiles\IrfanView\Shell Extension\IrfanViewShellExt.dll"){
    $FoundDLL  = "True"
    $RemoveDLL = "$Env:ProgramFiles\IrfanView\Shell Extension\IrfanViewShellExt.dll"
   } 	
if (Test-Path "{$Env:ProgramFiles(x86)}\IrfanView\Shell Extension\IrfanViewShellExt.dll"){
    $FoundDLL  = "True"
    $RemoveDLL = "{$Env:ProgramFiles(x86)}\IrfanView\Shell Extension\IrfanViewShellExt.dll"
   } 	
if ($FoundDLL -eq "True"){
	& regsvr32.exe /s /u $RemoveDLL
    Remove-Item $RemoveDLL -Force -ErrorAction 'SilentlyContinue'| out-null	
   } else {
     Write-Host "Irfanview Shell Extension not found! Sorry, I tried the normal places." -foreground red -backgroundcolor blue
	}
tools\irfanview_shell_extension.zip
md5: E0DFAA7B17026F53BC0A4E26CDD9EC3E | sha1: 31B3141BA6D5E59CD2900948BBFE8D20013C61CB | sha256: 2112F85A917B2ECA90EAA047A8C3B22E0157F13E83971AEE679D955B2FF1047D | sha512: 6C77198DE2E5F60D6021557C34404D40A90ACA4792A46763B0589DCDE4A66E5A8C578E10BBACDAEEBE0F88BEFB800094A40BDA53C449CDC56C02796E6C4D6817
tools\LICENSE.txt
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

VERIFICATION

Binaries included in this package were downloaded by the packager, bcurran3, in ZIP format from the author's site at www.irfanview.com/plugins.htm. 

SHA256 signatures were manually created and put in the package .nuspec file.

Checksums can be verified from the author's website at http://www.irfanview.com/plugins.htm


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 Shell Extension (Install) 1.04 775 Monday, October 23, 2017 Approved

Discussion for the IrfanView Shell Extension (Install) Package

Ground Rules:

  • This discussion is only about IrfanView Shell Extension (Install) and the IrfanView Shell Extension (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 Shell Extension (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