Bug in Dark on processing RadioButton table.
How to fix:
In file wix\src\wix\Decompiler.cs [7322]
Bad:
private void DecompileRadioButtonTable(Table table)
{
...
radioButton.X = (string)row[3];
radioButton.Y = (string)row[4];
radioButton.Width = (string)row[5];
radioButton.Height = (string)row[6];
...
}
Fixed:
private void DecompileRadioButtonTable(Table table)
{
...
radioButton.X = (int)row[3];
radioButton.Y = (int)row[4];
radioButton.Width = (int)row[5];
radioButton.Height = (int)row[6];
...
}
Also must be fixed types of Wix.RadioButton properties: X,Y,Width,Height - string -> int
Error details:
S:\Storage\Software\xxxx.msi : warning DARK1060 : The BindingRedirections table is being decompiled as a custom table.
dark.exe : error DARK0001 : Unable to cast object of type 'System.Int32' to type 'System.String'.
Exception Type: System.InvalidCastException
Stack Trace:
at Microsoft.Tools.WindowsInstallerXml.Decompiler.DecompileRadioButtonTable(Table table)
at Microsoft.Tools.WindowsInstallerXml.Decompiler.DecompileTables(Output output)
at Microsoft.Tools.WindowsInstallerXml.Decompiler.Decompile(Output output)
at Microsoft.Tools.WindowsInstallerXml.Tools.Dark.Run(String[] args)
Logged In: YES
user_id=955147
Originator: YES
Bug #1979210 dublicate it.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 15 days (the time period specified by
the administrator of this Tracker).