From 90e0a201dfb3c69a5e8a732f0c4553b0b8098b70 Mon Sep 17 00:00:00 2001 From: wizou Date: Wed, 16 Jun 2010 14:19:51 +0000 Subject: [PATCH] documenting !finalize git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6104 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/compiler.but | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Docs/src/compiler.but b/Docs/src/compiler.but index cf02c310..f65ce181 100644 --- a/Docs/src/compiler.but +++ b/Docs/src/compiler.but @@ -101,6 +101,14 @@ This option makes the compiler use an external EXE packer (such as \W{http://www \c !packhdr "$%TEMP%\exehead.tmp" '"C:\Program Files\UPX\upx.exe" "$%TEMP%\exehead.tmp"' +\S1{packhdr} !finalize + +\c command + +This option will execute 'command' using a call to system() after the output EXE has been generated. You can typically use it to sign (Authenticode) your installer. If 'command' contains a '%1' it will be replaced by the executable filename. + +\c !finalize 'sign.bat "%1" "Product Installer" http://example.com' + \S1{system} !system \c command [compare comparevalue]