Old 30th June 2006, 12:10   #1
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
AccessControl plugin update

Just to let everyone know I rebuilt the plugin without error message boxes. No doubt it has been scaring users in the past for all installers that use the plugin.
Error messages are just pushed to the stack like before.

http://nsis.sf.net/AccessControl_plug-in

-Stu
Afrow UK is offline   Reply With Quote
Old 5th July 2006, 23:21   #2
matzo
Junior Member
 
Join Date: Jul 2006
Posts: 1
Thumbs up

Quote:
Just to let everyone know I rebuilt the plugin without error message boxes. No doubt it has been scaring users in the past for all installers that use the plugin.
Thanks. I have been waiting for that.
matzo is offline   Reply With Quote
Old 25th March 2014, 02:39   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,163
I uploaded a new version that fixes SDDL SID Strings parsing and should work on WinNT4+, platforms that use the emulated function only supports some of them and they are listed in the readme...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 1st January 2015, 16:09   #4
simplix
Junior Member
 
Join Date: May 2014
Posts: 22
Anders, if it's not difficult for you, please add 64-bit version of AccessControl plugin or some instructions for compiling, because I get many errors when building. Thank you!
simplix is offline   Reply With Quote
Old 2nd January 2015, 19:50   #5
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,163
Quote:
Originally Posted by simplix View Post
Anders, if it's not difficult for you, please add 64-bit version of AccessControl plugin or some instructions for compiling, because I get many errors when building. Thank you!
I don't know if this plugin actually works correctly when compiled as 64-bit (I know I have done some 64-bit work on the code but I don't remember how much I tested) but I am able to compile it without warnings by using some tricks.

You are probably missing the 64-bit pluginapi.lib. I think Afrow UK likes to build plugins that link with it so he probably set it up this way. You don't need this .lib, you just need api.h and the files in ExDLL from the NSIS source.

Quote:
REM I'm doing this in the root of the AccessControl source so I'm using . for that directory.
set SRCROOT=.
set NSISTRUNK=%SRCROOT%/../../../../SCM-CO/NSIS/trunk
REM /Zl only sets _VC_NODEFAULTLIB in VS2005+
set CL=/DUNICODE /D_UNICODE /D_VC_NODEFAULTLIB /Fe"%SRCROOT%/AMD64/AccessControl.dll" /I"%NSISTRUNK%\Source\exehead" /FI"%NSISTRUNK%\Contrib\ExDLL\pluginapi.c"
md "%SRCROOT%/AMD64" 2>nul
call cl /LD /W3 /O1 /Osy /GF /Gz /GS- /GR- /GL /Zl "%SRCROOT%/Contrib/AccessControl/AccessControl.cpp" /link /OPT:REF /OPT:ICF,99 /MERGE:.rdata=.text /OPT:NOWIN98 /NODEFAULTLIB kernel32.lib user32.lib advapi32.lib
Attached Files
File Type: zip AccessControl.zip (6.9 KB, 81 views)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 2nd January 2015, 20:19   #6
simplix
Junior Member
 
Join Date: May 2014
Posts: 22
Anders, thank you again, I'm very grateful for your help.
simplix is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump