drawio-export/build/package/msi/templates/choco/chocolateyInstall.ps1

8 lines
330 B
PowerShell
Raw Normal View History

$packageName = '{{.Choco.ID}}'
$fileType = 'msi'
$silentArgs = '/quiet';
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path);
$fileFullPath = Join-Path $scriptPath '{{.Choco.MsiFile}}';
Install-ChocolateyInstallPackage $packageName $fileType $silentArgs $fileFullPath -checksum '{{.Choco.MsiSum}}' -checksumType = 'sha256'