annotate packaging/filelist.nsh @ 633:6c090638b2b4

Use static buffer for module file name. According to the msdn examle the return value of getmodulefilename should be used to indicate success and not the size. And according to comments on that function on Windows 8.1 it does not return the needed size. So better be more robust and just use max_path as a limit.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 23 Jun 2014 15:29:48 +0200
parents 81d6657757f3
children 8081ed84589d
rev   line source
406
5ee694fa3da7 Add license header for NSIS scripts
Andre Heinecke <aheinecke@intevation.de>
parents: 340
diff changeset
1 ; Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
5ee694fa3da7 Add license header for NSIS scripts
Andre Heinecke <aheinecke@intevation.de>
parents: 340
diff changeset
2 ; Software engineering by Intevation GmbH
5ee694fa3da7 Add license header for NSIS scripts
Andre Heinecke <aheinecke@intevation.de>
parents: 340
diff changeset
3 ;
5ee694fa3da7 Add license header for NSIS scripts
Andre Heinecke <aheinecke@intevation.de>
parents: 340
diff changeset
4 ; This file is Free Software under the GNU GPL (v>=2)
5ee694fa3da7 Add license header for NSIS scripts
Andre Heinecke <aheinecke@intevation.de>
parents: 340
diff changeset
5 ; and comes with ABSOLUTELY NO WARRANTY!
5ee694fa3da7 Add license header for NSIS scripts
Andre Heinecke <aheinecke@intevation.de>
parents: 340
diff changeset
6 ; See LICENSE.txt for details.
5ee694fa3da7 Add license header for NSIS scripts
Andre Heinecke <aheinecke@intevation.de>
parents: 340
diff changeset
7
340
9001eaa55549 Add first draft of packaging to build upon
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
8 ; This file is not autogenerated.
9001eaa55549 Add first draft of packaging to build upon
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
9 ; Keep it updated if you add new things.
9001eaa55549 Add first draft of packaging to build upon
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
10
539
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
11 File "${files_dir}${path_sep}cinst.exe"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
12 File "${files_dir}${path_sep}trustbridge.exe"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
13 File "${files_dir}${path_sep}mozilla.exe"
340
9001eaa55549 Add first draft of packaging to build upon
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
14
9001eaa55549 Add first draft of packaging to build upon
Andre Heinecke <aheinecke@intevation.de>
parents:
diff changeset
15 ; NSS: This should ultimately be static
539
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
16 File "${files_dir}${path_sep}nssckbi.dll"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
17 File "${files_dir}${path_sep}smime3.dll"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
18 File "${files_dir}${path_sep}nss3.dll"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
19 File "${files_dir}${path_sep}nssdbm3.dll"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
20 File "${files_dir}${path_sep}softokn3.dll"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
21 File "${files_dir}${path_sep}sqlite3.dll"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
22 File "${files_dir}${path_sep}freebl3.dll"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
23 File "${files_dir}${path_sep}nssutil3.dll"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
24 File "${files_dir}${path_sep}libplc4.dll"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
25 File "${files_dir}${path_sep}libplds4.dll"
81d6657757f3 Provide path_sep as a variable to make it possible to reuse filelist
Andre Heinecke <aheinecke@intevation.de>
parents: 490
diff changeset
26 File "${files_dir}${path_sep}libnspr4.dll"

http://wald.intevation.org/projects/trustbridge/