Menu

#1214 dark fails on Wise MSI due to UnexpectedColumnCount

v3.0
closed
dark (136)
2014-06-26
2008-05-28
No

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.

Discussion

  • Andrew Sampson

    Andrew Sampson - 2008-05-28

    Logged In: YES
    user_id=1939857
    Originator: YES

    Forgot to mention - the error occurred with build 3.0.4123.

     
  • Aaron Stebner

    Aaron Stebner - 2008-05-28

    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.

     
  • tuthke

    tuthke - 2008-06-09

    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?

     
  • Heath Stewart

    Heath Stewart - 2008-10-10

    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.

     
  • Mike Rerick

    Mike Rerick - 2008-10-10

    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.

    webserver.msi
    C:\Program Files\WixEdit\wix-3.0.4603.0\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.

    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.

    webserver.msi
    C:\Program Files\WixEdit\wix-3.0.4603.0\WixDirectXExtension.dll : error DARK0143
    A parsed tuple has more fields for table 'CustomAction' than are defined. Th
    is is potentially because a standard table is being redefined as a custom table.

    Mike Rerick
    mrerick@iwsinc.com

     
  • Koby Kahane

    Koby Kahane - 2008-10-19

    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.

     
  • Heath Stewart

    Heath Stewart - 2008-11-07

    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).

     
  • SourceForge Robot

    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).

     
MongoDB Logo MongoDB