-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
50 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
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.alldup.info/download/AllDupSetup.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: 752D8E76F6E50731A9863DF35C5AC8B5C11CF371092807A9028E7B42E1B9A8BF | ||
|
||
File 'Redistribution.pdf' is from personal email communication |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
$ErrorActionPreference = 'Stop' | ||
$ErrorActionPreference = 'Stop' | ||
|
||
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition | ||
|
||
$packageArgs = @{ | ||
packageName = $env:ChocolateyPackageName | ||
fileType = 'exe' | ||
url = 'http://www.alldup.info/download/AllDupSetup.exe' | ||
softwareName = 'AllDup*' | ||
checksum = '752d8e76f6e50731a9863df35c5ac8b5c11cf371092807a9028e7b42e1b9a8bf' | ||
checksumType = 'sha256' | ||
silentArgs = "/VERYSILENT /NORESTART /SUPPRESSMSGBOXES /SP- /LOG=`"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).InnoInstall.log`"" | ||
packageName = $Env:ChocolateyPackageName | ||
fileType = $fileType | ||
file = gi $toolsPath\*.exe | ||
silentArgs = '/VERYSILENT /NORESTART /SUPPRESSMSGBOXES /SP- /LOG="{0}/InnoInstall.log"' -f (Get-PackageCacheLocation) | ||
validExitCodes = @(0) | ||
softwareName = 'AllDup*' | ||
} | ||
Install-ChocolateyInstallPackage @packageArgs | ||
ls $toolsPath\*.exe | % { rm $_ -ea 0; if (Test-Path $_) { sc "$_.ignore" "" }} | ||
|
||
$packageName = $packageArgs.packageName | ||
$installLocation = Get-AppInstallLocation "$packageName*" | ||
if (!$installLocation) { Write-Warning "Can't find $packageName install location"; return } | ||
Write-Host "$packageName installed to '$installLocation'" | ||
|
||
Install-ChocolateyPackage @packageArgs | ||
Register-Application "$installLocation\$packageName.exe" | ||
Write-Host "$packageName registered as $packageName" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters