Under your feature you can set display="hidden" on the feature and the 
user will not be able to modify it.
http://wix.sourceforge.net/manual-wix2/wix_xsd_feature.htm

--Sam

On 3/25/2010 11:10 PM, Rohit Sharma (SIDC) wrote:
> So is there no way I can do this, even if I could HIDE the feature in
> selection tree that would work for me. But if that is also possible can
> you suggest me what else I can try? CustomAction in C++ which maybe
> allows to set Level for a feature. If not probably I would go for the
> workaround.. i.e. change the UI mode to INSTALLDIR and don't show the
> customsetup dialog to the user.
>
> -----Original Message-----
> From: Bob Arnson [mailto:b...@joyofsetup.com]
> Sent: Friday, March 26, 2010 6:31 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Feature Tree modification based on property.
>
> On 3/25/2010 3:12 PM, Rohit Sharma (SIDC) wrote:
>    
>> I tried setting INSTALLLEVEL=101 from control event of next button as
>> suggested in comment# 17 from Daniel in Bob's blog to trigger
>> re-evaluation of feature condition but it didn't work for me.
>>
>>      
> I don't think it's documented to work. Feature levels (and the selection
>
> tree control) might not provide the level of control you're looking for,
>
> which is why I discussed the AddLocal and Remove control events in my
> blog post.
>
>    


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to