Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: TSR Pin
Luc Pattyn23-Jun-10 5:26
sitebuilderLuc Pattyn23-Jun-10 5:26 
AnswerRe: TSR Pin
loyal ginger23-Jun-10 5:27
loyal ginger23-Jun-10 5:27 
AnswerRe: TSR Pin
Keith Barrow23-Jun-10 5:28
professionalKeith Barrow23-Jun-10 5:28 
AnswerHey Pin
Ennis Ray Lynch, Jr.23-Jun-10 6:00
Ennis Ray Lynch, Jr.23-Jun-10 6:00 
JokeRe: Hey Pin
Paladin200023-Jun-10 6:08
Paladin200023-Jun-10 6:08 
GeneralRe: Hey Pin
Keith Barrow23-Jun-10 6:10
professionalKeith Barrow23-Jun-10 6:10 
GeneralRe: Hey Pin
DaveAuld23-Jun-10 6:27
professionalDaveAuld23-Jun-10 6:27 
QuestionAccessing the user.config file on a newly installed application from the installer itself Pin
Kaare Tragethon23-Jun-10 5:10
Kaare Tragethon23-Jun-10 5:10 
Dear all.

I want to access the user.config file from the installer itself, the problem is that I don't know how to get the path of the newly installed application. I know that the user.config file for my main application is somewhere in "'user'\AppData\Local\.... but I don't know how to access this area from the installer itself.
In my main application it is very simple, I just call:
Configuration _usrConfigLoc = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal);


Inside the installer I have tried:
Configuration _usrConfigLoc = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal);
This returns the path of the config file of the installer (and not my main application)

Does anybody have a way to find the freshly installed user.config file from the installer application?
AnswerRe: Accessing the user.config file on a newly installed application from the installer itself Pin
hwswin23-Jun-10 5:54
hwswin23-Jun-10 5:54 
GeneralRe: Accessing the user.config file on a newly installed application from the installer itself Pin
Kaare Tragethon23-Jun-10 6:28
Kaare Tragethon23-Jun-10 6:28 
GeneralRe: Accessing the user.config file on a newly installed application from the installer itself Pin
hwswin23-Jun-10 6:44
hwswin23-Jun-10 6:44 
GeneralRe: Accessing the user.config file on a newly installed application from the installer itself Pin
Kaare Tragethon23-Jun-10 6:53
Kaare Tragethon23-Jun-10 6:53 
GeneralRe: Accessing the user.config file on a newly installed application from the installer itself Pin
hwswin23-Jun-10 7:04
hwswin23-Jun-10 7:04 
GeneralRe: Accessing the user.config file on a newly installed application from the installer itself Pin
Kaare Tragethon23-Jun-10 7:15
Kaare Tragethon23-Jun-10 7:15 
GeneralRe: Accessing the user.config file on a newly installed application from the installer itself Pin
hwswin23-Jun-10 7:27
hwswin23-Jun-10 7:27 
GeneralRe: Accessing the user.config file on a newly installed application from the installer itself Pin
Kaare Tragethon23-Jun-10 7:47
Kaare Tragethon23-Jun-10 7:47 
QuestionHow to import a namespace - 2 levels up? Pin
martingeorgiev23-Jun-10 4:47
martingeorgiev23-Jun-10 4:47 
AnswerRe: How to import a namespace - 2 levels up? Pin
Łukasz Nowakowski23-Jun-10 4:53
Łukasz Nowakowski23-Jun-10 4:53 
AnswerRe: How to import a namespace - 2 levels up? Pin
Abhinav S23-Jun-10 5:04
Abhinav S23-Jun-10 5:04 
AnswerRe: How to import a namespace - 2 levels up? Pin
Luc Pattyn23-Jun-10 5:11
sitebuilderLuc Pattyn23-Jun-10 5:11 
GeneralRe: How to import a namespace - 2 levels up? Pin
PIEBALDconsult23-Jun-10 14:33
mvePIEBALDconsult23-Jun-10 14:33 
AnswerRe: How to import a namespace - 2 levels up? Pin
martingeorgiev23-Jun-10 5:22
martingeorgiev23-Jun-10 5:22 
GeneralRe: How to import a namespace - 2 levels up? Pin
Luc Pattyn23-Jun-10 5:27
sitebuilderLuc Pattyn23-Jun-10 5:27 
Questionnested masterpages. Pin
FEMDEV23-Jun-10 4:41
FEMDEV23-Jun-10 4:41 
AnswerRe: nested masterpages. Pin
Paladin200023-Jun-10 5:00
Paladin200023-Jun-10 5:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.