Bugs item #1903337, was opened at 2008-02-27 19:18
Message generated for change (Settings changed) made by barnson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1903337&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: light
Group: v3.0
>Status: Pending
>Resolution: Fixed
Priority: 3
Private: No
Submitted By: Craig E. Shea (codeguru413)
Assigned to: Bob Arnson (barnson)
Summary: Incorrect RadioButton table definition (see 2nd Post)

Initial Comment:
I'm using Wix with Visual Studio 2005, so I'm not as familiar with the Wix 
toolset as I would like to be (but I have a project that needs to be done and 
the GUI is easier to use at this point...). My problem is per the below:

I opened the UISample.msi distributed with Windows SDK 2008 RTM with ORCA
(also provided by the same SDK). I validated the MSI to see if this was a
valid MSI. Aside from the expected errors because it is a sample MSI, there
were no other glaring errors (which is good considering this is supposed
to be a "model" MSI database).

Taking this "model" MSI database, I authored a MsiRMFilesInUse dialog
similar to the one provided in the UISample.msi. One difference is that the
RadioButton controls are actually larger (specifically, longer) than the
ones authored in the UISample.msi. In addition, I used the same exact text
for the radio buttons that was provided by UISample.msi. However, when I
validate my MSI after compiling with Wix v3.0 (through VS2005), I receive
the following ICE validation WARNINGs:

ICE03: WARNING - String overflow (greater than length permitted in column);
Table: RadioButton, Column: Text, Key(s): AppShutdownOption.1

ICE03: WARNING - String overflow (greater than length permitted in column);
Table: RadioButton, Column: Text, Key(s): AppShutdownOption.2

The only thing I can figure is that possibly the wrong data type (or data
type length) was used for the Text column in the RadioButton table
internally inside of the Wix MSI database genration engine (though I didn't
see anything in the _Validation table that could confirm/deny this).

At least these are only warnings and not errors, but I like to rid my code
of all warnings as much as is possible.

Regards,

Craig. 

----------------------------------------------------------------------

Comment By: Bob Arnson (barnson)
Date: 2008-04-24 03:48

Message:
Logged In: YES 
user_id=26581
Originator: NO

Schema.msi in the latest Windows SDK defines it as L64, which is where we
got the value for WiX. We could change it but it would yield packages that
couldn't be patched using patchwiz.dll. (The WiX patching tools would
tolerate the change, however.)

Therefore, we likely won't change this until WiX v4.

----------------------------------------------------------------------

Comment By: Craig E. Shea (codeguru413)
Date: 2008-03-06 02:15

Message:
Logged In: YES 
user_id=968541
Originator: YES

I was poking around the source code for Wix v3.3829.0 and think I found
why this ICE03 error is occurring. In the wix.dll project, there is a file
in the Data  folder named tables.xml.

In that file, the RadioButton table is defined such that the maximum
length of the Text column is 64 characters. I exported the RadioButton
table from the UISample.msi database shipped with the Microsoft Windows
2008 SDK (RTM). I have attached the resulting IDT file.

If you look at the table, you can see that the Text column should be of
type L0, which is a nullable localized string of unbounded length.

Please correct the definition of this table to avoid ICE03 warnings.
File Added: RadioButton.idt

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1903337&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to