I *think* all you would need to do is make your Property be uppercase so
it is a Public Property instead of a Private Property. Or, to put
another way, all uppercase increases the scope of your variables.

Property="DATABASENAME"

And then update any other place that uses this same Property name to
also be all uppercase.

Here's more info from the web.

Property Names 
Try using an all-uppercase directory id. It's a requirement to pass the
selection you make in the UI to the execute sequence. Uppercase property
names indicate that the property is public. For more information, see
this MSDN article. 

Retrieved from "http://wix.mindcapers.com/wiki/WiX_UI";

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chandra
Vuppala
Sent: Friday, September 12, 2008 10:01 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Help with GUI and Setting Properties

Please can anyone send sample on passing values to the msi properties
thorugh UI.
 
Thanks &  Regards,
Chandrashekar vuppala
M-9908298419
Oakton Global Technology Services Centre (India)
 Results Driven. When Business & IT Matters

________________________________

From: [EMAIL PROTECTED] on behalf of Pally Sandher
Sent: Wed 10/09/2008 8:14 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Help with GUI and Setting Properties




Add Indirect="yes" to the Edit box control.


Palbinder Sandher
Software Deployment and IT Administrator

T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com <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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marty
Dalton
Sent: 10 September 2008 00:55
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Help with GUI and Setting Properties

Hey,

I have got my GUI all set up and working. My only problem I can notwork
out is how do I set text entered by a user back into my property.
<Property Id="DatabaseName" Value="Database Name"/>
>From DatabaseDetailsDlg:
<Control Id="DatabaseLabel" Type="Text" X="20" Y="180" Width="290"
Height="18" NoPrefix="yes" Text="Database Name:" />
<Control Id="Database" Type="Edit" X="20" Y="200" Width="320"
Height="18" Property="DatabaseName"  Text="[DatabaseName]" />
This is from my Dialog follow too:
<Publish Dialog="DatabaseDetailsDlg" Control="Back"
Event="NewDialog"Value="TypeOfInstallDlg">1</Publish>
<Publish Dialog="DatabaseDetailsDlg" Control="Next"
Event="NewDialog"Value="SharedFilesDlg" >1</Publish>
So I have got Database Name appearing in my GUI, but lets say a
userchanges it to 'ThisDatabase' How do I assign that back
intoDatabaseName?

Thanks
_________________________________________________________________
Buy, rent, invest property online today.
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Eallrealestate%2Eco
%2Enz%2Freview%2Fhome%2Dbuying%2Dinfo%2Ehtml%3Frsf%3Dmsnnz%5Ftextlink&_t
=26000&_r=REA_NZ_tagline&_m=EXT
------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK &
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



IMPORTANT
1.      This email and any attachments are confidential.  Any
unauthorised dissemination or other use of these materials is
prohibited.  If received in error, please contact us and delete all
copies.  
2.      Before opening or using attachments, check them for viruses and
defects.  Our liability is limited to resupplying any affected
attachments. 
3.      Protecting your privacy is important to us.  Our privacy
statement and further information is available at www.oakton.com.au.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to