You can declare the property at the merge module level like this:

    <Property Id="FOO" SuppressModularization="yes"></Property>

Since I'm not giving the property any value it doesn't actually create the row 
in the property table ( or the table itself since I have no other properties)  
but it does tell the compiler to not modularize FOO part of the conditional 
expression used in subsequent elements.

Chris

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me


--- On Tue, 3/24/09, Reuss, Matthias <matthias.mr.re...@siemens.com> wrote:

> From: Reuss, Matthias <matthias.mr.re...@siemens.com>
> Subject: Re: [WiX-users] Data exchange between MSM and main MSI
> To: "General discussion for Windows Installer XML toolset." 
> <wix-users@lists.sourceforge.net>
> Date: Tuesday, March 24, 2009, 5:20 AM
> Yes, this is one possibility.
> 
> However, I have created merge modules with InstallShield
> and could at least type in conditions referring to
> properties of the main setup. With WiX, the Module Id is
> automatically appended there too.
> 
> Is there a general "Guideline" as to when the Moudle ID
> should be appended?
> 
> Best regards,
> 
> Matthias Reuss
> 
> > -----Ursprüngliche Nachricht-----
> > Von: John Nannenga [mailto:john.nanne...@microsoft.com]
> 
> > Gesendet: Montag, 23. März 2009 20:48
> > An: General discussion for Windows Installer XML
> toolset.
> > Betreff: Re: [WiX-users] Data exchange between MSM and
> main MSI
> > 
> > Take a look at configurable merge modules in the
> SDK...
> > http://msdn.microsoft.com/en-us/library/aa368027(VS.85).aspx
> > 
> > ________________________________________
> > From: Reuss, Matthias [matthias.mr.re...@siemens.com]
> > Sent: Monday, March 23, 2009 10:25 AM
> > To: General discussion for Windows Installer XML
> toolset.
> > Subject: [WiX-users] Data exchange between MSM and
> main MSI
> > 
> > Hello,
> > 
> > When creating a merge module, WiX appends the Module
> Idto identifiers
> > wherever it seems appropriate.
> > 
> > However, there are cases where I would like the merge
> module 
> > to use e.g.
> > property values that have been defined in the main
> MSI.
> > Is there any way to do this?
> 
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex
> Builder(TM) are
> powering Web 2.0 with engaging, cross-platform
> capabilities. Quickly and
> easily build your RIAs with Flex Builder, the
> Eclipse(TM)based development
> software that enables intelligent coding and step-through
> debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 


      

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to