Old 24th July 2003, 15:53   #1
sandrakim90
Junior Member
 
Join Date: Jul 2003
Location: Seattle
Posts: 11
Question Change file permissions

How can I get the installer to change file permissions to give Everyone full control in the InstallDir? -Thanks Sandy
sandrakim90 is offline   Reply With Quote
Old 24th July 2003, 22:23   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Do you mean, how do I let people change what is installed?

You need to have files in different sections with different section names:
Section "Install main dll files"
## Do stuff here ##
SectionEnd
Section "Install image files"
## Do stuff here ##
SectionEnd

Then you have a Components page, where the user can select/unselect which Sections to install.

You should also use Modern UI too (looks much nicer)
${NSISDIR}\Contrib\Modern UI
Afrow UK is offline   Reply With Quote
Old 25th July 2003, 00:41   #3
Vytautas
Major Dude
 
Vytautas's Avatar
 
Join Date: May 2003
Location: Victoria, Australia
Posts: 643
Send a message via ICQ to Vytautas
I think he means how do you change file access permitions in a Win NT based enviroment. First you need to find out how you could do this manualy and then try to convert it into an NSIS Script.

Vytautas
Vytautas is offline   Reply With Quote
Old 25th July 2003, 10:56   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
There is a plug-in that does this in the Archive. Search for it there using the search button or in the downloads page.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik 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