To answer your question, no I don't think that's possible. I think you
need at least one Component under that Feature to enable that option.
FYI Features install Components not files & Components can contain more
than just files. You could try & work around that by creating a
Component which installs a stub RegistryValue as per the Shortcut
example in the WiX documentation.

Do you really need the sub-sub Features (Features 1-3 in your example)
as actual Features? That implies the user should be able to selectively
allow them for installation. If that's not the case don't create
Features for them, just add the Components directly to Sub1 & Sub2.

What Level do Feature 1-3 default to? Have you set the Absent attribute
on them? Are you using the AllowAdvertise & TypicalDefault attributes to
allow or deny Advertising them? What have you set the Display attribute
on Sub1 & Sub2 to?

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: John D. Marinuzzi [mailto:nu...@hypack.com] 
Sent: 22 November 2010 19:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Installation of features and sub-features...

In the installation of our software, I have some features that don't
themselves contain files to be installed but the sub-features do.  The
tree looks something like this:

 

Root Feature (No files, just a container)

                Sub1 (No files, just a container)

                                Feature 1 (files)

                                Feature 2 (files)

                                Feature 3 (files)

                Sub2 (No files, just a container)

                                Feature 1 (files)

                                Feature 2 (files)

                                Feature 3 (files)

 

 

I have the Root expanded, but not the Subs.  He selected "Will be
installed on local Hard Drive" for Sub1 and nothing was installed.
Being the most knowledgable user of our software he was concerned other
users might run into the same error.

 

So, my question is, without expanding every level of the tree to see
exactly what's going on, is there a way to have the features that do not
contain files only have an "Entire Feature Will be installed." option?

 

Thank You,

 

John

 

------------------------------------------------------------------------
------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to