Change file permissions
How can I get the installer to change file permissions to give Everyone full control in the InstallDir? -Thanks Sandy
Archive: Change file permissions
Change file permissions
How can I get the installer to change file permissions to give Everyone full control in the InstallDir? -Thanks Sandy
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
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
There is a plug-in that does this in the Archive. Search for it there using the search button or in the downloads page.