The install error message doesn't mean much to me (more context might help) but 
the lack of ModuleDependency check is known.  In WiX v3 we solved that problem 
by having light run validation at the end of the build.  Unfortunately, in WiX 
v2 you have to run validation yourself to get the error about missing 
ModuleDependency.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jared Prestwich
Sent: Wednesday, May 07, 2008 10:41
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problems with module dependency

Using WiX version 2. I had a product and merge module working together
OK, then decided I needed the merge module to depend on another merge
module (I originally added the contents of Test1 by having it be a
Fragment and referencing one of it's CustomActions in Test2).
This all compiles fine but when I install it errors out and the error in
the log file is "Note: 1: 2: Error".
Also if I comment out the MergeRef to Test1.msm in the product there is
no compilation errors as I would expect with a Dependency.

<Module Id="Test1" Guid="11111111-1111-1111-1111-111111111111"
Language="1033" Version="1.0.0">
  <Package Id ... />
  ...
</Module>

<Module Id="Test2" Guid="22222222-2222-2222-2222-222222222222"
Language="1033" Version="1.0.0">>
  <Package Id ... />
  <Dependency RequiredId="Test1.11111111_1111_1111_1111_111111111111"
RequiredLanguage="0" />
  ...
</Module>

<Product ...>
  <Package .../>
  <Media .../>
  <Directory ...>
    <Merge Id="Testt1.11111111-1111-1111-1111-111111111111"
Language="1033" SourceFile="Test1.msm" DiskId="1">
    <Merge Id="Testt2.22222222-2222-2222-2222-222222222222"
Language="1033" SourceFile="Test2.msm" DiskId="1">
  </Directory>
  <Feature ...>
    <MergeRef Id="Test1.11111111-1111-1111-1111-111111111111" />
    <MergeRef Id="Test2.22222222-2222-2222-2222-222222222222" />
  </Feature>
</Product>

-------------------------------------------------------------------------
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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to