Hey all,

Just for the archives.

For wix3 reference/link with WixUtilExtension and add the UtilExtension
namespace declaration to the Wix element like so:

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>

To define a component that will update the web.config file:

<Component Id="WebConfigChanges" DiskId="1"
Guid="{B8E766F3-433C-451a-90A6-7788D57DB508}">
  <util:XmlFile 
      Id="ConnectionString" 
      Action="setValue" 
 
ElementPath="/configuration/connectionStrings/[EMAIL PROTECTED]'XXX'[\]]/@connec
tionString"
      File="[TARGETDIR]\web.config" 
      Value="[CONNECTIONSTRING]">
  </util:XmlFile>
</Component>

Replace XXX with the name of your connection string. Also populate the
CONNECTIONSTRING property with the value of the connection string you want
saved.

Regards,

Rob



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to