Re: [WiX-users] Dark Errors on ModuleSignature decompile on MSM created with Microsoft Visual Studio Installer 1.1

2008-10-15 Thread Rob Mensching
Can you please open a bug on the issue.

-Original Message-
From: James Horsley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 01:54
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Dark Errors on ModuleSignature decompile on MSM created 
with Microsoft Visual Studio Installer 1.1

When decompiling merge modules created by Microsoft Visual Studio Installer
1.1 Dark is giving the following error:
Decompiling the ModuleSignature 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.DecompileModuleSignatureTable
(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)
Further analysis shows this is because the schema of the ModuleSignature
table is slightly different to what Dark is expecting - in particular the
"Version" column is defined as string length 72 Nullable instead of String
length 32 not nullable.
A work around is to edit the offending msm with Orca. Go to ModuleSignature
table, highlight and cut the single row, right click ad "Adjust Schema",
change Version to length 32 and remove tick in Nullable, apply and then
paste the single row back and save the msm.
However it would help if Dark was more relaxed about this difference - maybe
reporting a warning - as the data in the columns is fine



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Dark Errors on ModuleSignature decompile on MSM created with Microsoft Visual Studio Installer 1.1

2008-10-15 Thread James Horsley
When decompiling merge modules created by Microsoft Visual Studio Installer
1.1 Dark is giving the following error: 
Decompiling the ModuleSignature 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.DecompileModuleSignatureTable
(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) 
Further analysis shows this is because the schema of the ModuleSignature
table is slightly different to what Dark is expecting - in particular the
"Version" column is defined as string length 72 Nullable instead of String
length 32 not nullable.
A work around is to edit the offending msm with Orca. Go to ModuleSignature
table, highlight and cut the single row, right click ad "Adjust Schema",
change Version to length 32 and remove tick in Nullable, apply and then
paste the single row back and save the msm.
However it would help if Dark was more relaxed about this difference - maybe
reporting a warning - as the data in the columns is fine



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users