From 18a4649f40f9b0ac4bcaea2b2cfe021b8a6c17ca Mon Sep 17 00:00:00 2001 From: Henning Jensen Date: Wed, 13 Sep 2017 09:14:28 +0200 Subject: [PATCH] [doc] Add section about signing msi file --- docs/Systemdokumentasjon.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/Systemdokumentasjon.rst b/docs/Systemdokumentasjon.rst index 481c39d70..8055ed73b 100644 --- a/docs/Systemdokumentasjon.rst +++ b/docs/Systemdokumentasjon.rst @@ -79,6 +79,15 @@ Setup ----- This is the setup project for creating installation binaries. You need the `Wix-toolset `_ to be able to use the Setup-project. +Signing the installation file +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +In order to sign the msi file, you need the **signtool.exe** on your computer. This can be installed together with the Visual Studio. The ClickOnce Publishing package contains this tools. + +Signing of the installation file is done by the continuous integration server. Signing is performed with a certificate provided by Arkivverket. The following command is run to sign the installation file:: + + "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\signtool.exe" sign /f PATH_TO_CERTIFICATE_FILE.pfx /p CERTIFICATE_PASSWORD src\Setup\bin\Release\Setup.msi + Sample.ConsoleApp ------------------------------ This is a sample application, which demonstrates the use of the Arkade API.