Re: [WiX-users] Hiding features

2006-10-09 Thread Bob Arnson
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 >

Re: [WiX-users] Hiding features

2006-10-09 Thread Sigurd Stenersen
John Ludlow wrote: >>> I ported your code to C++ and it does indeed work. >>> >>> That is, it hides features. It doesn't seem to work for features >>> with "children", but I can live with that. Thanks a lot for >>> sharing. >> >> >> Hmmm, interesting. I assumed that this would work recursively b

Re: [WiX-users] Hiding features

2006-10-09 Thread John Ludlow
I ported your code to C++ and it does indeed work.That is, it hides features.  It doesn't seem to work for features with "children", but I can live with that.  Thanks a lot for sharing.   Hmmm, interesting.  I assumed that this would work recursively but obviously not.  Maybe you need to do the re

Re: [WiX-users] Hiding features

2006-10-09 Thread Sigurd Stenersen
John Ludlow wrote: >> Another option is to use a custom action - that's what this vbscript >> code does: >> >> Set installer = Session.Installer >> >> Set database = Session.Database >> >> Function SetFeatureVisible(feature, order) [snip] I ported your code to C++ and it does indeed work. That is

Re: [WiX-users] Hiding features

2006-10-09 Thread Sigurd Stenersen
Bob Arnson wrote: > Sigurd Stenersen wrote: >> Is it at all possible to modify the number of features in the >> feature tree, from a DLL or using some sort of action ? >> >> I'm able to set the state of features, but I would like to present >> users with different trees depending on selections made

Re: [WiX-users] Hiding features

2006-10-09 Thread John Ludlow
Bob's suggestion is one way.  You could, for example have a dialog box with a checkbox for each feature, and show/hide them as you like based on a .   Another option is to use a custom action - that's what this _vbscript_ code does: Set installer = Session.Installer Set database = Session.Database

Re: [WiX-users] Hiding features

2006-10-09 Thread david adams
m not sure that would get you to where you want to go. David Adams MSN MessengerID: [EMAIL PROTECTED] >From: Bob Arnson <[EMAIL PROTECTED]> >To: Sigurd Stenersen <[EMAIL PROTECTED]> >CC: wix-users@lists.sourceforge.net >Subject: Re: [WiX-users] Hiding features >D

Re: [WiX-users] Hiding features

2006-10-09 Thread Bob Arnson
Sigurd Stenersen wrote: > Is it at all possible to modify the number of features in the feature tree, > from a DLL or using some sort of action ? > > I'm able to set the state of features, but I would like to present users > with different trees depending on selections made in a previous dialog.

[WiX-users] Hiding features

2006-10-09 Thread Sigurd Stenersen
Is it at all possible to modify the number of features in the feature tree, from a DLL or using some sort of action ? I'm able to set the state of features, but I would like to present users with different trees depending on selections made in a previous dialog. Functionally, this is similar to