BuildMaster Documentation

Windows - Sign Binary

  • Last Modified: 2020-06-26

This is generated from the built-in components of BuildMaster 6.2.13, 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:

Name Format Script Usage Usage 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

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.

Generated from commit ced119d5 on master