The process of appending GUIDs to properties, component IDs, etc when
building a merge module is known as Modularization. To stop WiX doing it for
a particular property, set Property/@SuppressModularization='yes'.

Modularization is done to reduce the possibility of name clashes between
different merge modules and between the merge modules and the installer
they're merged into.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 20 June 2007 21:27
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Remove Guid from Property Id in Merge Module.

Hello,

I have a Condition being checked in a Component. That Component is in a
Merge Module ("<Module/>"). For argument's sake, less call the property
id="X". If "X=1" is satisfied, then the component should be installed.
If not, don't install it.

All that works fine, but when I look at the resulting msm file, the
actual name of the condition that is being checked is "X" concatenated
with the module Guid. 

So in the Installer that calls the Merge Module, it has to set
"X.1111-2222-3333-4444" in order to get that conditional component to
install instead of  just "X". 

Can anyone tell me how I can get the wix to create that property as just
"X", and not "X" with the Guid attached?

Thanks,

Robert.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to