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

Resource Hacker

5.0.42

Package test results are passing.

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

Resource Hacker is a freeware utility to view, modify, rename, add, delete and extract resources in 32bit and 64bit Windows executables and resource files (*.res). It incorporates an internal resource script compiler and decompiler and works on all (Win95 - Win7) Windows operating systems.

Features

  • Complete resource editing tool: compiling, viewing, decompiling and recompiling resources for both 32bit and 64bit Windows executables
  • Viewing Resources as either an image (or group of images) or as decompiled text
  • Internal editor to modify text-based resources
  • Replacing Images
  • All the functionality of Resource Hackerâ„¢ can be accessed from the command line

screenshot

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

C:\> choco install reshack

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

C:\> choco upgrade reshack

Files

Hide
  • legal\License.txt Show
    Licence to Use - Terms and Condition
    
    This Resource HackerTM software is released as freeware provided that you agree to the following terms and conditions:
    
        This software is not to be distributed via any website domain or any other media without the prior written approval of the copyright owner.
        This software is not to be used in any way to illegally modify software. 
    
    DISCLAIMER: A user of this Resource HackerTM software acknowledges that he or she is receiving this software on an "as is" basis and the user is not relying on the accuracy or functionality of the software for any purpose. The user further acknowledges that any use of this software will be at the user's own risk and the copyright owner accepts no responsibility whatsoever arising from the use or application of the software.
    The above licence terms constitute "copyright management information" within the meaning of Section 1202 of Title 17 of the United States Code and must not be altered or removed from the licensed works. Their alteration or removal from the licensed works, and the distribution of licensed works without all the above licence terms in an unaltered way, may contravene Section 1202 and give rise civil and/or criminal consequences.
  • legal\Redistribution.pdf
  • legal\VERIFICATION.txt Show
    VERIFICATION
    
    Verification is intended to assist the Chocolatey moderators and community
    in verifying that this package's contents are trustworthy.
    
    Package can be verified like this:
    
    1. Go to
    
       x32: http://www.angusj.com/resourcehacker/reshacker_setup.exe
    
       to download the installer.
    
    2. You can use one of the following methods to obtain the SHA256 checksum:
       - Use powershell function 'Get-FileHash'
       - Use Chocolatey utility 'checksum.exe'
    
       checksum32: A4C6D3E44D0651F097D09FA14E483997F605AB44F9F2DA0B9600FBBCCC4767E4
    
    File 'License.txt' is created by copying paragraph of text from:
       http://www.angusj.com/resourcehacker
    
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $toolsPath = Split-Path $MyInvocation.MyCommand.Definition
    
    $packageArgs = @{
      packageName    = 'reshack'
      fileType       = 'exe'
      file           = Get-Item $toolsPath\*.exe
      silentArgs     = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART'
      validExitCodes = @(0)
      softwareName   = 'Resource Hacker *'
    }
    Install-ChocolateyInstallPackage @packageArgs
    Get-ChildItem $toolsPath\*.exe | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" "" }}
    
    $packageName = $packageArgs.packageName
    $installLocation = Get-AppInstallLocation $packageArgs.softwareName
    if (!$installLocation)  { Write-Warning "Can't find $packageName install location"; return }
    Write-Host "$packageName installed to '$installLocation'"
    
    Register-Application "$installLocation\ResourceHacker.exe" $packageName
    Write-Host "$packageName registered as $packageName"
    
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $packageName         = 'reshack'
    $softwareNamePattern = 'Resource Hacker *'
    
    [array] $key = Get-UninstallRegistryKey $softwareNamePattern
    if ($key.Count -eq 1) {
        $key | ForEach-Object {
            $packageArgs = @{
                packageName            = $packageName
                silentArgs             = "/Silent"
                fileType               = 'EXE'
                validExitCodes         = @(0)
                file                   = $_.UninstallString.Replace('"', '')
            }
            Uninstall-ChocolateyPackage @packageArgs
        }
    }
    elseif ($key.Count -eq 0) {
        Write-Warning "$packageName has already been uninstalled by other means."
    }
    elseif ($key.Count -gt 1) {
        Write-Warning "$($key.Count) matches found!"
        Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
        Write-Warning "Please alert package maintainer the following keys were matched:"
        $key | ForEach-Object {Write-Warning "- $($_.DisplayName)"}
    }
    
    
  • tools\reshacker_setup.exe Show
    md5: C7F91E38EE75196D9D3B4C3A5967C304 | sha1: A0A4A882E423575FCBCE50D2048AE610C8E4A1F2 | sha256: A4C6D3E44D0651F097D09FA14E483997F605AB44F9F2DA0B9600FBBCCC4767E4 | sha512: 331E9B83F32A678B8DBC24BF5CE1F9F40D356DAE226E8D1426BCE49DC91559FB5F21CE6956E55C02B754DBA0C23D1C694646E36341CA92DE545E1F913D34DADE

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

Package Maintainer(s)

Software Author(s)

  • Angus Johnson

Tags

Version History

Version Downloads Last updated Status
Resource Hacker 4.7.34.20180505 230 Saturday, May 5, 2018 approved
Resource Hacker 4.7.34 401 Friday, April 13, 2018 approved
Resource Hacker 4.6.32 150 Wednesday, March 28, 2018 approved
Resource Hacker 4.5.30.20170526 789 Friday, May 26, 2017 approved
Resource Hacker 4.5.30 1429 Sunday, November 27, 2016 approved
Resource Hacker 4.5.28 173 Friday, November 25, 2016 approved
Resource Hacker 4.4.26 295 Thursday, November 3, 2016 approved
Resource Hacker 4.2.5 528 Monday, October 19, 2015 approved
Show More

Discussion for the Resource Hacker Package

Ground rules:

  • This discussion is only about Resource Hacker and the Resource Hacker 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 Resource Hacker, 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