Re: [WiX-users] Property value not changing properly

2010-03-04 Thread Alex Wernecke
Fantastic. Thanks for your help, got it working.

Regards,

Alex

-Original Message-
From: Lisa Gracias [mailto:lisathelugubri...@gmail.com] 
Sent: Wednesday, March 03, 2010 2:49 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Property value not changing properly

I had the same problem. Apparently, "Feature conditions that include
properties set during the UI sequence won't work as expected." Instead,
use
the AddLocal and Remove events.
This should shed some light on the issue:
http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/

On Wed, Mar 3, 2010 at 5:11 PM, Alex Wernecke
wrote:

> Hi,
>
>
>
> I have a problem with a condition that checks a property's value in
> order to set the LEVEL for a FEATURE
>
>
>
> Here is my code
>
>
>
> PROPERTY that is used by the RADIOBUTTONGROUP :
>
>
>
> 
>
>
>
> I have tried leaving the value out, changing to different etc etc but
> compiler errors occur then...
>
>
>
> FEATURE :
>
>
>
> 
>   Title='Type1' Description='Installs Files Required for
> Type1 Setup.'
>
>   Level='3000'
>
>   InstallDefault='local'
>
>   >
>
>  SETUPNUMBER="2"
>
>
>
> 
>
> 
>   Title='Type2' Description='Installs Files Required for
> Type2 Setup.'
>
>   Level='1000'
>
>   InstallDefault='local'
>
>   >
>
> 
>
>
>
> 
>   Title='Type3' Description='Installs Files Required for
> Type2 Setup.'
>
>   Level='2000'
>
>   InstallDefault='local'>
>
>
>
>
>
>
>
>
>
> RADIOBUTTONGROUP :
>
>
>
>  X="40" Y="80" Property="SETUPNUMBER">
>
>  
>
> X="0" Y="0"/>
>
> X="0" Y="25" />
>
> X="0" Y="50" />
>
> X="0" Y="120"/>
>
>  
>
>
>
>
>
> This sets the SETUPNUMBER Properties value to 1,2,3 or 4 depending on
> the selected radiobutton.
>
> I know this working because the following code works properly as
> expected if the property has changed accordingly :
>
>
>
>  Height="17" Default="yes" Text="!(loc.WixUINext)">
>
>  
>
>   Order="1">SETUPNUMBER="1"
>
>  
> SETUPNUMBER="1"
>
>  
>
>   Order="6">SETUPNUMBER="2"
>
>   Order="7">SETUPNUMBER="2"
>
>  
>
>   Order="5">SETUPNUMBER="3"
>
>   Order="7">SETUPNUMBER="3")
>
>
>
>
>
>
>
> For some reason the property's value that is read by the condition in
> the features section is the same value as the value in the property
> declaration. And not the value of the selected radiobutton?
>
>
>
> How would I get this to work??
>
>
>
> Many thanks,
>
>
>
> Alex
>
>
>
>
>

--
> 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
>

--
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
 

__ Information from ESET Smart Security, version of virus
signature database 4911 (20100303) __

The message was checked by ESET Smart Security.

http://www.eset.com
  

__ Information from ESET Smart Security, version of virus
signature database 4913 (20100303) __

The message was checked by ESET Smart Security.

http://www.eset.com
 
 

__ Information from ESET Smart Security, version of virus
signature database 4913 (20100303) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

--
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


Re: [WiX-users] Property value not changing properly

2010-03-03 Thread Lisa Gracias
I had the same problem. Apparently, "Feature conditions that include
properties set during the UI sequence won’t work as expected." Instead, use
the AddLocal and Remove events.
This should shed some light on the issue:
http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/

On Wed, Mar 3, 2010 at 5:11 PM, Alex Wernecke wrote:

> Hi,
>
>
>
> I have a problem with a condition that checks a property's value in
> order to set the LEVEL for a FEATURE
>
>
>
> Here is my code
>
>
>
> PROPERTY that is used by the RADIOBUTTONGROUP :
>
>
>
> 
>
>
>
> I have tried leaving the value out, changing to different etc etc but
> compiler errors occur then...
>
>
>
> FEATURE :
>
>
>
> 
>   Title='Type1' Description='Installs Files Required for
> Type1 Setup.'
>
>   Level='3000'
>
>   InstallDefault='local'
>
>   >
>
>  SETUPNUMBER="2"
>
>
>
> 
>
> 
>   Title='Type2' Description='Installs Files Required for
> Type2 Setup.'
>
>   Level='1000'
>
>   InstallDefault='local'
>
>   >
>
> 
>
>
>
> 
>   Title='Type3' Description='Installs Files Required for
> Type2 Setup.'
>
>   Level='2000'
>
>   InstallDefault='local'>
>
>
>
>
>
>
>
>
>
> RADIOBUTTONGROUP :
>
>
>
>  X="40" Y="80" Property="SETUPNUMBER">
>
>  
>
> X="0" Y="0"/>
>
> X="0" Y="25" />
>
> X="0" Y="50" />
>
> X="0" Y="120"/>
>
>  
>
>
>
>
>
> This sets the SETUPNUMBER Properties value to 1,2,3 or 4 depending on
> the selected radiobutton.
>
> I know this working because the following code works properly as
> expected if the property has changed accordingly :
>
>
>
>  Height="17" Default="yes" Text="!(loc.WixUINext)">
>
>  
>
>   Order="1">SETUPNUMBER="1"
>
>  
> SETUPNUMBER="1"
>
>  
>
>   Order="6">SETUPNUMBER="2"
>
>   Order="7">SETUPNUMBER="2"
>
>  
>
>   Order="5">SETUPNUMBER="3"
>
>   Order="7">SETUPNUMBER="3")
>
>
>
>
>
>
>
> For some reason the property's value that is read by the condition in
> the features section is the same value as the value in the property
> declaration. And not the value of the selected radiobutton?
>
>
>
> How would I get this to work??
>
>
>
> Many thanks,
>
>
>
> Alex
>
>
>
>
> --
> 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
>
--
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


[WiX-users] Property value not changing properly

2010-03-03 Thread Alex Wernecke
Hi,



I have a problem with a condition that checks a property's value in
order to set the LEVEL for a FEATURE

 

Here is my code

 

PROPERTY that is used by the RADIOBUTTONGROUP :

 



 

I have tried leaving the value out, changing to different etc etc but
compiler errors occur then...

 

FEATURE :

 



  SETUPNUMBER="2"









 



 

 

 

 

RADIOBUTTONGROUP :

 

  

  









  

 

 

This sets the SETUPNUMBER Properties value to 1,2,3 or 4 depending on
the selected radiobutton.

I know this working because the following code works properly as
expected if the property has changed accordingly :

 

  

  

  SETUPNUMBER="1"

  
SETUPNUMBER="1"

  

  SETUPNUMBER="2"

  SETUPNUMBER="2"

  

  SETUPNUMBER="3"

  SETUPNUMBER="3")



 

 

For some reason the property's value that is read by the condition in
the features section is the same value as the value in the property
declaration. And not the value of the selected radiobutton?

 

How would I get this to work?? 

 

Many thanks,

 

Alex

 

--
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