Bugs item #1947028, was opened at 2008-04-20 14:41 Message generated for change (Comment added) made by malesh You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1947028&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: dark Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andrew Sampson (malesh) Assigned to: Nobody/Anonymous (nobody) Summary: dark throws exception on Control table Initial Comment: Decompiling the CheckBox table. Decompiling the Icon table. Decompiling the ProgId table. Decompiling the Class table. Decompiling the ComboBox table. Decompiling the Complus table. Decompiling the Condition table. Decompiling the Dialog table. Decompiling the Control 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.ControlRow.get_X() at Microsoft.Tools.WindowsInstallerXml.Decompiler.DecompileControlTable(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) An example row in the Control table looked like this: Dialog = 'Welcome_Dialog' Control = 'Text1' Type = 'Text' X = 136 Y = 60 Width = 228 Height = 30 Attributes = 65539 Property = "" Text = "Standard_Dialogue_BackGround" Control Next = "" Help = "" ---------------------------------------------------------------------- >Comment By: Andrew Sampson (malesh) Date: 2008-04-20 14:46 Message: Logged In: YES user_id=1939857 Originator: YES If -sui is passed on the command line, dark will instead crash like this: Decompiling the WiseCommandLine table. C:\Projects\AndrewS\WixInstalls\MDref\MDRef.msi : warning DARK1060 : The WiseCommandLine table is being decompiled as a custom table. Decompiling the WiseDlgSequence table. C:\Projects\AndrewS\WixInstalls\MDref\MDRef.msi : warning DARK1060 : The WiseDlgSequence table is being decompiled as a custom table. Decompiling the WiseFileHash table. C:\Projects\AndrewS\WixInstalls\MDref\MDRef.msi : warning DARK1060 : The WiseFileHash table is being decompiled as a custom table. Decompiling the WisePathVariable table. C:\Projects\AndrewS\WixInstalls\MDref\MDRef.msi : warning DARK1060 : The WisePathVariable table is being decompiled as a custom table. Decompiling the WiseVersionInfo table. C:\Projects\AndrewS\WixInstalls\MDref\MDRef.msi : warning DARK1060 : The WiseVersionInfo table is being decompiled as a custom table. dark.exe : error DARK0001 : Object reference not set to an instance of an object. Exception Type: System.NullReferenceException Stack Trace: at Microsoft.Tools.WindowsInstallerXml.Decompiler.FinalizeCheckBoxTable(TableCollection tables) at Microsoft.Tools.WindowsInstallerXml.Decompiler.FinalizeDecompile(TableCollection tables) at Microsoft.Tools.WindowsInstallerXml.Decompiler.Decompile(Output output) at Microsoft.Tools.WindowsInstallerXml.Tools.Dark.Run(String[] args) Note that emptying the Control table of rows will prevent both of these exceptions. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1947028&group_id=105970 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
