Andre,

To deal with dark crashes what I've done in the past is some creative
"editing" using Orcas. Usually this means removing any offending entries and
or tables that dark is having trouble with. From the error message it looks
like dark doesn't like the value in a column named "KeyColumn". Searching
the MSI docs for "KeyColumn" shows that this field only appears in the
_Validation table. What I recommend is deleting all the rows from the
_Validation table (or any where KeyColumn <= 0).

Regards,

Rob

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of André Pönitz
Sent: Wednesday, January 31, 2007 6:57 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Crash in dark


I get an unexpect result when running dark (Version 3.0.2211.0) on one of
our old .msi files created by InstallShield.

  > dark -nologo -x data ../"GeoDAta eXchange.msi" geodax.wxs
  GeoDAta eXchange.msi
  dark.exe : error DARK0001 : Cannot set column 'KeyColumn' with value 0
because
  it is less than   the minimum allowed value for this column, 1.

  Exception Type: System.InvalidOperationException

  Stack Trace:
     bei
Microsoft.Tools.WindowsInstallerXml.ColumnDefinition.ValidateValue(Object
value)
     bei Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String
databaseFile,   Database database, OutputType outputType, String
exportBasePath)
     bei Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String
databaseFile,   OutputType outputType, String exportBasePath)
     bei Microsoft.Tools.WindowsInstallerXml.Unbinder.Unbind(String file,
OutputType outputType, String exportBasePath)
     bei Microsoft.Tools.WindowsInstallerXml.Tools.Dark.Run(String[] args)


When I run all ICEs on the .msi in Orca, I get about 50 warnings but no hard
error.

What could I do to get a skeleton .wxs for the .msi nevertheless?

Andre'

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's
Techsay panel and you'll get the chance to share your opinions on IT &
business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to