Hi Not sure if there is a Wix way to do this.
However you could use some vb or java script to open the xml file and read it into a single text string, and then open the MSI database (after it is built) and add the property and its value (the text string) into the property table. Primative but would work. One issue (which you may have thought of) is that using SqlString SQL may attempt to interpret xml characters as SQL string characters. Michael -----Original Message----- From: Voranc Kutnik [mailto:[EMAIL PROTECTED] Sent: Thursday, 1 June 2006 5:42 PM To: Michael Osmond Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Reading XML file Hello! I have a file before hand. How can I pass the content of XML file into a Property? Is it possible? Thanks, Voranc On 6/1/06, Michael Osmond <[EMAIL PROTECTED]> wrote: > Hi, > > Where is the XML File coming from - do you have it before hand, or is > it created during the install > > You could possibly pass the xml text into a Property and then use the > property in the SqlString command. > > Michael > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Voranc > Kutnik > Sent: Thursday, 1 June 2006 12:38 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Reading XML file > > Hello. > > I need to insert a string into a table in database using <SqlString> > element while installing application. The problem is that I need to > get this string from XML file (it is actually a whole content of this > XML file). > > How can I read a whole content of a (XML) file? > > Thanks, > Voranc > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in the hosting industry. Fanatical Support. Click to > learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=1216 > 42 _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users