Hi,
<Control Type="Text" Width="160" Height="9" X="124" Y="60"
Id="txtInstallLocationValue">
<Text>[INSTALLDIR]</Text>
</Control>
That should work without needing the Localization string as it appears
to localise whatever is inside the <text> tags as a matter of course at
install time. It certainly works for me & you can put other text around
the identifier if you like.
See http://wix.sourceforge.net/manual-wix2/wix_xsd_control.htm for more
info.
Cheers,
<http://www.iesve.com/>
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 <http://www.iesve.com/disclaimer.html>
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rik
Sent: 24 May 2007 10:15
To: Matthew Janulewicz; wix-users@lists.sourceforge.net
Subject: [WiX-users] Fwd: How to display a the installation folder on
the UI?
Fixed it!
I had to create a Wix Localization string, and use that string in the
text control:
<WixLocalization>
<String Id="Dlg_InstallDir">[INSTALLDIR]</String>
</WixLocalization>
...
<Control Type="Text" Width="160" Height="10" X="124" Y="140"
Id="txtLocationValue" Text="$(loc.Dlg_InstallDir)"/>
Thanks for the help!
Rik
---------- Forwarded message ----------
From: Rik <[EMAIL PROTECTED]>
Date: 24-May-2007 10:06
Subject: Re: [WiX-users] How to display a the installation folder on the
UI?
To: Matthew Janulewicz <[EMAIL PROTECTED]>
Cc: wix-users@lists.sourceforge.net
Hi Matt,
Thanks for the tip.
I've increased the width of the control to 250, which should be plenty I
guess, but it's not made any difference.
The Users can choose a different installation location, but this is done
earlier in the UI sequence using the standard CustomizeDlg. On the
screen I'm creating I just want to display the installation location.
Using an edit control works - the full path is displayed, But I just
want to display the value in a text field, not an edit box.
Any ideas?
Rik
On 23/05/07, Matthew Janulewicz <[EMAIL PROTECTED]> wrote:
I think this is because the width of the control is not wide
enough to display the whole thing, so it truncates it.
Do your users have the ability to browse to a new install
location? You might consider using a control of type 'Edit'.
-Matt
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rik
Sent: Wednesday, May 23, 2007 8:58 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to display a the installation folder on
the UI?
Hi All,
WiX: v2
I'm trying to display the intended installation folder on a
confirmation type screen as part of the UI for the installation.
I'm using the following control:
<Control Type="Text" Width="160" Height="9" X="124"
Y="60" Id="txtInstallLocationValue" Text="[INSTALLDIR]" />
Where INSTALLDIR is the directory where my components will be
placed.
The GUI, however, only displays the last part of the path.
Something like: "..\Product Name"
How do I display the full path of the target folder?
Rik
-------------------------------------------------------------------------
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