That build is a few months stale and likely has the
issue. You should just try swapping in the latest 2.0 build since it
should have the fix (beware of IIS though - there is currently a nasty bug in
there if you use it). Even if you tweak the length of the column in Orca,
I don't think the custom action itself was setup to handle arbitrarily long
values so you'd still hit problems there. I believe that issue should be
fixed now though.
I wouldn't suggest switching to 3.0 for any functionality
in extensions since both major versions should have the exact same code for all
the custom actions right now. As mentioned recently we still haven't
really locked down the custom action functionality in WiX 2.0, so its identical
to what's available in 3.0.
Derek
From: John Ludlow [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 8:24 AM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] XML files and large chunks of XML
I'm using v2.0.3719.0. If this is fixed in 3.0, then I may trial
it now rather than waiting for release. This would save me a whole bunch
of trouble if I can get it to work. What were the field lengths adjusted
to? In the version I have, it seems to be set to 255 (which I get by
opening the .MSI in Orca and going to Tables>Adjust Schema and
selecting the Value column).
I wasn't expecting the column width to make much difference since this is
all referenced through a property, which I figured would be dragged out then
parsed, and then the CA would use the parsed value. What seems to be
happening (which I guess makes a kind of sense) is that it's trying to set the
expanded value of the property is being stuffed back into the field, and it's
complaining because that happens to be quite long.
On 6/8/06, Derek
Cicerone <[EMAIL PROTECTED]>
wrote:
If the limitation is the length of the string in the column, we should fix that. However, I think these limits were adjusted upwards a while ago. What version of wix are you using (as reported by candle /?)?Thanks,Derek
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of John Ludlow
Sent: Thursday, June 08, 2006 6:21 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] XML files and large chunks of XML
Hi all,I have a requirement to take an old XML file and copy all the settings from /configuration/appsettings (which could be 20 or 30 settings) to the new xml file. I've managed to get this ito a property, but when I try to reference it in the XmlFile element it dies horribly. Now, I'm also setting another value in the same file, and that works fine. This is the first time that I've tried writing a big chunk of XML at once, and I think that's what's cauing it to fail.The column in the table has a maximum length of 255 characters - does this mean that the XML handler can only shift 255 characters at a time? If so, then the amount of data I want to write is more than that. What's the best way of writing a lot of data at once?ThanksJohn
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users