Signotaur can be used to sign ClickOnce deployments and VSTO (Visual Studio Tools for Office) add-ins. These applications consist of a deployment manifest (.application or .vsto), an application manifest (.manifest) and a set of dependency or content files.
When you specify a .application or .vsto file, Signotaur automatically:
.vsto files.This cascading process ensures that every hash value in the manifest chain reflects the actual signed content.
VSTO applications differ from ClickOnce in that they have a nested deployment manifest structure.
When you publish a VSTO add-in, Visual Studio creates:
.vsto file in the publish folder (version pointer).Application Files (e.g., MyAddin_1_0_0_7)..vsto file inside that versioned folder (actual deployment manifest for that version).Signotaur automatically detects and signs both .vsto files in the correct order.
By default, all dependencies are signed. You can use content patterns to selectively sign only specific files or exclude certain files. Contents pattern are specified as part of the Files parameter or in the file specified using the --file-list command option. Use a colon (:) to separate the deployment manifest file pattern from the content patterns:
Syntax: FilePattern:ContentPattern1:ContentPattern2:...
Pattern Rules:
:*.dll:*.exe).! to exclude files (e.g., :!*.pdb).*, ?, **) are supported.Common Use Cases:
MyApp.application:*.dll:*.exe.MyApp.application:!*.pdb:!*.xml.MyAddin.vsto:*.dll:!Microsoft.Office.*.dll:!Office.dll.**/*.application:*.dll:!**/test/**.MyApp.application:!*.pdb:!*.config.This recursive iteration with selective filtering allows you to maintain complete control over the signing of your ClickOnce/VSTO deployments without the need to manually list each file.
When signing ClickOnce or VSTO applications, you can specify publisher company name and support URL using the --description and --description-url command options. There is also an --app-name option which identifies the product name. These parameters update attributes in the manifest file which are used when the application or add-in is installed.
-d, --description <Description>
Specifies the company name used for icon placement in the Windows Start menu and the Add or Remove Programs item in Control Panel, when the deployment is configured for install.
--du, --description-url <URL>
Specifies a support URL that is shown in the Add or Remove Programs item in Control Panel. A shortcut to this URL is also created for application support in the Windows Start menu, when the deployment is configured for installation.
--an, --app-name <Name>
Specifies the full product name. This is used as the title for the icon installed in the Windows Start menu.
These parameters can also be specified each line of the file list allowing different information for each of a set of applications signed in one command. Each line has the format:
FilePath|Description|URL|ApplicationName
Note that Description corresponds to the --description option, URL corresponds to --description-url and ApplicationName corresponds to --app-name. FilePath can be broken down to FilePattern:ContentPattern1:ContentPattern2:... as described above.