Condition the custom actions based on a property within the merge module, defaulting the property value such that the custom actions run by default. Then the user can pass a different value on the command line for that property so that the condition will no longer be true and the custom actions won't run. Note that the property name in the merge module will by default be modularized so that the end user will actually need to set the value for PropertyName.ModuleGuidWithDashesAsUnderscores
-Tina On Tue, Oct 14, 2008 at 10:12 AM, Ben Greenberg < [EMAIL PROTECTED]> wrote: > Is this by design? > > Any suggestions for a reasonable work around? > > Thanks, > Ben > > Bob Arnson wrote: > > Ben Greenberg wrote: > > > >> I am including a Merge Module in my MSI that includes a few CAs. I want > >> to allow the user to pass a command line property to skip these CAs. > >> > >> I can edit the Condition property of the CAs in the > >> InstallExecuteSequence table in Orca to do what I want. How can I do it > >> in WiX? > >> > >> > > > > Mergemod.dll doesn't let you change things except as exposed via > > ModuleConfiguration/ModuleSubstitution. There's nothing extra in WiX to > > make post-build changes. > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users