C:\Program Files\Windows Installer XML v3\bin\WixDifxAppExtension.dll : error DARK0143 : A parsed tuple has more fields for table 'CustomAction' than are defined. This is potentially because a standard table is being redefined as a custom
table.
The schema for the CustomAction table in the MSI is
Action string(72) NOT NULL
Type shortint NOT NULL
Source string(64)
Target string(255)
As far as I can tell, the schema for the CustomAction table is correct. The MSI was created via Wise. The error still occurs even if the CustomAction table is empty.
Logged In: YES
user_id=1939857
Originator: YES
Forgot to mention - the error occurred with build 3.0.4123.
Logged In: YES
user_id=1751591
Originator: NO
I saw this last weekend as well and I've been looking into it a bit further. It was introduced between the 4102 and 4109 builds. The fix for SF:1786354 added an ExtendedType column to the CustomAction table to support Windows Installer 4.5. The decompiler appears to be having trouble because the .wixlibs in the extension DLLs it tries to load do not have the ExtendedType column defined. The decompiler will need to be able to support CustomAction tables that have this new column and also ones that don't.
Logged In: YES
user_id=2112488
Originator: NO
The error is still existing in version 3.0.4207 also for a .msi created by Wise. ANy news about a fix yet?
This works in version 3.0.4603.0 but please make sure that the extensions you're using are the same file version (from the same WiX distribution) so that the new table definitions are compiled into the extensions.
If this still repros for you even then, please include the file versions of the affected extensions and dark.exe and reopen this bug.
Heath,
I tried decompiling an InstallShield 11.5 MSI with 4603 and got the following DARK0143 error:
"C:\Program Files\WixEdit\wix-3.0.4603.0\dark" webserver.msi –o WebServer.wxs -x files
Microsoft (R) Windows Installer Xml Decompiler version 3.0.4603.0
Copyright (C) Microsoft Corporation. All rights reserved.
is potentially because a standard table is being redefined as a custom table.
I also tried using the –sct option to suppress the custom tables and got the same error.
"C:\Program Files\WixEdit\wix-3.0.4603.0\dark" webserver.msi -o WebServer.wxs -x files -sct
Microsoft (R) Windows Installer Xml Decompiler version 3.0.4603.0
Copyright (C) Microsoft Corporation. All rights reserved.
is is potentially because a standard table is being redefined as a custom table.
Mike Rerick
mrerick@iwsinc.com
This still reproduces with WiX v3.0.4617.0.
I extracted the .NET 1.0 Framework MSI from the downloadable redistributable dotnetredist.exe using WinRAR. When running Dark on the extracted netfx.msi, the result is as follows:
C:\ <snipped> >"C:\Program Files\Windows Installer XML Toolset 3.0.4617.0\bin\
dark.exe" netfx.msi
Microsoft (R) Windows Installer Xml Decompiler version 3.0.4617.0
Copyright (C) Microsoft Corporation. All rights reserved.</snipped>
netfx.msi
C:\Program Files\Windows Installer XML Toolset 3.0.4617.0\bin\WixDirectXExtension.dll : error DARK0143 : A parsed tuple has more fields for table 'CustomAction' than are defined. This is potentially because a standard table is being redefined as a custom table.
If I edit netfx.msi with Orca and adjust the schema for the CustomAction table by adding a last field ExtendedType of type Short Int, Dark is successful.
Table definitions from the decompiled product differed with the output objects in extensions. Empty extra columns are allowed and this exception is only thrown if extra columns are not empty (allowing for extraneous columns).
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 21 days (the time period specified by
the administrator of this Tracker).