Try giving the property name all capitals, i.e., MYPROPERTY.

Rennie 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Craig Ward
> Sent: 17. juli 2007 13:32
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] updating properties
> 
> I'm trying to update a property from a PushButton. So, in my 
> project file I have:
> 
>   <Property Id="MyProperty"> 
>     MyDefaultValue
>   </Property>    
> 
> , and in a dialog I have:
> 
>   <Control Id="MyEdit" Type="Edit" X="45" Y="85" Width="220"
> Height="18" Property="TXT.VALUE" Text="{80}" />
> 
>   <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
> Height="17" Default="yes" Text="&amp;Next">
>     <Publish Property="MyProperty" Value="[TXT.VALUE]">1</Publish>
>     <Publish Event="NewDialog" Value="[WixUI_MyDlg_Next]">1</Publish>
>   </Control>
> 
> 
> Unfortunately, this doesn't change the property from its 
> default value.
> 
> Any ideas?
> 
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by DB2 Express Download DB2 
> Express C - the FREE version of DB2 express and take control 
> of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to