From 47377b974bc83aac4175b5e12754e0150938e9d5 Mon Sep 17 00:00:00 2001 From: Chocolatey Date: Mon, 25 Jun 2018 05:10:54 +0000 Subject: [PATCH] AU: 1 updated - innosetup [skip ci] https://gist.github.com/747b3ede98c9404e5cb6a399595e7ad1/6dfd6b93dd337c2ec023a9dfa7a18b2c55996e06 --- automatic/innosetup/Changelog.md | 2 +- automatic/innosetup/innosetup.nuspec | 16 +++++++++++----- automatic/innosetup/legal/VERIFICATION.txt | 4 ++-- automatic/innosetup/tools/chocolateyInstall.ps1 | 4 ++-- .../innosetup/tools/chocolateyUninstall.ps1 | 4 ++-- 5 files changed, 18 insertions(+), 12 deletions(-) diff --git a/automatic/innosetup/Changelog.md b/automatic/innosetup/Changelog.md index 6ae4a2596..82da3c780 100644 --- a/automatic/innosetup/Changelog.md +++ b/automatic/innosetup/Changelog.md @@ -1,6 +1,6 @@ # ![Inno Setup Changelog](https://img.shields.io/badge/Inno%20Setup-Package%20Changelog-blue.svg?style=for-the-badge) -## Upcoming +## Version: 5.6.1 (2018-06-25) - **ENHANCEMENT:** Added changelog for package - **ENHANCEMENT:** Extracted Description to its own file - **ENHANCEMENT:** Added ability to load and save an installer configuration file diff --git a/automatic/innosetup/innosetup.nuspec b/automatic/innosetup/innosetup.nuspec index abfdb49c6..6c67b8e1b 100644 --- a/automatic/innosetup/innosetup.nuspec +++ b/automatic/innosetup/innosetup.nuspec @@ -5,14 +5,14 @@ InnoSetup Inno Setup - 5.5.9.20161208 + 5.6.1 jrsoftware AdmiringWorm,vicneanschi Inno Setup is a free installer for Windows programs. First introduced in 1997, Inno Setup today rivals and even surpasses many commercial installers in feature set and stability. - + + +## Package Parameters +- `/UseInf:` - Change the inno setup configuration file to use/save when installing + +**EXAMPLE** +`choco install innosetup --params "'/UseInf:C:\innosetup.install.inf'"` +]]> http://www.jrsoftware.org/isinfo.php innosetup admin installer setup exe foss 1997-2012 Jordan Russell diff --git a/automatic/innosetup/legal/VERIFICATION.txt b/automatic/innosetup/legal/VERIFICATION.txt index 34fecc70c..48dc51770 100644 --- a/automatic/innosetup/legal/VERIFICATION.txt +++ b/automatic/innosetup/legal/VERIFICATION.txt @@ -12,12 +12,12 @@ this can be navigated to from the main page by following: and the checksum can be verified like this: -1. Download +1. Download 2. Then use one of the following methods to obtain the checksum - Use powershell function 'Get-Filehash' - Use chocolatey utility 'checksum.exe' checksum type: sha256 - checksum: 5B51AE6977BEBBA937AC18E0E80C1899E37DFAA12F51CCD817978EF07AE19CB3 + checksum: 27D49E9BC769E9D1B214C153011978DB90DC01C2ACD1DDCD9ED7B3FE3B96B538 File 'license.txt' is obtained from diff --git a/automatic/innosetup/tools/chocolateyInstall.ps1 b/automatic/innosetup/tools/chocolateyInstall.ps1 index dfb64208a..5a6be2f12 100644 --- a/automatic/innosetup/tools/chocolateyInstall.ps1 +++ b/automatic/innosetup/tools/chocolateyInstall.ps1 @@ -1,7 +1,7 @@ -$ErrorActionPreference = 'Stop'; +$ErrorActionPreference = 'Stop'; $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" -$filePath = "$toolsDir\innosetup-5.5.9-unicode.exe" +$filePath = "$toolsDir\innosetup-5.6.1-unicode.exe" $packageArgs = @{ packageName = 'innosetup' diff --git a/automatic/innosetup/tools/chocolateyUninstall.ps1 b/automatic/innosetup/tools/chocolateyUninstall.ps1 index 1339fc7a7..53e3e68c2 100644 --- a/automatic/innosetup/tools/chocolateyUninstall.ps1 +++ b/automatic/innosetup/tools/chocolateyUninstall.ps1 @@ -11,7 +11,7 @@ $uninstalled = $false [array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName if ($key.Count -eq 1) { - $key | % { + $key | ForEach-Object { $file = "$($_.UninstallString.Trim('"'))" Uninstall-ChocolateyPackage ` @@ -27,7 +27,7 @@ if ($key.Count -eq 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 | % {Write-Warning "- $_.DisplayName"} + $key | ForEach-Object {Write-Warning "- $_.DisplayName"} } $appPathKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\"