Do MM custom actions get triggered even if the module/feature is not
selected for installation?

I have included 2 merge modules in my setup something like: 

                <Directory Id="TARGETDIR" Name="SourceDir">
                        <Directory Id="WEBDIR" Name="Inetpub">
                                <Directory Id="PxWS" Name="PxWS">
                                        <Merge Id='PxWSModule'
Language='1033' SourceFile='../Release/PxWSMergeModule.msm' DiskId='1'>
                                                <ConfigurationData
Name="PxFolder_Property" Value="[INSTALLLOCATION]" />
                                        </Merge> 
                                </Directory>
                        </Directory>
 
                        <Directory Id="ProgramFilesFolder">
                                <Directory Id="INSTALLLOCATION"
Name="Proximex">
                                        <Merge Id='PxDbModule'
Language='1033' SourceFile='../Release/PxDbModule.msm' DiskId='1' />
                                </Directory>
                        </Directory>
                </Directory>


                <Feature Id="PxDBFeature" Title="Proximex Database"
Level="1" ConfigurableDirectory="INSTALLLOCATION"
TypicalDefault="install" >
                        <MergeRef Id='PxDbModule' />
                </Feature>
                
                <Feature Id="ProximexWebService" Title="Proximex Web
Service" Level="2">
                        <MergeRef Id='PxWSModule' />
                </Feature>


Now when I run the setup and select only PxDbModule it still perform the
actions from PxWSModule (it doesn't seem to copy the files but the
custom actions seem to get triggered
Do I need to add any condition in my custom actions so that they don't
get triggered?

Thanks
Shree

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to