1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="license-nsis-accesscontrol-plugin-1.0.8.3">
|
---|
4 |
|
---|
5 | <title>NSIS AccessControl plugin</title>
|
---|
6 |
|
---|
7 | <body>
|
---|
8 |
|
---|
9 |
|
---|
10 | <pre xml:space="preserve">From https://nsis.sourceforge.io/License:
|
---|
11 |
|
---|
12 | All NSIS source code, plug-ins, documentation, examples, header files and graphics, with the exception of the compression modules and where otherwise noted, are licensed under the zlib/libpng license.
|
---|
13 |
|
---|
14 | The plugin itself has no copyright notices. Only this from Docs/AccessControl/AccessControl.txt:
|
---|
15 |
|
---|
16 | ACCESS CONTROL PLUGIN
|
---|
17 | ---------------------
|
---|
18 |
|
---|
19 | Written by Mathias Hasselmann <[email protected]>
|
---|
20 | Modifications by:
|
---|
21 | * Afrow UK <[email protected]>
|
---|
22 | * AndersK <[email protected]>
|
---|
23 |
|
---|
24 | The AccessControl plugin for NSIS provides a set of functions related
|
---|
25 | Windows NT access control list (ACL) management.
|
---|
26 |
|
---|
27 |
|
---|
28 | MODIFICATIONS
|
---|
29 | -------------
|
---|
30 |
|
---|
31 | v1.0.8.3 - 24th February 2021 - AndersK
|
---|
32 | * Added /SID switch
|
---|
33 |
|
---|
34 | v1.0.8.2 - 20th February 2021 - AndersK
|
---|
35 | * Fixed GetRegKeyOwner
|
---|
36 |
|
---|
37 | v1.0.8.1 - 7th July 2014 - AndersK
|
---|
38 | * Don't require SE_RESTORE_NAME and SE_TAKE_OWNERSHIP_NAME when changing owner.
|
---|
39 | * Fixed broken return value when trustee parsing failed
|
---|
40 |
|
---|
41 | v1.0.8.0 - 24th March 2014 - AndersK
|
---|
42 | * Added basic String SID parsing in the emulated ConvertStringSidToSid (Broken in v1.0.6)
|
---|
43 | * Fixed WinNT4 and Win95 support? (Unicode DLL will not load on Win95 but will probably load on Win98)
|
---|
44 | * Fixed leaks from ParseSid and ConvertSidToStringSid
|
---|
45 | * NameToSid and SidToName now pushes "error" and error details
|
---|
46 | * Better GetCurrentUserName error handling (Still returns the problematic "error" string)
|
---|
47 |
|
---|
48 | v1.0.7.0 - 25th February 2012 - Afrow UK
|
---|
49 | * Fixed DisableFileInheritance (broken in v1.0.5.0).
|
---|
50 |
|
---|
51 | v1.0.6.0 - 26th January 2012 - Afrow UK
|
---|
52 | * Wrote replacements for ConvertSidToStringSid/ConvertStringSidToSid for
|
---|
53 | backwards compatibility with Windows NT4/ME (ANSI build only).
|
---|
54 | * Loads RegSetKeySecurity/RegGetKeySecurity functions at run-time for
|
---|
55 | backwards compatibility with Windows NT4/ME (ANSI build only).
|
---|
56 | * Removed commented out legacy code.
|
---|
57 |
|
---|
58 | v1.0.5.0 - 25th January 2012 - Afrow UK
|
---|
59 | * Removed IsUserTheAdministrator.
|
---|
60 | * Added NameToSid.
|
---|
61 | * Major code cleanup/rewrite.
|
---|
62 | * Proper Unicode build (with Unicode plugin API).
|
---|
63 | * Support for 64-bit registry (SetRegView 64).
|
---|
64 | * Functions now return "ok" on success or "error" otherwise. On "error",
|
---|
65 | the next item on the stack will be the error description.
|
---|
66 | * Added version information resource.
|
---|
67 |
|
---|
68 | 23rd January 2008 - Afrow UK
|
---|
69 | * Added function IsUserTheAdministrator.
|
---|
70 | * Cleaned up code. Rebuilt as pure cpp, decreasing DLL size.
|
---|
71 | * No longer using gobal temp variable for strings.
|
---|
72 |
|
---|
73 | 7th January 2008 - Afrow UK
|
---|
74 | * Fixed registry instructions.
|
---|
75 |
|
---|
76 | 8th November 2007 - Afrow UK
|
---|
77 | * EnableInheritance/DisableInheritance names changed.
|
---|
78 | * Functions added:
|
---|
79 | EnableFileInheritance
|
---|
80 | DisableFileInheritance
|
---|
81 | EnableRegKeyInheritance
|
---|
82 | DisableRegKeyInheritance
|
---|
83 | GetFileOwner
|
---|
84 | GetFileGroup
|
---|
85 | GetRegKeyOwner
|
---|
86 | GetRegKeyGroup
|
---|
87 | ClearOnFile
|
---|
88 | ClearOnRegKey
|
---|
89 | GetCurrentUserName
|
---|
90 | SidToName
|
---|
91 |
|
---|
92 | 21st August 2007 - Afrow UK
|
---|
93 | * Added /noinherit switch to prevent child objects inheriting a
|
---|
94 | particular permission.
|
---|
95 | * Added EnableInheritance and DisableInheritance functions.
|
---|
96 | * Removed code to print items in the install log.
|
---|
97 |
|
---|
98 | 13th July 2007 - kichik
|
---|
99 | * Return proper error codes (return value instead of GetLastError())
|
---|
100 |
|
---|
101 | 30th June 2006 - Afrow UK
|
---|
102 | * Error MessageBox removed.
|
---|
103 | * Error messages are now just returned on NSIS stack.
|
---|
104 | </pre>
|
---|
105 | </body>
|
---|
106 | </topic>
|
---|