Prev Previous Post   Next Post Next
Old 25th June 2012, 08:41   #1
donose.mihai
Junior Member
 
Join Date: Jun 2012
Posts: 6
NSIS - Do you want to allow the followin program...

Hello,

I've created an installer using NSIS and used the ACCESSCONTROL to set the permission even for users:

AccessControl::GrantOnFile "$INSTDIR" "ListDirectory + GenericRead + GenericExecute + GenericWrite + GenericExecute"
AccessControl::GrantOnFile "$INSTDIR" "(S-1-5-21)" "FullAccess"
AccessControl::GrantOnFile "$INSTDIR" "(S-1-1-0)" "FullAccess"
AccessControl::GrantOnFile "$INSTDIR" "(S-1-5-32-545)" "FullAccess"
AccessControl::GrantOnFile "$INSTDIR" "(Users)" "FullAccess"
AccessControl::GrantOnFile "$INSTDIR" "(BU)" "FullAccess"
AccessControl::EnableFileInheritance "$INSTDIR"


Question:

How can i get the software to run as administrator (without the message pooping up: " Do you want to allow..." )

Do i need to make some registry settings?

Any help will be greatly appreciated.

Thanks
donose.mihai 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