Ah...  thanks for the clarification.
 
-Francis
 


 
On 6/19/06, Derek Cicerone <[EMAIL PROTECTED]> wrote:

The Id used in Merge and MergeRef is completely arbitrary.  It's used by wix to match up the Merge and MergeRef elements.  It can be whatever you want it to be.

 

The Id used in the Module element, however, must be a legal identifier since it's used to populate the ModuleSignature table.

 

Derek

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Francis Kam
Sent: Monday, June 19, 2006 4:33 PM
To: Zhong Xinyi
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Referencing merge modules

 

It's probably related to this:

 

 

-Francis

 



 

On 6/13/06, Zhong Xinyi < [EMAIL PROTECTED]> wrote:

Hi all,

I have a question regarding the way to reference a
merge module. Based on a wix tutorial i saw on the
web, http://www.tramontana.co.hu/wix/lesson4.php#4.4 ,
the author wrote a separate merge module file which
includes this line : <Module Id="File1"
Guid="YOURGUID-8DEE-4410-990A-1802896C4209"
Language="0" Version="1.2.3">

In the main source file, the author actually
references this merge module by indicating :
<Merge Id=" file1.YOURGUID-8DEE-4410-990A-1802896C4209 "
Language="1033" SourceFile="Module1.msm" DiskId="1" />
and <MergeRef
Id="file1.YOURGUID-8DEE-4410-990A-1802896C4209" />.

I have tried out using other strings for the Merge Id
instead such as "firstMergeModule" and it actually
works. However, I believe that the author must have a
reason for combining the module Id and its GUID to
form the merge Id to be used in the main source file
inorder to reference the newly added merge module.

Anyone has a clue regarding why the author used such
an Id combination?

Thanks and Regards,
Cindy

Send instant messages to your online friends http://asia.messenger.yahoo.com


_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 


_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to