Downloads:

11

Downloads of v 1.2.1:

11

Last Update:

23 Oct 2020

Published Date:

23 Oct 2020

Reviewed Date:

16 Nov 2020

Reviewer:

gravatar

Package Maintainer(s):

Software Author(s):

  • Dec Software

Tags:

smart7z 7zip 7-zip smart plugin

smart7z (Install)

(Waiting for Maintainer to take corrective action)

1.2.1 | Updated: 23 Oct 2020

Downloads:

11

Downloads of v 1.2.1:

11

Published:

23 Oct 2020

Reviewed:

16 Nov 2020

Reviewer:

gravatar

Maintainer(s):

Software Author(s):

  • Dec Software

smart7z (Install) 1.2.1

(Waiting for Maintainer to take corrective action)

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

This version is in moderation and has not yet been approved. This means it doesn't show up under normal search.

  • Until approved, you should consider this package version unsafe - it could do very bad things to your system (it probably doesn't but you have been warned, that's why we have moderation).
  • This package version can change wildly over the course of moderation until it is approved. If you install it and it later has changes to this version, you will be out of sync with any changes that have been made to the package. Until approved, you should consider that this package version doesn't even exist.
  • You cannot install this package under normal scenarios. See How to install package version under moderation for more information.
  • There are also no guarantees that it will be approved.

There are versions of this package awaiting moderation (possibly just this one). See the Version History section below.

zverev-iv (maintainer) on 23 Oct 2020 18:20:22 +00:00:

User 'zverev-iv' (maintainer) submitted package.

chocolatey-ops (reviewer) on 23 Oct 2020 18:56:30 +00:00:

smart7z has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • The iconUrl should be added if there is one. Please correct this in the nuspec, if applicable. More...
Suggestions

Suggestions are either newly introduced items that will later become Guidelines or items that are don't carry enough weight to become a Guideline. Either way they should be considered. A package version can be approved without addressing Suggestion comments.

  • The nuspec has been enhanced to allow more information related to the software. More... Please consider adding one or more of the following to the nuspec, if available:
    • docsUrl - points to the location of the wiki or docs of the software
    • mailingListUrl - points to the forum or email list group for the software
    • bugTrackerUrl - points to the location where issues and tickets can be accessed
    • projectSourceUrl - points to the location of the underlying software source

chocolatey-ops (reviewer) on 23 Oct 2020 21:40:25 +00:00:

smart7z has passed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/93ce01058f32cbcc2613a0ddd6a08295 for details.
This is an FYI only. There is no action you need to take.

mwallner (reviewer) on 16 Nov 2020 20:43:36 +00:00:

Hi,
you're using ConvertFrom-Json in your chocolateyinstall.ps1 - this function unfortunately is not available in PowerShell v2 - which should be the baseline for all packages on the community repository.
could you please move the content from packageArgs.json and define a $packageArgs = @{} or similar?
thanks!

Description

Smart7z is a plugin for the popular archiver 7-Zip. Smart7z provides flexible settings when packing files into a .7z archive. For example, you can use different compression methods for different files: LZMA for .jpg files, WavPack2 for .wav files, PPMD for text files, and LZMA2 for any other files. This way, you can significantly improve the overall compression ratio.


tools\chocolateybeforemodify.ps1
$ErrorActionPreference = 'Stop';

$installed = Get-Content -Path $env:ChocolateyPackageFolder\tools\installed.json -Raw | ConvertFrom-Json

$spliter = "path to executable:"
$7zLocation = "$(Split-Path -parent ((7z --shimgen-noop | Select-String $spliter) -split $spliter | ForEach-Object Trim)[1])"
$installLocation = "$(Join-Path $7zLocation "Formats")"

Write-Host "Remove libraries" -ForegroundColor Blue
ForEach($file in $installed) {
  Remove-Item "$(Join-Path $installLocation $file)" -Force
}
Write-Host "Remove completed" -ForegroundColor Blue
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$meta = Get-Content -Path $env:ChocolateyPackageFolder\tools\packageArgs.json -Raw
$packageArgs = @{}
(ConvertFrom-Json $meta).psobject.properties | ForEach-Object { $packageArgs[$_.Name] = $_.Value }

$filename = if ((Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne $true) {
       Split-Path $packageArgs["url64bit"] -Leaf }
else { Split-Path $packageArgs["url"] -Leaf }

$packageArgs["packageName"] = "$($env:ChocolateyPackageName)"
$packageArgs["fileFullPath"] = "$(Join-Path (Split-Path -parent $MyInvocation.MyCommand.Definition) $filename)"

$archiveLocation = Get-ChocolateyWebFile @packageArgs
$extractLocation = "$(Join-Path (Split-Path -parent $archiveLocation) "Formats")"

$spliter = "path to executable:"
$7zLocation = "$(Split-Path -parent ((7z --shimgen-noop | Select-String $spliter) -split $spliter | ForEach-Object Trim)[1])"
$installLocation = "$(Join-Path $7zLocation "Formats")"

Write-Host "Install libraries" -ForegroundColor Blue

New-Item -ItemType directory -Path $installLocation -Force | Out-Null
Get-ChocolateyUnzip -FileFullPath $archiveLocation -Destination $extractLocation | Out-Null
if ((Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne $true) {
       $extractLocationArch = Join-Path $extractLocation '*.64.*'
} else {
       $extractLocationArch = Join-Path $extractLocation '*.32.*'
}

Get-ChildItem -Recurse $extractLocationArch -Name -File | ConvertTo-Json | Out-File $env:ChocolateyPackageFolder\tools\installed.json
Copy-Item "$($extractLocationArch)" "$($installLocation)" -Recurse -Force
Copy-Item "$(Join-Path $extractLocation '*.ini')" "$($installLocation)" -Recurse -Force
Copy-Item "$(Join-Path $extractLocation '*.fav')" "$($installLocation)" -Recurse -Force

Write-Host "Install completed" -ForegroundColor Blue

#block shimgen
$exes = Get-ChildItem -Recurse $extractLocation -Include "*.exe" -Name
ForEach($exe in $exes) {
       New-Item "$(Join-Path $extractLocation ($exe + ".ignore"))" -ItemType File -Force | Out-Null
}
tools\packageArgs.json
{
               "url": "https://www.tc4shell.com/binary/Smart7z.zip",
          "checksum": "cb131e88d13c865f8b6f0c1ddcf5980666fbfae6d5aa421f675bfe5db601287e",
      "checksumType": "sha256",
          "url64bit": "https://www.tc4shell.com/binary/Smart7z.zip",
        "checksum64": "cb131e88d13c865f8b6f0c1ddcf5980666fbfae6d5aa421f675bfe5db601287e",
    "checksumType64": "sha256"
}

Log in or click on link to see number of positives.

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
smart7z (Install) 1.2.1 11 Friday, October 23, 2020 Waiting for Maintainer gravatar

Current version

Plugin version: 1.2.1
Distribution package release date: 12 Apr 2020

Discussion for the smart7z (Install) Package

Ground Rules:

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