I'm getting some behaviour which surprised me... if I have the following 
in a merge module

<Directory Id="CommonFilesFolder">
     <Directory Id="CommonFilesFolder_A" Name="A">
         <Directory Id="CommonFilesFolder_B" Name="B">
             <Component Id="test.txt" Guid="*">
                 <File Id="test.txt" Source="d:\temp\test.txt"/>
             </Component>
         </Directory>
     </Directory>
</Directory>

then when I build an installer using this merge module, I get a number 
of messages like

    light.exe(0,0): warning LGHT1076: ICE82: This action
    CommonFilesFolder_B.E2FF78A9_BB72_4A5F_A259_16A004F2BFDF
    has duplicate sequence number 1 in the table InstallExecuteSequence

and the file test.txt is installed directly in the CommonFilesFolder 
(rather than in the subdirectory A\B below it).

If I change the Ids of the subfolder Directory elements to

<Directory Id="CommonFilesFolder">
     <Directory Id="XCommonFilesFolder_A" Name="A">
         <Directory Id="XCommonFilesFolder_B" Name="B">
             <Component Id="test.txt" Guid="*">
                 <File Id="test.txt" Source="d:\temp\test.txt"/>
             </Component>
         </Directory>
     </Directory>
</Directory>

(i.e insert an 'X' at the start), then I get no warning messages, and 
the file test.txt is installed in the correct location.

Are there some Id name rules I'm not aware of?

-- 
Cheers,
John

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to