Prev Previous Post   Next Post Next
Old 30th August 2007, 11:31   #1
123mobile
Junior Member
 
Join Date: Jul 2007
Posts: 17
CreateNewShare macro does not allow multiple user

Hi,

I am using the macro CreateNewShare to share a folder. when I call this macro first time to share a folder it works fine, but a second call(To add one more user to the share folder list) for the same folder gives me an error message, Saying there was an error creating the share!

Can somebody tell me where I am going wrong.
Here is the code I am using.


!insertmacro CreateNewShare "NSADMIN" "_NS_DATA3" ${STYPE_DISKTREE} "Allows access to data" \
${ACCESS_ALL} ${GENERIC_ALL} -1 2 "D:\books" ""

!insertmacro CreateNewShare "prabhat" "_NS_DATA3"
${STYPE_DISKTREE} "Allows access to data" \
${ACCESS_ALL} ${GENERIC_ALL} -1 2 "D:\books" ""


Thanks in adv,
Prabhat.
123mobile is offline   Reply With Quote
 
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