Downloads:
2,138
Downloads of v 1.03:
200
Last Update:
25 Jun 2019
Package Maintainer(s):
Software Author(s):
- DMGAudio
Tags:
multiplicity dmgaudio vst aax audio mixing admin trial- Software Specific:
- Software Site
- Software Docs
- Package Specific:
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Multiplicity (Install)
This is not the latest version of Multiplicity (Install) available.
- 1
- 2
- 3
1.03 | Updated: 25 Jun 2019
- Software Specific:
- Software Site
- Software Docs
- Package Specific:
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
2,138
Downloads of v 1.03:
200
Maintainer(s):
Software Author(s):
- DMGAudio
Multiplicity (Install) 1.03
This is not the latest version of Multiplicity (Install) available.
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by DMGAudio. The inclusion of DMGAudio trademark(s), if any, upon this webpage is solely to identify DMGAudio goods or services and not for commercial purposes.
- 1
- 2
- 3
All Checks are Passing
3 Passing Tests
Deployment Method: Individual Install, Upgrade, & Uninstall
To install Multiplicity (Install), run the following command from the command line or from PowerShell:
To upgrade Multiplicity (Install), run the following command from the command line or from PowerShell:
To uninstall Multiplicity (Install), run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
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://community.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
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download multiplicity --internalize --version=1.03 --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade multiplicity -y --source="'INTERNAL REPO URL'" --version="'1.03'" [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 multiplicity -y --source="'INTERNAL REPO URL'" --version="'1.03'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install multiplicity
win_chocolatey:
name: multiplicity
version: '1.03'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'multiplicity' do
action :install
source 'INTERNAL REPO URL'
version '1.03'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller multiplicity
{
Name = "multiplicity"
Version = "1.03"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'multiplicity':
ensure => '1.03',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved as a trusted package on 08 Nov 2019.
A step forward for precision mastering.
Multiband compression, expansion, gating, dynamic EQ, the lot.
Whether repairing or enhancing a signal, Multiplicity gives you a degree of control that isn't possible with anything else.
Package Specific
Package Parameters
The following package parameters can be set:
/Vst2Path:
- Installation path of the VST2 version/Vst2x86Path:
- Installation path of the x86 VST2 version on x64 CPU architecture/Vst3Path:
- Installation path of the VST3 version/Vst3x86Path:
- Installation path of the x86 VST3 version on x64 CPU architecture/CompanyPath:
- Path of the company to put all program files in. Override if you want to have all the program files at a custom location./InstallerPath:
- Do not download the installer from the official website and use the one passed with this argument instead. Use it, if you don't have an internet connection at your computer.
You must pass the package parameters like this:
choco install multiplicity --package-parameters "'/Vst2x86Path:${env:CommonProgramFiles(x86)}\VST2\DMGAudio '"
# Installer Functions
# Comments to this script have been added upon request by the chocolatey community reviewer
function CreateShortcut ($shortcutObject) {
if($shortcutObject.execute -eq $true) {
$tempShortcutPathAndName = "" + $shortcutObject.linkPath + "\" + $shortcutObject.linkName
If (-not(Test-Path -Path $shortcutObject.destPath)) {
Write-Debug "Target path does not exist. Creating it first."
New-Item -ItemType Directory -Force -Path $shortcutObject.destPath
}
Write-Debug "This is the Shortcut Full Path:"; Write-Debug $tempShortcutPathAndName
Install-ChocolateyShortcut -ShortcutFilePath $tempShortcutPathAndName -TargetPath $shortcutObject.destPath
}
}
function CreateSymlink ($symlinkObject) {
if($symlinkObject.execute -eq $true) {
$tempSymlinkPathAndName = $symlinkObject.linkPath + "\" + $symlinkObject.linkName
If ($tempSymlinkPathAndName -eq $symlinkObject.destPath) {
Write-Error ("Target and Destination Paths of an overwritten parameter and an internal parameter are the same.")
return
}
if (Test-Path -Path $symlinkObject.destPath) {
Write-Debug ("Destination Path " + $symlinkObject.destPath + " already exists.")
} else {
Write-Debug ("Creating " + $symlinkObject.destPath)
New-Item $symlinkObject.destPath -ItemType Directory -Force
}
if (Test-Path -Path $tempSymlinkPathAndName) {
if((Get-Item $tempSymlinkPathAndName).Attributes.ToString() -Match "ReparsePoint") {
Write-Debug ("Link Path " + $tempSymlinkPathAndName + " already exists as SymbolicLink. Will overwrite SymbolicLink.")
} else {
Write-Debug ("Link Path " + $tempSymlinkPathAndName + " already exists. Will move to destination path and link afterwards.")
If (Test-Path $tempSymlinkPathAndName -pathType leaf) {
Write-Debug ("Link Path " + $tempSymlinkPathAndName + " is a file.")
Move-Item -Path $tempSymlinkPathAndName -Destination $symlinkObject.destPath -Force
} ElseIf (Test-Path $tempSymlinkPathAndName -pathType container) {
Write-Debug ("Link Path " + $tempSymlinkPathAndName + " is a folder.")
Move-Item -Path "$tempSymlinkPathAndName\*" -Destination $symlinkObject.destPath -Force
Remove-Item -Path "$tempSymlinkPathAndName"
} Else {
Write-Error ("Link Path " + $tempSymlinkPathAndName + " is neither file nor folder.")
return
}
}
}
Write-Debug ("Linking " + $tempSymlinkPathAndName + " to " + $symlinkObject.destPath)
New-Item -Type SymbolicLink -Path "$tempSymlinkPathAndName" -Value $symlinkObject.destPath -Force
}
}
function CreateRegKey ($regKeyObject) {
If ([string]::IsNullOrWhiteSpace($regKeyObject.path)) {
Write-Warning ("Given Registry Object Path is NULL.")
return
}
if($regKeyObject.execute -eq $true) {
if($regKeyObject.key -eq '') {
New-Item -Path ${regKeyObject}.path -Value ${regKeyObject}.value -Force
} else {
if (Test-Path ${regKeyObject}.path) { } else { New-Item ${regKeyObject}.path -force }
New-ItemProperty -Type String -Path ${regKeyObject}.path -Name ${regKeyObject}.key -Value ${regKeyObject}.value -force
}
}
}
function CreateRegKeyFromFile ($regKeyFileObject) {
if($regKeyFileObject.execute -eq $true) {
Write-Debug ("Creating registry entry from file " + $env:ChocolateyPackageFolder + "\" + $regKeyFileObject.path)
regedit.exe /S ($env:ChocolateyPackageFolder + "\" + $regKeyFileObject.path)
}
}
<#
.SYNOPSIS
Create the component list that will be parsed to the installer.
.DESCRIPTION
Create the component list that will be parsed to the installer. A component is a tickable box in an installer.
The resulting component list depends on the 'execute' bool that should be set before handing the installer
component into this function.
.PARAMETER instParamObject
An installer parameter object/action defined in the chocolateyvariables.ps1.
.NOTES
Comment added because reviewer asked to do so.
#>
function CreateInstallerParameters ($instParamObject) {
if($instParamObject.execute -eq $true) {
Write-Debug "Checking Installer Components for: "; Write-Debug $instParamObject.value
$global:installerComponents += $instParamObject.value
$global:installerComponents += ","
Write-Debug ("These are the current installerComponents: " + $installerComponents + ".")
}
}
function CopyPackageRessources ($PackageResourcePathObject) {
if($PackageResourcePathObject.execute -eq $true) {
Write-Debug ("Preparing Package Ressource Path for: " + $PackageResourcePathObject.value + ".")
$tempPath = ($env:ChocolateyPackageFolder + "\" + ($PackageResourcePathObject.value).ToString())
if((Test-Path $tempPath) -eq $false) {
Write-Debug ("The resource object " + $PackageResourcePathObject.value + " does not exist.")
return
}
# We create the target directory first as Copy-Item behaves differently when the target path doesn't exist as directory
New-Item $PackageResourcePathObject.installPath -ItemType Directory -Force
if($tempPath -Match "zip") {
Get-ChocolateyUnzip -FileFullPath "$tempPath" -Destination $PackageResourcePathObject.installPath
} else {
Move-Item -Path $tempPath -Destination $PackageResourcePathObject.installPath -Force -Recurse
Write-Debug ("Copying all files from Package\" + $PackageResourcePathObject.value + " to " + $PackageResourcePathObject.installPath + ".")
}
}
}
function CreateTxtFiles ($txtFileObject) {
if($txtFileObject.execute -eq $true) {
Write-Debug ("Creating txt file in " + $txtFileObject.key + " with the content: " + $txtFileObject.value)
Remove-Item $txtFileObject.key -ErrorAction SilentlyContinue
New-Item $txtFileObject.key -ItemType file -Force
[System.IO.File]::WriteAllLines($txtFileObject.key, $txtFileObject.value, (New-Object ("System.Text." + $txtFileObject.encoding + "Encoding") $txtFileObject.bom))
}
}
<#
.SYNOPSIS
Check for settings of previously run installer
#>
function CheckPreviousInstallerSettings() {
$registryKey = "HKLM:\\SOFTWARE\chocolatey\$env:ChocolateyPackageName"
$registryNames = @("CompanyPath", "Vst64Path", "Vst32Path", "UserFolderPath", "InstallerComponents")
If (!(Test-Path -Path $registryKey)) {
Write-Debug ("Registry key $registryKey is NULL")
return
}
Foreach ($name in $registryNames) {
$value = Get-ItemProperty -Path $registryKey -ErrorAction SilentlyContinue | Select-Object -ExpandProperty $name -ErrorAction SilentlyContinue
If (![string]::IsNullOrWhiteSpace($value)) {
If ($name -eq "CompanyPath") {
$global:prevCompanyPath = $value
}
If ($name -eq "Vst64Path") {
$global:prevVst64Path = $value
}
If ($name -eq "Vst32Path") {
$global:prevVst32Path = $value
}
If ($name -eq "UserFolderPath") {
$global:prevUserFolderPath = $value
}
If ($name -eq "InstallerComponents") {
$global:prevInstallerComponents = $value
}
Write-Debug ("Value found: " + $value)
}
}
}
<#
.SYNOPSIS
Checks for default installer values
#>
function GetDefaultValues () {
$newDefaultPath = GetDefaultVst2Directory(64)
If (![string]::IsNullOrWhiteSpace($newDefaultPath)) {
Write-Debug("Default VST2 64 Path found: " + $newDefaultPath)
$global:vst2DefaultPath = $newDefaultPath
}
$newDefaultPath = GetDefaultVst2Directory(32)
If (![string]::IsNullOrWhiteSpace($newDefaultPath)) {
Write-Debug("Default VST2 32 Path found: " + $newDefaultPath)
$global:vst2x86_64DefaultPath = $newDefaultPath
}
}
<#
.SYNOPSIS
Picks one of the found default, previous and current installer settings
.DESCRIPTION
Picks one of the found default, previous and current installer settings. Priority is:
1. Package parameters (by checking for a given package parameter)
2. Previous parameters (by using the prev variable)
3. System default hint used by installer (by using the default variable)
4. Installer default (by doing nothing)
#>
function CheckPreviousInstallerSettingsAgainstParameters () {
If ([string]::IsNullOrWhiteSpace($pp["Vst2Path"])) {
If (![string]::IsNullOrWhiteSpace($vst2DefaultPath)) {
Write-Debug("Overwriting Vst2Path with vst2DefaultPath: " + $vst2DefaultPath)
$vst2Path = $vst2DefaultPath
}
If ($prevVst64Path) {
Write-Debug("Overwriting Vst2Path with prevVst64Path: " + $prevVst64Path)
$vst2Path = $prevVst64Path
}
}
If ([string]::IsNullOrWhiteSpace($pp["Vst2x86Path"])) {
If (![string]::IsNullOrWhiteSpace($vst2x86_64DefaultPath)) {
Write-Debug("Overwriting Vst2x86Path with vst2x86_64DefaultPath: " + $vst2x86_64DefaultPath)
$vst2x86_64Path = $vst2x86_64DefaultPath
}
If ($prevVst32Path) {
Write-Debug("Overwriting Vst2x86Path with prevVst32Path: " + $prevVst32Path)
$vst2x86_64Path = $prevVst32Path
}
}
If ($pp["CompanyPath"] -eq $false) {
# Some installers have an automatic detection mechanism for this path next to a default
Write-Debug "Checking if automatic install path detection is implemented ..."
if (Get-Command InstallerCompanyPathAutomaticDetection -errorAction SilentlyContinue) {
Write-Debug "Method has been implemented!"
InstallerCompanyPathAutomaticDetection
If ($autoInstDetectionCompanyPath) {
Write-Debug("AutoInstDetectionCompanyPath: " + $autoInstDetectionCompanyPath)
$companyPath = $autoInstDetectionCompanyPath
}
}
If ($prevCompanyPath) {
Write-Debug("prevCompanyPath: " + $prevCompanyPath)
$companyPath = $prevCompanyPath
}
}
If ([string]::IsNullOrWhiteSpace($pp["UserFolderPath"])) {
If ($prevUserFolderPath) {
Write-Debug("UserFolderPath: " + $prevUserFolderPath)
$userFolderPath = $prevUserFolderPath
}
}
# If the user has not given any package parameters to control the installer components (-> expects default)
# but there has been found a previous configuration of installed components, we ignore the default configuration
# and use the previous configuration
If (![string]::IsNullOrWhiteSpace($global:prevInstallerComponents)) {
If ( $pp["NoVst2x86"] -Or $pp["NoVst2x64"] -Or $pp["NoVst3x86"] -Or $pp["NoVst3x64"] -Or $pp["NoAaxx86"] -Or $pp["NoAaxx64"] -Or $pp["NoRtas"] -Or $pp["NoPresets"] -Or $pp["NoNks"] ) {
Write-Debug ("Components: Previous configuration found but package parameters override have been set so ignoring previous configuration.")
} else {
$global:installerComponents = $global:prevInstallerComponents
Write-Debug ("Components: Previous configuration found, using for installation now.")
}
}
}
<#
.SYNOPSIS
Checks if a given path is a kind of link and returns its value resolved
.DESCRIPTION
Checks if a given path is a kind of link and returns its value resolved. Also returns the path if it's a directory or a file. Returns $null if it doesn't exist.
.NOTES
Comment added because reviewer asked to do so.
#>
function ResolvePath($target) {
$targetpath = $null
If (!(Test-Path $target)) {
Write-Debug ("Ended prematurely")
Write-Debug ("$targetpath")
return $targetpath
}
if($target.EndsWith(".lnk")) {
$sh = new-object -com wscript.shell
$fullpath = resolve-path $target
$targetpath = $sh.CreateShortcut($fullpath).TargetPath
Write-Debug ("Target ended with lnk and is " + "$targetpath")
return $targetpath
}
If ((Get-ItemPropertyValue -Path $target -Name LinkType) -eq "SymbolicLink") {
return $targetpath = Get-ItemPropertyValue -Path $target -Name Target
} ElseIf (Test-Path $target -pathType leaf) {
return $targetpath = (Get-Item $target).DirectoryName
} ElseIf (Test-Path $target -pathType container) {
return $targetpath = $target
}
Write-Debug ($targetpath)
return $targetpath
}
<#
.SYNOPSIS
Checks if given an array of paths has an entry with a kind of link and returns teh first value resolved
.DESCRIPTION
Checks if a given an array of paths it checks for link and returns the first value resolved. Also returns the first path if it's a directory or a file. Returns $null if nothing exists.
.NOTES
Comment added because reviewer asked to do so.
#>
function ResolvePaths([String[]] $Paths) {
Foreach ($path in $Paths) {
If (ResolvePath($path)) {
Write-Debug ("Successfully resolved path " + "$path")
return ResolvePath($path)
break
}
}
Write-Debug ("Returning NULL path ")
return $null
}
<#
.SYNOPSIS
Returns a given registry key/name's value
.DESCRIPTION
Returns a given registry key/name's value
.NOTES
Comment added because reviewer asked to do so.
#>
function ResolveRegPath($reg) {
If (!(Test-Path -Path $reg.key)) {
Write-Debug ("Given key is NULL")
return $null
}
$value = Get-ItemProperty -Path $reg.key -ErrorAction SilentlyContinue | Select-Object -ExpandProperty $reg.name -ErrorAction SilentlyContinue
If ([string]::IsNullOrWhiteSpace($value)) {
Write-Debug ("Given key's name is NULL")
return $null
}
Write-Debug ("Value found: " + $value)
return $value
}
<#
.SYNOPSIS
Try to find the default VST2 directory
.DESCRIPTION
Try to find the default VST2 directory
.PARAMETER bitToCheck
Wether to find the default 32 bit or 64 bit directory
.NOTES
Comment added because reviewer asked to do so.
#>
function GetDefaultVst2Directory ($bitToCheck) {
If ($bitToCheck -eq 32) {
$defaultRegBasePath = "HKLM:\\SOFTWARE\WOW6432Node\VST"
$installerDefaultRegPath = $vst2x86_64PathReg
} ElseIf ($bitToCheck -eq 64) {
$defaultRegBasePath = "HKLM:\\SOFTWARE\VST"
$installerDefaultRegPath = $vst2PathReg
}
$returnVst2Path = $null
If (Test-Path -Path $defaultRegBasePath) {
$newVst2Path = Get-ItemProperty -Path $defaultRegBasePath -ErrorAction SilentlyContinue | Select-Object -ExpandProperty VstPluginsPath -ErrorAction SilentlyContinue
If (![string]::IsNullOrWhiteSpace($newVst2Path)) {
If ($vst2AddSubfolder) {
$newVst2Path += "\$companyPath"
}
$returnVst2Path = $newVst2Path
}
}
If (![string]::IsNullOrWhiteSpace($installerDefaultRegPath.key)) {
$newVst2Path = Get-ItemProperty -Path $installerDefaultRegPath.key -ErrorAction SilentlyContinue | Select-Object -ExpandProperty $installerDefaultRegPath.name -ErrorAction SilentlyContinue
If (![string]::IsNullOrWhiteSpace($newVst2Path)) {
$returnVst2Path = $newVst2Path
}
}
return $returnVst2Path
}
function RunInstallerWithPackageParametersObject ($packageParameterObject) {
$installerPathViaPP = (Test-Path $pp["InstallerPath"])
## Does the following check work for 32 bit installers??
$installerEmbedded = ((Test-Path ($env:ChocolateyPackageFolder + "\" + $packageParameterObject.file)) -And ($packageParameterObject.file64 -ne $null) -And (Test-Path ($env:ChocolateyPackageFolder + "\" + $packageParameterObject.file64)))
$installerDownload = (($packageParameterObject.url -ne $null) -Or ($packageParameterObject.url64 -ne $null))
$installerDownloadExe = (($packageParameterObject.url -ne $null) -And ($packageParameterObject.url).EndsWith(".exe"))
Write-Debug ("This is the InstallerPath Variable: " + $pp["InstallerPath"])
Write-Debug ("Installer embedded path: " + ($env:ChocolateyPackageFolder + "\" + $packageParameterObject.file))
Write-Debug ("Installer embedded path: " + ($env:ChocolateyPackageFolder + "\" + $packageParameterObject.file64))
if(Test-Path variable:packageParameterObject.url]) {Write-Debug ("Installer url: " + $packageParameterObject.url)}
if($installerDownloadExe -eq $true) {Write-Debug "Installer is exe"}
if($installerPathViaPP -eq $true) {
$packageParameterObject["file"] = $fileLocation
Install-ChocolateyInstallPackage @packageParameterObject # https://chocolatey.org/docs/helpers-install-chocolatey-install-package
}
if($installerEmbedded -eq $true) {
$packageParameterObject.file = ($env:ChocolateyPackageFolder + "\" + $packageParameterObject.file)
$packageParameterObject.file64 = ($env:ChocolateyPackageFolder + "\" + $packageParameterObject.file64)
Write-Debug ("Installer embedded path: " + $packageParameterObject.file)
Install-ChocolateyInstallPackage @packageParameterObject
}
if($installerDownload -eq $true -And $installerPathViaPP -eq $false) {
if($installerDownloadExe -eq $true) { "Installer is exe, running now..."
Install-ChocolateyPackage @packageParameterObject # https://chocolatey.org/docs/helpers-install-chocolatey-package
} else { Write-Debug "Installer inside zip"; Write-Debug ("UnzipLocation is: " + $packageParameterObject.unzipLocation)
$packageParameterObject["file"] = $fileLocation
Install-ChocolateyZipPackage @packageParameterObject
Install-ChocolateyInstallPackage @packageParameterObject
}
}
}
function RemoveInstallerObjects ($packageParameterObject) {
if($packageParameterObject.file) {
if(Test-Path ($packageParameterObject.file) -ErrorAction Ignore){
Remove-Item $packageParameterObject.file -Force -ErrorAction SilentlyContinue
}
}
if($packageParameterObject.file64) {
if(Test-Path ($packageParameterObject.file64) -ErrorAction Ignore){
Remove-Item $packageParameterObject.file64 -Force -ErrorAction SilentlyContinue
}
}
}
function RemoveTemporaryFiles ($PackageResourcePathObject) {
Write-Debug ("Deleting temp package files: " + $env:ChocolateyPackageFolder + "\" + $PackageResourcePathObject.value + " and" + $env:ChocolateyPackageFolder + "\" + $PackageResourcePathObject.value + ".txt")
Remove-Item ($env:ChocolateyPackageFolder + "\" + $PackageResourcePathObject.value) -Force -ErrorAction SilentlyContinue
Remove-Item ($env:ChocolateyPackageFolder + "\" + $PackageResourcePathObject.value + ".txt") -Force -ErrorAction SilentlyContinue
}
function HandlePackageArgs ($packageParameterObject) {
if ($global:installerComponents) {
If ($global:installerComponents.EndsWith(',')) {
Write-Debug ("Components list ends with , - removing.")
$global:installerComponents = $installerComponents.Substring(0,$installerComponents.Length-1)
}
$packageParameterObject["silentArgs"] += " /Components=$global:installerComponents"
}
Write-Debug "This are the silentArgs"; Write-Debug $packageParameterObject["silentArgs"]
}
# Creates txt file containing all zip files and where they have been copied to.
# Also checks whether extracted zip content should be uninstalled or not (.delete=$false).
function WriteUninstallData ($PackageResourcePathObject) {
if($PackageResourcePathObject.delete -ne $false) {
foreach($line in Get-Content ($env:ChocolateyPackageFolder + "\" + $PackageResourcePathObject.value + ".txt")) {
Add-Content -Path ($env:ChocolateyPackageFolder + "\uninstall.txt") -Value ($PackageResourcePathObject.installPath + "\" + $line)
}
}
}
# Creates/Overwrites bit-aware variables, so x86 files can use the same path-var on both platforms
function CreateBitAwareVariables () {
if($osBitness -eq 64) {
$global:vst2x86BitAware = "$vst2x86_64Path"
$global:vst3x86BitAware = "$vst3x86_64Path"
$global:aaxx86BitAware = "$aaxx86_64Path"
$global:vst2x86PathRegBitAware = "$vst2x86_64PathReg"
}
if($osBitness -eq 32) {
$global:vst2x86BitAware = "$vst2Path"
$global:vst3x86BitAware = "$vst3Path"
$global:aaxx86BitAware = "$aaxPath"
$global:vst2x86PathRegBitAware = "$vst2PathReg"
}
}
# Uninstaller Functions
function Test-Registry ($path, $value) {
try {
Get-ItemProperty -Path $Path | Select-Object -ExpandProperty $Value -ErrorAction Stop | Out-Null
return $true
} catch {
return $false
}
}
function DeleteFolders ($folderPath) {
if([string]::IsNullOrWhiteSpace($folderPath)) {
Write-Debug "Path variable is null."
return
}
if(Test-Path -path "$folderPath") {
Write-Debug "$folderPath will be deleted."
# "Archive" seems to be a lnk file
if((Get-Item ($folderPath).ToString()).Attributes.ToString() -Match "Archive" ) {
Remove-Item $folderPath -Force -Recurse
} else {
[System.IO.Directory]::Delete("$folderPath", $true)
}
}
}
# Checks, if a folder is empty and if true, deletes that folder. Also checks three levels upwards. -Force is not necessary.
function DeleteFoldersIfEmpty ($folderPath) {
Write-Debug ("Checking " + $folderPath)
if([string]::IsNullOrWhiteSpace($folderPath)) {
Write-Debug "Path variable is null."
return
}
if((Test-Path -Path "$folderPath") -eq $false) {
Write-Debug "$folderPath does not exist."
return
}
$parentFolder = (Get-ItemProperty $folderPath).Parent.FullName
$parentParentFolder = (Get-ItemProperty $folderPath).Parent.Parent.FullName
$folderList = "$folderPath", "$parentFolder", "$parentParentFolder"
Foreach ($path in $folderList) {
Write-Debug ("Checking if path exists and is empty: " + $path)
if($path -ne '' -and $path -ne $null) {
if(((Test-Path "$path") -and (Get-ChildItem "$path") -eq $null)) {
Write-Debug "$path is empty and will be deleted."
Remove-Item "$path"
}
}
}
}
function DeleteDataFromTxtFile ($uninstallFile) {
Foreach($path in Get-Content $uninstallFile) {
If ([string]::IsNullOrWhiteSpace($path)) {
return
}
Write-Debug ("About to delete " + $path)
if(Test-Path $path -pathType leaf) {
$directoryName = (Get-Item $path).DirectoryName
Write-Debug "$path will be deleted."
Remove-Item "$path" -Force
DeleteFoldersIfEmpty($directoryName)
}
if(Test-Path $path -pathType container) {
$parentDirectory = (Get-ItemProperty $path).Parent.FullName
Write-Debug "$path will be deleted."
#Remove-Item -Recurse -Force fails if folder contains a symlink -.-
[System.IO.Directory]::Delete("$path", $true)
DeleteFoldersIfEmpty($parentDirectory)
}
}
}
# Removes all registry entires in a given registry file from the registry
function DeleteRegKeysFromFile ($file) {
if(Test-Path $file) {
(Get-Content $file) -replace "^\[","[-" | out-file $file
regedit.exe /S ($file)
}
}
# Deletes a registry key or property, if it exists and is not marked as delete=$false
function DeleteRegKeyFromObjects ($regKey) {
Write-Debug ("About to delete Registry Entry: " + $regKey.path + $regKey.key)
if($regKey.ContainsKey("delete")) {
return
}
If ([string]::IsNullOrWhiteSpace($regKey.path)) {
Write-Debug("Given Registry Path is null or empty.")
return
}
if((Test-Path -Path $regKey.path) -eq $false) {
Write-Debug ("Registry Entry does not exist anymore.")
return
}
if(($regKey.key -eq "")) {
Write-Debug ("Deleting " + $regKey.path)
Remove-Item -Path $regKey.path -Force
}
if ($regKey.key -ne "") {
Write-Debug ("Deleting Key " + $regKey.key + " at Path " + $regKey.path)
Remove-ItemProperty -Path $regKey.path -Name $regKey.key -Force -ErrorAction SilentlyContinue
}
If (([string]::IsNullOrWhiteSpace((Get-Item -Path $regKey.path | Get-ItemProperty))) -And ([string]::IsNullOrWhiteSpace((Get-ChildItem -Path $regKey.path)))) {
Write-Debug ("Deleting orphaned key " + $regKey.path)
Remove-Item -Path $regKey.path
}
}
# Deletes a file, if it exists
function DeleteFile ($pathToFile) {
Write-Debug ("Checking " + $pathToFile)
if(Test-Path $pathToFile) {
Write-Debug ("Deleting " + $pathToFile)
Remove-Item $pathToFile -Force
}
}
# Packaging functions
function CreateFileList ($packagePaths, $targetPath) {
Remove-Item ($targetPath + ".txt") -ErrorAction SilentlyContinue
Foreach ($path in $packagePaths) {
#Add-Content -Path ($targetPath + ".txt") -Value (Get-ChildItem -Path "$path" -Recurse -Name) -Force
Add-Content -Path ($targetPath + ".txt") -Value ((Get-Item -Path "$path").Name) -Force
}
}
function CreateDataArchive ($packagePaths, $targetPath) {
Compress-Archive $packagePaths $targetPath -CompressionLevel Optimal -Force
}
function CreateDataArchiveAndFileList ($packagePaths, $targetPath) {
if ((Test-Path $targetPath) -eq $false ) {
New-Item $targetPath -Force
Remove-Item $targetPath -Force
}
CreateDataArchive $packagePaths $targetPath
CreateFileList $packagePaths $targetPath
}
<#
.SYNOPSIS
Reduces the nupkg package file by deleting big binaries from the file.
.DESCRIPTION
Reduces the nupkg package file by deleting all files from the .nupkg file that are not necessary anymore like installer files or 7z binaries.
It keeps the following files and folders:
/package/
/tools/
_rels
*.nuspec
[Content_Types].xml
The rest will be removed from the nupkg file.
.NOTES
Comment added because reviewer asked to do so.
#>
#
function ReducePackageSize () {
.$env:ChocolateyInstall\tools\7z.exe d ($env:ChocolateyPackageFolder + "\" + $env:ChocolateyPackageName + ".nupkg") * -r -xr!package -xr!tools -xr!_rels -x!"*.nuspec" -x!"[Content_Types].xml"
}
<#
.SYNOPSIS
Which installation steps are actually necessary for the given OS and package parameters?
.DESCRIPTION
Checks the current OS bitness and the given package parameters and marks all steps from the chocolateyvariables file to be actually executed by setting their 'execute' bit.
.PARAMETER objectsList
A list of objects with a 'validpp' key and a 'bit' key from the chocolateyvariables.ps1 file.
.NOTES
Comment added because reviewer asked to do so.
#>
function DetermineExecutionOfAllObjects ($objectsList) {
Foreach($object in $objectsList) {
$object.Add('execute', $false)
$bitStatus = ($object.bit -eq $null) -Or ($object.bit -Contains $osBitness)
$ppIndependent = (($object.validpp -eq $null) -Or ($object.validpp -Like "Always"))
Write-Debug ("ppindependent: " + $ppIndependent)
Write-Debug ("bitStatus: " + $bitStatus)
Foreach($packageParameter in $object.validpp) {
Write-Debug ("Status of evaluated package parameter:" + $packageParameter)
if((Test-Path variable:pp.packageParameter) -eq $true) {
Write-Debug $pp[$packageParameter]
Write-Debug ($pp[$packageParameter] -eq $false)
}
if(($pp[$packageParameter] -eq $false) -And $bitStatus) {
$object.execute = $true
}
}
if($ppIndependent -And $bitStatus) {
$object.execute = $true
}
If ($object.ContainsKey("dropIfNull")) {
Write-Debug ("Object $object contains a dropIfNull!")
Foreach ($variableToCheck in $object.dropIfNull) {
If ([string]::IsNullOrWhiteSpace($variableToCheck)) {
Write-Debug ("Dependent variable is NULL")
$object.execute = $false
} else {
Write-Debug ("Dependent variable is $variableToCheck")
}
}
}
}
}
<#
.SYNOPSIS
Create the protocol file for the uninstallation
.DESCRIPTION
Writes a list of files that have been extracted from zip files embedded in this package. Is empty if no zip files have been embedded.
.NOTES
Comment added because reviewer asked to do so.
#>
function CreateUninstallFile () {
# Create empty uninstall file
Out-File -FilePath ($env:ChocolateyPackageFolder + "\uninstall.txt")
}
$ErrorActionPreference = 'Stop';
$installerType = 'EXE'
. $env:ChocolateyPackageFolder\tools\chocolateyfunctions.ps1
. $env:ChocolateyPackageFolder\tools\chocolateyvariables.ps1
$silentArgs = '/qn /norestart'
$validExitCodes = @(0, 3010, 1605, 1614, 1641)
if ($installerType -ne 'MSI') {
$silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' # Inno Setup
$validExitCodes = @(0)
}
$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName
if ($key.Count -eq 1) {
$key | % {
$file = "$($_.UninstallString)"
if ($installerType -eq 'MSI') {
$silentArgs = "$($_.PSChildName) $silentArgs"
$file = ''
}
Uninstall-ChocolateyPackage -PackageName $packageName `
-FileType $installerType `
-SilentArgs "$silentArgs" `
-ValidExitCodes $validExitCodes `
-File "$file"
}
} 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 | % {Write-Warning "- $_.DisplayName"}
}
$packageName = 'Multiplicity'
$softwareName = "${packageName}*"
$company = 'DMGAudio'
$url32 = 'https://dmgaudio.com/dl/Multiplicity_v1.03/MultiplicityWin_v1.03.zip'
$releases = 'https://dmgaudio.com/products_multiplicity.php'
$checksum32 = '46da38a058983cac5389f6a6f317bc0564dcf4bee65557d874ef43eaba1cc709'
$companyPath = "${env:PROGRAMFILES}\$company"
$dataPathRegKey = "$packageName"
$vst2Path = "${env:PROGRAMFILES}\Steinberg\VSTPlugins\$company"
$vst2x86_64Path = "${env:ProgramFiles(x86)}\Steinberg\VSTPlugins\$company"
$vst3Path = "${env:COMMONPROGRAMFILES}\VST3\$company"
$vst3x86_64Path = "${env:COMMONPROGRAMFILES(x86)}\VST3\$company"
$userFolderPath = "" ## implement empty user folder check
$presetProducts = "" ## implement empty check
$unzipInstVersion = '1.03'
$unzInstPath = "${packageName}Win_v${unzipInstVersion}.exe"
$zipSuffix = "Win_v*.*.zip"
# This needs to be wrapped into a function so this object also has the data from the package parameters
function CreateRegistryObjects () {
$global:regKeys =
# The installer does not have an option for custom paths so we need to create the registry entry before
@{'path'="HKCU:\SOFTWARE\DMGAudio\InstallPaths"; 'key'="VST_64"; 'value'="$vst2Path"; 'bit'=64; 'validpp'="NoVst2x64"},
@{'path'="HKCU:\SOFTWARE\DMGAudio\InstallPaths"; 'key'="VST_32"; 'value'="$vst2x86_64Path"; 'bit'=64; 'validpp'="NoVst2x86"},
@{'path'="HKCU:\SOFTWARE\DMGAudio\InstallPaths"; 'key'="VST_32"; 'value'="$vst2Path"; 'bit'=32; 'validpp'="NoVst2x86"},
@{'path'="HKCU:\SOFTWARE\DMGAudio\InstallPaths"; 'key'="VST3_64"; 'value'="$vst3Path"; 'bit'=64; 'validpp'="NoVst3x64"},
@{'path'="HKCU:\SOFTWARE\DMGAudio\InstallPaths"; 'key'="VST3_32"; 'value'="$vst3x86_64Path"; 'bit'=64; 'validpp'="NoVst3x86"},
@{'path'="HKCU:\SOFTWARE\DMGAudio\InstallPaths"; 'key'="VST3_32"; 'value'="$vst3Path"; 'bit'=32; 'validpp'="NoVst3x86"},
@{'path'="HKCU:\SOFTWARE\DMGAudio\$packageName"; 'key'="Path"; 'value'="$companyPath\$packageName"; 'bit'=64,32; 'validpp'="NoVst2x64", "NoVst2x86", "NoVst3x64", "NoVst3x86", "NoAaxx86", "NoAaxx64"}
}
function CreateRegistryFileObjects () { $global:regKeyFileObjects }
function CreateShortcutObjects () { $global:shortcuts }
function CreateSymlinkObjects () { $global:symlinks }
# DMG doesn't support silent switches for specific plugin versions
function CreateInstallerObjects () { }
function CreatePackageRessourcePathObjects () { $global:PackageRessourcePathList }
function CreateTxtFileObjects () { $global:PackageNewFiles }
function CreatePackageParametersObjects () {
$global:packageArgs = @{
packageName = $packageName
unzipLocation = $unzPath
fileType = 'exe'
url = $url32
url64bit = $url64
softwareName = "$company $packageName*" #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique
checksum = $checksum32
checksumType = 'sha256' #default is md5, can also be sha1, sha256 or sha512
silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' # Inno Setup
}
$global:packageParametersObjectsList = $packageArgs
}
Log in or click on link to see number of positives.
- multiplicity.1.03.nupkg (6693d923bf7a) - ## / 60
- MultiplicityWin_v1.03.zip (46da38a05898) - ## / 63
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.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
Multiplicity (Install) 1.13.0 | 67 | Thursday, November 2, 2023 | Approved | |
Multiplicity (Install) 1.12 | 126 | Wednesday, April 5, 2023 | Exempted | |
Multiplicity (Install) 1.10.20221112 | 64 | Saturday, November 12, 2022 | Approved | |
Multiplicity (Install) 1.10 | 60 | Monday, November 7, 2022 | Approved | |
Multiplicity (Install) 1.09 | 98 | Sunday, April 3, 2022 | Approved | |
Multiplicity (Install) 1.08 | 144 | Thursday, June 24, 2021 | Approved | |
Multiplicity (Install) 1.07 | 110 | Wednesday, March 17, 2021 | Approved | |
Multiplicity (Install) 1.06 | 303 | Saturday, March 28, 2020 | Approved | |
Multiplicity (Install) 1.05 | 192 | Friday, February 28, 2020 | Approved | |
Multiplicity (Install) 1.04 | 185 | Saturday, December 28, 2019 | Approved | |
Multiplicity (Install) 1.03 | 200 | Tuesday, June 25, 2019 | Approved | |
Multiplicity (Install) 1.02 | 191 | Friday, May 24, 2019 | Approved | |
Multiplicity (Install) 1.01 | 176 | Thursday, March 7, 2019 | Approved | |
Multiplicity (Install) 1.00 | 222 | Saturday, February 16, 2019 | Approved |
2011-2019 DMGAudio
-
- chocolatey-core.extension (≥ 1.1.0)
Ground Rules:
- This discussion is only about Multiplicity (Install) and the Multiplicity (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 Multiplicity (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.