Downloads:
1,460
Downloads of v 1.0.4:
932
Last Update:
16 Aug 2016
Package Maintainer(s):
Software Author(s):
- Microsoft Corporation
- Stephan Brenner
Tags:
admin signcode signcode-pwd- Software Specific:
- Software Site
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
SignCode (Install)
- 1
- 2
- 3
1.0.4 | Updated: 16 Aug 2016
- Software Specific:
- Software Site
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
1,460
Downloads of v 1.0.4:
932
Maintainer(s):
Software Author(s):
- Microsoft Corporation
- Stephan Brenner
SignCode (Install) 1.0.4
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Microsoft Corporation, Stephan Brenner. The inclusion of Microsoft Corporation, Stephan Brenner trademark(s), if any, upon this webpage is solely to identify Microsoft Corporation, Stephan Brenner goods or services and not for commercial purposes.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Deployment Method: Individual Install, Upgrade, & Uninstall
To install SignCode (Install), run the following command from the command line or from PowerShell:
To upgrade SignCode (Install), run the following command from the command line or from PowerShell:
To uninstall SignCode (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 signcode.install --internalize --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 signcode.install -y --source="'INTERNAL REPO URL'" [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 signcode.install -y --source="'INTERNAL REPO URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install signcode.install
win_chocolatey:
name: signcode.install
version: '1.0.4'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'signcode.install' do
action :install
source 'INTERNAL REPO URL'
version '1.0.4'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller signcode.install
{
Name = "signcode.install"
Version = "1.0.4"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'signcode.install':
ensure => '1.0.4',
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 is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.
- Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
- Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
- Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.
Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.
This package was approved by moderator flcdrg on 26 Nov 2016.
SignCode Microsoft tool for open type font signing.
With signcode-pwd tool for signing in batch mode.
$ErrorActionPreference = 'Stop';
$packageName = 'signcode.install';
$toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition);
$exitCode = Start-ChocolateyProcessAsAdmin `
-statements @"
`$DsigDllInstallFolder = [Environment]::GetFolderPath([Environment+SpecialFolder]::SystemX86);
& `$DsigDllInstallFolder\regsvr32 /u /s mssipotf.dll | Out-String | Write-Verbose;
Remove-Item -LiteralPath ( Join-Path -Path '$toolsDir' -ChildPath 'mssipotf.dll' ) -Force;
"@ `
-noSleep `
;
#Uninstall-BinFile
Remove-BinFile `
-name 'signcodepwd' `
-path ( Join-Path -Path $toolsDir -ChildPath 'signcodepwd.cmd' ) `
;
$packageArgs = @{
packageName = $packageName;
zipFileName = 'signcode-pwd_1_02.zip';
}
#Uninstall-ChocolateyZipPackage @packageArgs;
<?xml version="1.0" encoding="utf-8"?>
<package>
<files>
<file fileid="dsig" filename="dsig.exe" target="tools" url="http://download.microsoft.com/download/4/7/e/47e8e7fb-9441-4887-988f-e259a443052d/Dsig.EXE"/>
</files>
</package>
95A604E5E716FDC32AF38E936E42C06D
@echo off
setlocal enableextensions enabledelayedexpansion
set SIGNCODEPWD=signcode-pwd.exe
set SIGNCODE=signcode.exe
set CODE_TIMESTAMP_URL=http://timestamp.verisign.com/scripts/timstamp.dll
set CODE_SIGNING_DLL=mssipotf.dll
set SIGNCODEPASSWORD=%CODE_SIGNING_CERTIFICATE_PASSWORD%
:parseargs
if "%~1"=="" goto :endparseargs
if "%~1"=="-h" (
:help
echo Parameters -spc, -v, -t, -j, -p and filename for signing expected.
exit /b -1
)
if "%~1"=="/?" goto :help
if "%~1"=="-?" goto :help
if "%~1"=="-help" goto :help
if "%~1"=="--help" goto :help
if "%~1"=="-spc" (
set CODE_SIGNING_CERTIFICATE_SPC=%~2
shift
shift
goto :parseargs
)
if "%~1"=="-v" (
set CODE_SIGNING_CERTIFICATE_PVK=%~2
shift
shift
goto :parseargs
)
if "%~1"=="-t" (
set CODE_TIMESTAMP_URL=%~2
shift
shift
goto :parseargs
)
if "%~1"=="-j" (
set CODE_SIGNING_DLL=%~2
shift
shift
goto :parseargs
)
if "%~1"=="-p" (
set SIGNCODEPASSWORD=%~2
shift
shift
goto :parseargs
)
set FILEFORSIGNING=%~1
shift
goto :parseargs
:endparseargs
if "%CODE_SIGNING_CERTIFICATE_SPC%"=="" goto :help
if "%CODE_SIGNING_CERTIFICATE_PVK%"=="" goto :help
if "%CODE_TIMESTAMP_URL%"=="" goto :help
if "%CODE_SIGNING_DLL%"=="" goto :help
if "%SIGNCODEPASSWORD%"=="" goto :help
if "%FILEFORSIGNING%"=="" goto :help
for %%A in ("%FILEFORSIGNING%") do set TMPFILE="%TMP%\%%~nxA"
copy /Y "%FILEFORSIGNING%" "%TMPFILE%" 1>NUL
@REM echo on
"%SIGNCODEPWD%" -m %SIGNCODEPASSWORD%
@echo off
set /a i=30
:signingloopbegin
@echo on
"%SIGNCODE%" ^
-spc "%CODE_SIGNING_CERTIFICATE_SPC%" ^
-v "%CODE_SIGNING_CERTIFICATE_PVK%" ^
-j "%CODE_SIGNING_DLL%" ^
"%FILEFORSIGNING%"
@set exitcode=%errorlevel%
@echo off
if %exitcode%==0 goto :beforetimestamp
copy /Y "%TMPFILE%" "%FILEFORSIGNING%" 1>NUL
set /a i-=1
if %i% gtr 0 goto :signingloopbegin
:signingloopend
goto :beforeexit
:beforetimestamp
copy /Y "%FILEFORSIGNING%" "%TMPFILE%" 1>NUL
set /a i=30
:timestamploopbegin
@echo on
"%SIGNCODE%" ^
-x ^
-t "%CODE_TIMESTAMP_URL%" ^
"%FILEFORSIGNING%"
@set exitcode=%errorlevel%
@echo off
if %exitcode%==0 goto :timestamploopend
copy /Y "%TMPFILE%" "%FILEFORSIGNING%" 1>NUL
set /a i-=1
if %i% gtr 0 goto :timestamploopbegin
:timestamploopend
:beforeexit
@REM echo on
"%SIGNCODEPWD%" -t
@REM @del /F /Q "%TMPFILE%"
@exit /b %exitcode%
<?xml version="1.0" encoding="utf-8"?>
<package>
<files>
<file fileid="signcodepwd" filename="signcode-pwd.zip" target="tools" url="http://www.stephan-brenner.com/downloads/signcode-pwd/signcode-pwd_1_02.zip"/>
</files>
</package>
C9C25444500C732AB58ACC7855D39CF7
Log in or click on link to see number of positives.
- signcode-pwd.exe (160b0c5a6653) - ## / 55
- Dsig.EXE (0d9ad2bb82af) - ## / 55
- signcode-pwd_1_02.zip (ea817e977a1e) - ## / 55
- signcode.install.1.0.4.nupkg (59df295f20f0) - ## / 56
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.
All release notes can be found on the GitHub site - https://github.com/IT-Service/signcode/releases
This package has no dependencies.
Ground Rules:
- This discussion is only about SignCode (Install) and the SignCode (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 SignCode (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.