Jaroslaw,
In setup projects each, each file and project output group has a ReadOnly property which may be set. (By default, this setting is false). Whether all user are able to run the application
depends on the install mode choosen when the application is run. (Msi's built with Visual Studio will have a page that asks how the application should be installed -- for current user only or for
all users).
If you are trying to change the values of custom settings in your application programmatically, I believe there is no direct way of doing this. All application configuration settings are read only
when accessing them programmatically. See
http://msdn.microsoft.com/library/de...et04222003.asp for more info.
Hope this helps,
Elizabeth
--------------------
From: Jaroslaw Sos <j.***@enteria.de>
Newsgroups: microsoft.public.dotnet.languages.csharp
Subject: set write rights on folder in deployment project
Date: Wed, 17 Dec 2003 23:11:05 +0100
Lines: 11
Distribution: world
Message-ID: <br**********@newsreader2.netcologne.de>
NNTP-Posting-Host: xdsl-213-196-221-98.netcologne.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: newsreader2.netcologne.de 1071699069 27965 213.196.221.98 (17 Dec 2003 22:11:09 GMT)
X-Complaints-To: ab***@netcologne.de
NNTP-Posting-Date: Wed, 17 Dec 2003 22:11:09 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!irazu.switch.ch!sw itch.ch!solnet.ch!solnet.ch!
newsfeed2.netcologne.de!news.netcologne.de!not-for-mailXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.languages.csharp:206311
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
Hi,
I would like to give all users write access to a part of my application
configuration files. It should work for every user on the system and
not just the logged in user.
Any ideas how it could be done?
Thx for any suggestions
Jaroslaw
----
Elizabeth Newman – Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.