Thanks Sudheer!  I had found this and used it to construct the example
I posted earlier, but it wasn't until I went through it more
thoroughly and downloaded the working sample that I finally noticed
the difference: The Record object's columns are 1-indexed, not
0-indexed.  I didn't notice it until I had the working example and
nonworking example side by side.

Those who may have been bitten by this unexpected feature of Windows
Installer will appreciate the slew of vulgarity I restrained myself
from broadcasting to the office.  On a more practical note, this
problem cost me two full days of development time to solve, so
hopefully this summary will turn up faster on the Google searches of
those looking for answers:

When editing the ListBox table (or any table) at install time, if
you're getting this error:

"Database:  Table(s) Update failed."

It could be, among any of the other things that could cause this
error, that you're using 0-indexing instead of 1-indexing to assign
values to your new record.

Which leads me to another question, though it might not be an
appropriate topic for this list - why exactly *is* the Record object
1-indexed instead of 0-indexed?

Thanks,
Steve

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to