Modifying App config during installation

G

Guest

Is there a simple way to modify an app config file with user entries from an installation? I am gathering several values during the install of my app and I would like to write those values to my app.config file

Thanks
 
D

David Guyer [MS]

The following walkthrough on MSDN describes just that:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/ht
ml/vxwlkWalkthroughPassingDataToCustomAction.asp

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: Modifying App config during installation
thread-index: AcQiO8l+t0WZ0Yo5TP27Yl1cFnJwng==
X-WN-Post: microsoft.public.dotnet.framework.windowsforms
From: "=?Utf-8?B?QWFyb24=?=" <[email protected]>
Subject: Modifying App config during installation
Date: Wed, 14 Apr 2004 09:16:05 -0700
Lines: 3
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.windowsforms
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.windowsforms:65444
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms

Is there a simple way to modify an app config file with user entries from
an installation? I am gathering several values during the install of my
app and I would like to write those values to my app.config file.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top