Sigurd Stenersen wrote: > And there is no way to delay CostFinalize to just before the featuretree > dialog is displayed ? > No. Costing happens early in the UI sequence. MSI expects the UI to have that information. > It IS possible to customize it from the outside using the command line to > set properties, and that's why it seems silly that it's (seemingly) > impossible from within. Being forced to ship the .msi with a .exe just to > set up a few properties seems rather lame. > You don't have to do that. Remember that costing happens twice, once during the UI sequence and once during the install sequence. I suspect that if you based on your feature conditions on public properties, they'd apply during the installation sequence, when CostFinalize is run. They just don't show in the selection tree control because costing was already done. Try an experiment: Use checkboxes to set public properties and then *don't* show a selection tree control. When the install sequence runs, it should use those properties in the feature conditions.
> What Remove and AddLocal do is not what I'm struggling with - that is rather > easy to do from the DLL or the MSI. > > > It also seems strange that the feature tree is allowed to control what is > installed, but at the same time this is the only way to offer install > choices from the inside of the MSI ? > It's not the only way (checkboxes work as well) but it is the "most thorough" way. And yes, it has some annoying limitations. That's why there's AddLocal and Remove control events. -- sig://boB http://bobs.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users