Currently, there is limited scoping of properties in Wix 3.x.  The only problem 
you may sometimes run into is when a property crosses the UI to Execute 
boundary--to do that, you'll need a public secure property.

So, how exactly do you want to "access" MyFeature?

--
John Merryweather Cooper
Senior Software Engineer | Enterprise Service Applications | Continuing 
Development
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 
|jocoo...@jackhenry.com



-----Original Message-----
From: Noel Farrugia [mailto:noel.farru...@outlook.com] 
Sent: Monday, September 15, 2014 7:17 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Check that at least one Feature is selected

Hi all,
 
I have a setup with feature selection enabled like this one now, in a file 
called "MyInstaller.wxs",
 
<Feature Id="MyFeature"


             Title="MyTitle"


             Description="Desc...."


             Level="1" AllowAdvertise="no" Absent="allow" 
TypicalDefault="install">



      <ComponentGroupRef Id="Test Component"/>
      .
      .
      .    
    </Feature>
 
The code that handles the User interface is in another file called 
UserInterface.wxi. 
I know that to check if a certain feature is selected I need to do 
<[CDATA[&MyFeature=3]]> in the "Publish" line example:
 
<Publish Property="FeatureChoiceDlgPrev" 
Value="InstallWelcomeDlg">$(var.allowFeatureChoice) = 1</Publish>
 
now my question is how can I access the "MyFeature" which is located in 
"MyInstaller.wxs" in the "UserInterface.wxi"file ?
 
Thanks a lot for your help :)
 
Noel
                                          
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce Perforce version control. 
Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to