View Single Post
Old 14th October 2009, 20:40   #7
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,534
Your code looks correct to me.

Would it be possible for you to write a little app in C to test so we could rule out the system plugin? or alternatively debug WBEMTEST.exe and check the parameters it passes to CoInitializeSecurity

(Also, using comments like that in a plugin parameter might not be so smart, not sure if the script parser is able to handle it)

edit:
(this is on XP, not sure if wbemtest is the same on 2000)
code:

0:000> bp ole32!CoInitializeSecurity
...
0:000> kd
0013febc 0013ff1c
0013fec0 01006a64 wbemtest!WinMain+0xc4
0013fec4 00000000
0013fec8 ffffffff << cAuthSvc (-1)
0013fecc 00000000
0013fed0 00000000
0013fed4 00000001 << they are passing RPC_C_AUTHN_LEVEL_NONE
0013fed8 00000003
0013fedc 00000000
0013fee0 00000000
0013fee4 00000000
0013fee8 00000000
0013feec 7c80b529 kernel32!GetModuleHandleA
0013fef0 00151f05
0013fef4 7c80b529 kernel32!GetModuleHandleA
0013fef8 00151f05
0013fefc 00000000
0013ff00 77c39d7a msvcrt!_initterm+0x13
0013ff04 00fbf758
0013ff08 0013ffc0


RPC_C_AUTHN_LEVEL_DEFAULT might equal RPC_C_AUTHN_LEVEL_NONE on a local machine, I don't know (And its documented that you need to pass those extra structs on 2k, so I'm sure its not going to fix it)

IntOp $PostCount $PostCount + 1

Last edited by Anders; 14th October 2009 at 21:39.
Anders is offline   Reply With Quote