Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralRe: Tree Data Structure Pin
Heath Stewart24-Apr-04 10:20
protectorHeath Stewart24-Apr-04 10:20 
GeneralDirectory Structure Pin
Heilmann24-Apr-04 4:26
sussHeilmann24-Apr-04 4:26 
GeneralRe: Directory Structure Pin
Hesham Amin24-Apr-04 4:41
Hesham Amin24-Apr-04 4:41 
GeneralServer Connections/From Add-in Pin
cnurse24-Apr-04 4:14
cnurse24-Apr-04 4:14 
GeneralWindows Form Designer Error Pin
josefg24-Apr-04 3:41
josefg24-Apr-04 3:41 
GeneralRe: Windows Form Designer Error Pin
josefg24-Apr-04 7:32
josefg24-Apr-04 7:32 
GeneralServiceProcessInstaller.UserName and password inaccessible Pin
jiagia23-Apr-04 22:41
jiagia23-Apr-04 22:41 
GeneralRe: ServiceProcessInstaller.UserName and password inaccessible Pin
Heath Stewart24-Apr-04 10:37
protectorHeath Stewart24-Apr-04 10:37 
The application's .config file is read from the same directory as the application executing your installer - not the installer itself. So, if you use the installutil.exe, then installutil.exe.config is used from the same directory where installutil.exe is executed (not the current working directory).

You should typically not use .config files with installers for this reason - your installer class is typically contained in a DLL and executed by something else. Instead, accept command-line parameters which make it more flexible, easy to document (see the Installer.HelpText virtual property), and easy to use even with Windows Installer packages (which you can pass properties as command-line parameters.

See the Installer.Context property documentation in the .NET Framework SDK for more information and an example of how to get those properties from the installer's context.

 

Microsoft MVP, Visual C#
My Articles
Generalsending xml Pin
hmdhmd23-Apr-04 22:13
hmdhmd23-Apr-04 22:13 
GeneralRe: sending xml Pin
Nick Parker24-Apr-04 7:30
protectorNick Parker24-Apr-04 7:30 
GeneralResourceManager Question Pin
hammackj23-Apr-04 19:16
hammackj23-Apr-04 19:16 
GeneralRe: ResourceManager Question Pin
Heath Stewart24-Apr-04 10:34
protectorHeath Stewart24-Apr-04 10:34 
GeneralRe: ResourceManager Question Pin
hammackj24-Apr-04 11:02
hammackj24-Apr-04 11:02 
GeneralRe: ResourceManager Question Pin
Heath Stewart25-Apr-04 4:14
protectorHeath Stewart25-Apr-04 4:14 
Generalchat program Pin
azhar_engineers23-Apr-04 19:00
azhar_engineers23-Apr-04 19:00 
GeneralRe: chat program Pin
Tomas Petricek24-Apr-04 5:10
Tomas Petricek24-Apr-04 5:10 
GeneralRe: chat program Pin
Heath Stewart24-Apr-04 10:28
protectorHeath Stewart24-Apr-04 10:28 
GeneralRe: chat program Pin
Tomas Petricek24-Apr-04 10:39
Tomas Petricek24-Apr-04 10:39 
GeneralRe: chat program Pin
Heath Stewart25-Apr-04 4:09
protectorHeath Stewart25-Apr-04 4:09 
QuestionHow to capture IE output of displaying an XML file? Pin
forgiven4u23-Apr-04 14:28
forgiven4u23-Apr-04 14:28 
AnswerRe: How to capture IE output of displaying an XML file? Pin
Heath Stewart23-Apr-04 16:07
protectorHeath Stewart23-Apr-04 16:07 
GeneralRe: How to capture IE output of displaying an XML file? Pin
forgiven4u24-Apr-04 14:59
forgiven4u24-Apr-04 14:59 
GeneralRe: How to capture IE output of displaying an XML file? Pin
Heath Stewart25-Apr-04 4:19
protectorHeath Stewart25-Apr-04 4:19 
GeneralRe: How to capture IE output of displaying an XML file? Pin
forgiven4u25-Apr-04 5:07
forgiven4u25-Apr-04 5:07 
Generaldynamically add/remove reference for a specific configuration Pin
Glaxo23-Apr-04 13:49
Glaxo23-Apr-04 13:49 

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.