I have a property I've set within a CustomAction that I need to access within one of my Components. I'm not getting the property's value. Is this even possible?
Here is where I'm assigning a value to my property. [CustomAction] public static ActionResult TestSqlConnection(Session testSession) { // Code that tests the connection. ... ... // Assign the connection string to a property. testSession["SQLCONNECTION"] = connStr; } Within my Components.wxs I have the following. <Component Id="CMP_ConnString" Guid="Some Guid" Directory="AppDir"> <File Id="App.config" Name="app.config" Vital="yes" KeyPath="yes" Source="..\MyApp\app.config" /> <util:XmlFile Id="AppConfigConnString" Action="setValue" Permanent="yes" File="App.config" Element="/configuration/connectionStrings/add[\[]@name='MyAppConnString'[\]]" Name="connectionString" Value="[SQLCONNECTION]" /> ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users