[ 日本語 ]
PSSigntools are PowerShells scripts for signing exe/dll with Code signing certificate.
sign <file1> [<file2> ...]
Sign argument files with Code signing certificate.
Following files are available.
- Executables(.exe .dll)
- PowerShell scripts(.ps1)
If a file already has a valid signature, the file is not signed.
sign.bat is a batch file calling sign.ps1.
updatevsto.bat <file.vsto>
Sign Microsoft Office add-in DLL file and related files like manifest file (*.manifest) and VSTO installer file (*.vsto).
If the DLL file already has a valid signature, the file is not signed.
updatevsto.bat is a batch file calling updatevsto.ps1.
Sign/updatevsto works on the assumption that only one valid Code signing certificate is registered on the computer.
When you renew the certificate, you will need uninstall old certificate.
Now use latest certificate when multiple Code signing certificates are registered.
Timestamp server uses DigiCert(http://timestamp.digicert.com). It is embedded in script, so if you want to change timestamp server, you have to change script.