Old 27th April 2004, 18:45   #1
archiebald
Junior Member
 
Join Date: Apr 2004
Location: AUSTRIA
Posts: 2
R/O files for not admin users

First: I looked in the forum, but I found no hints.

I made a instrallation as admin, then I
changed (after installation) to a user with no admin rights. Now I tried the installed program, but in the \Windows directory I can't write to my .ini-File. I applayed SetFileAttributes NORMAL to the .ini-File in the installation script, the attribus are R/W, but it is not possible to write to the .ini-file. What can I do ?

Thank You for the help.
archiebald is offline   Reply With Quote
Old 27th April 2004, 19:12   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
You need admin rights to access the Windows folder.
Joost Verburg is offline   Reply With Quote
Old 28th April 2004, 06:35   #3
archiebald
Junior Member
 
Join Date: Apr 2004
Location: AUSTRIA
Posts: 2
Hi Joost,

OK, as admin I can change the rights for a .ini-file in the Windows folder to R/W for all user (properties - security). How can I do this in the NSIS script ?
archiebald is offline   Reply With Quote
Old 29th April 2004, 15:33   #4
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
There is a plug-in that can set secutiry properties, please search the archive.
Joost Verburg 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