473,387 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

set write rights on folder in deployment project

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

Nov 15 '05 #1
1 2219
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.
Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Oleg Ogurok | last post by:
Hi all, I have a C# class library project that needs to be registered for COM interoperability. I set the "Register for COM Interop" to true in the project's properties. When compiled, VS.NET...
3
by: Cuperman | last post by:
Hi all, I have an XML file that I reference in my windows application I access it using - Application.StartupPath & "/ini.xml" During development this resides in the Bin folder, it appears...
0
by: George Harig | last post by:
While building my deployment project I receive the following error Unable to build folder named "FOLDER_NAME". My projects compiles fine, the deployment project dose not. Are there any rules...
2
by: Dino M. Buljubasic | last post by:
Hi, I am building deployment project for my vb.net application. The process is pretty much clear except one thing. I'd like to include a folder with icons for my application. How can I do that?...
4
by: Ant | last post by:
Hi, I' thought i'd finally ask... why are there two folders, Bin & Obj when a project is built? They each have the debug & release version of the exe. What's the diff? Thanks for any answers...
0
by: =?Utf-8?B?a2V2aW4=?= | last post by:
using VS2005, web application projects, web deployment projects My web installer builds from the output of the web deployment project. I end up with the obj folder in my web site. How do I use...
3
by: Dave Wurtz | last post by:
All, I have a setup (deployment) project in my solution that installs my application. I also have help files outside of my solution that I want to include into my setup project. All of the...
1
by: Claire | last post by:
Ive written a small string resource building utility that I send out to our translators. I have a setup project for each language we support, which picks out a group of 12 english resx files plus...
12
by: Reggie | last post by:
Hi And TIA. Running VS2005 and IIS7.0. I have a procedure that copies a file to a folder in my web application. When I run the project from VS it runs fine . I'm usin IE as default viewer. But...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.