Wix only packages the files you tell it to, so I would look at your WXS file to 
see if the .config file is referenced.

Which config file are you trying to modify?  Is it one for your CA DLL or the 
managed utility DLL, or is this a setting you want to update for the installed 
application? Is there a reason you wouldn't pass the connection string 
information as custom action data if you need to pass it to the custom action 
DLL? (Assuming you want to modify your installed applications config file, you 
should assign a property the value you want to use, and then use 
XmlFile/XmlConfig to allow the installer to modify the file.)

Runtime of the installer or runtime of your application?

-----Original Message-----
From: StevenOgilvie [mailto:sogil...@msn.com] 
Sent: Friday, November 09, 2012 11:11 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] app.config within my customaction dll...

Hi all,

I have a custom action dll (C# custom action dll) that calls a managed utility 
dll… We need to update the connecton string, so I have placed it in the 
app.config…

When the installer is packaged, does the app.config (well the name of 
project.dll.config file) get packaged with it as well? how can the c# custom 
action dll interact with it?

At runtime where is the app.config located? And the custom action dll?

Thanks,

Steve




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/app-config-within-my-customaction-dll-tp7581847.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free 
today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to