Sign Binary
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

Sign Binary

  • Dark
    Light
  • PDF

Article Summary

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

Sign Binary

Signs .exe or .dll files using an installed code signing certificate.

Script usage:

Sign-Exe(
	SubjectName: <text>,
	[TimestampServer: <text>],
	[ContentDescription: <text>],
	[ContentUrl: <text>],
	Include: <@(text)>,
	[Exclude: <@(text)>],
	[SignToolPath: <text>],
	[SourceDirectory: <text>]
);

This operation may be prefixed with Windows::, although this is a built-in namespace and isn't really necessary.

Arguments:

NameFormatScript UsageUsage Notes
Subject
text
SubjectName
The subject name of the certificate. This is used to identify the certificate. This argument is required.
Timestamp server
text
TimestampServer
This server will be used to add a timestamp to the signature.
Description
text
ContentDescription
The content description that will be included with the signature.
URL
text
ContentUrl
The content URL that will be included with the signature.
Include (default)
@(text)
Include
See KB#1119 to learn more about masking syntax. This argument is required.
Exclude
@(text)
Exclude
See KB#1119 to learn more about masking syntax.
signtool.exe path
text
SignToolPath
The full path of signtool.exe.
Directory
text
SourceDirectory

Was this article helpful?