Bugs item #1637945, was opened at 2007-01-17 10:11
Message generated for change (Comment added) made by pmarcu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1637945&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: light
Group: v3.0
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Peter Crabtree (petercrabtree)
Assigned to: pmarcu (pmarcu)
Summary: light fails when merging Microsoft VFP 9 Runtime MSMs

Initial Comment:
light fails when merging the three minimally required MSMs for the Microsoft 
Visual Foxpro 9 runtimes (in particular, "VFP9Runtime.msm", "VFP_GDIPlus.msm", 
and "VC_User_CRT71_RTL_X86_---.msm"). Below is the error output. Attached is a 
sample Votive project which demonstrates the bug.

Here's where you can get the MSM files (the .zip also includes the source and 
project files), if you don't have Visual Foxpro 9 (I had problems uploading 
them):

http://petercrabtree.net/tmp/wix/wixbugwithmsms.zip

------
Microsoft (R) Windows Installer Xml Linker version 3.0.2420.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.

C:\Documents and Settings\Peter Crabtree\Local 
Settings\Temp\dz09sx0q\wixbug.msi : error LGHT0204 : ICE32: Possible 
Mis-Aligned Foreign Keys
Feature.1 = s38
Condition.Feature_ = s32
C:\Documents and Settings\Peter Crabtree\Local 
Settings\Temp\dz09sx0q\wixbug.msi : error LGHT0204 : ICE32: Possible 
Mis-Aligned Foreign Keys
Feature.1 = s38
TypeLib.Feature_ = s32
C:\Documents and Settings\Peter Crabtree\Local 
Settings\Temp\dz09sx0q\wixbug.msi : error LGHT0204 : ICE32: Possible 
Mis-Aligned Foreign Keys
Feature.1 = s38
Class.Feature_ = s32
C:\Documents and Settings\Peter Crabtree\Local 
Settings\Temp\dz09sx0q\wixbug.msi : error LGHT0204 : ICE32: Possible 
Mis-Aligned Foreign Keys
Feature.1 = s38
PublishComponent.Feature_ = s32
C:\Documents and Settings\Peter Crabtree\Local 
Settings\Temp\dz09sx0q\wixbug.msi : error LGHT0204 : ICE32: Possible 
Mis-Aligned Foreign Keys
Feature.1 = s38
Extension.Feature_ = s32
C:\Documents and Settings\Peter Crabtree\Local 
Settings\Temp\dz09sx0q\wixbug.msi : error LGHT0204 : ICE32: Possible 
Mis-Aligned Foreign Keys
Feature.1 = s38
FeatureComponents.Feature_ = s32
light.exe : warning LGHT1076 : ICE82: This action 
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate sequence 
number 1 in the table InstallExecuteSequence
light.exe : warning LGHT1076 : ICE82: This action 
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate sequence 
number 1 in the table InstallUISequence
light.exe : warning LGHT1076 : ICE82: This action 
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate sequence 
number 1 in the table AdminExecuteSequence
light.exe : warning LGHT1076 : ICE82: This action 
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate sequence 
number 1 in the table AdminUISequence
light.exe : warning LGHT1076 : ICE82: This action 
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate sequence 
number 1 in the table AdvtExecuteSequence


----------------------------------------------------------------------

>Comment By: pmarcu (pmarcu)
Date: 2007-11-01 13:35

Message:
Logged In: YES 
user_id=1612676
Originator: NO

Closing this because the behavior of light is correct.

----------------------------------------------------------------------

Comment By: Peter Crabtree (petercrabtree)
Date: 2007-01-26 10:25

Message:
Logged In: YES 
user_id=1694142
Originator: YES

All right. So then perhaps the bug entry should focus on creating a more
descriptive error. I had no idea where to go from here to repair the
problem (besides adding ICE32 to the ignore list...).

Admittedly, that's partially due to my lack of expertise regarding Windows
Installer technology, and I have no aversion to learning, but there are
only so many hours in the day, and isn't the basic point of WiX to prevent
someone from having to know everything about Windows Installer (just trying
to make my case to whomever would be in a position to improve this :) ).

Thanks!

----------------------------------------------------------------------

Comment By: Thomas Moerkerken (tm001)
Date: 2007-01-26 09:47

Message:
Logged In: YES 
user_id=1561870
Originator: NO

Peter, i hit this this error today as well. This is not so much a light
bug, as it is light complaining about the garbage it is given ;) 

The s38 and s32 are string lengths for columns of the MSI tables and they
are obviously not the same.There are several ways to work around this:

1) Edit your wxs source and add these lines somewhere under the <Product>
element
<EnsureTable Id="Feature" />
<EnsureTable Id="FeatureComponents" />
<EnsureTable Id="Extension" />
<EnsureTable Id="Class" />
<EnsureTable Id="TypeLib" />
<EnsureTable Id="Condition" />
<EnsureTable Id="PublishComponent" />

This way you make sure the tables exist before attempting to merge (see
the schema)

2) Edit the MergeModule with a tool like Orca and change the column
definition to the correct length. I did this by exporting a table, edit it,
then import it again.

Cheers,
-Thomas

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1637945&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to