Afrow UK
16th November 2007 15:56 UTC
Some plugin updates
I have updated the SysRestore plug-in with the ability to remove the system restore point (as well as code clean up and a bug fix). I added this because one may only want to keep their restore point if the install was unsuccessful.
I have also updated the AccessControl plug-in with the following:
* EnableFileInheritance
* DisableFileInheritance
* EnableRegKeyInheritance
* DisableRegKeyInheritance
* GetFileOwner
* GetFileGroup
* GetRegKeyOwner
* GetRegKeyGroup
* ClearOnFile
* ClearOnRegKey
* SidToName
* GetCurrentUserName
http://nsis.sf.net/SysRestore_plug-in
http://nsis.sf.net/AccessControl_plug-in
Stu
kichik
16th November 2007 15:57 UTC
If you're already working on Access control, can you make it function on NT4 so I can include it with the base package?
Afrow UK
16th November 2007 16:06 UTC
I can see what I can do when I have some time.
You don't have an NT4 machine with Logmein Free by any chance?
Stu
kichik
16th November 2007 16:09 UTC
I don't, but testing shouldn't be too hard as it's not currently working due to unsupported API. MSDN should be enough.
Afrow UK
16th November 2007 16:13 UTC
Righto, well firstly I know it uses GetAttributes to detect if a path is a file or a folder which isn't a supported API on NT4 according to MSDN. How would one go about checking that in a different way?
Stu
kichik
16th November 2007 16:15 UTC
GetFileAttributes is available on NT4. If you want to replace it, FindFirstFile is an option. But the real problem is the string-to-SID function, if I recall correctly.
Afrow UK
16th November 2007 17:52 UTC
Okies thanks.
Stu
M-Force
29th April 2008 15:17 UTC
AccessControl on Vista?
Hi,
i just have a quick question.
Is the AccessControl plugin working on vista as well?
Thanks for your help.
M.