Skip to content
⌘ NSIS Forum Archive

Read-Only

5 posts

Simply#

Read-Only

Hi,
I try to Attach a database to sql server (express 2005),
in pc with windows server 2003.

I used AccessControl::GrantOnFile "$INSTDIR\Data}" "(BU)" "FullAccess" to give full access to all users to the folder where i put the base, but when i check it, i see that users have just read right.

what I'm doing wrong???

Is there a way to put the attached file in the default data folder of sql server???
Simply#
Originally posted by Wizou
The problem might be the "}" character after $INSTDIR\Data on your line
🙄
I did some change to the code and i forget to delete }, Merci


👍

Do you know how to attach the base to default sql server data folder???