Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-03-02 Thread Nir Bar
You can use the localization UI element to overide these attributes in
specific cultures.
See http://wixtoolset.org/documentation/manual/v3/xsd/wixloc/ui.html

-- Nir
Freelance Developer.
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-03-01 Thread sky
I tried that but it was not allowed by WiX compiler to put a localization 
variable into value of RightToLeft attribute, the compiler reported an error… 
Can there be another solution?

 2015. 2. 27., 오후 9:48, Nir Bar-2 [via Windows Installer XML (WiX) toolset] 
 ml-node+s687559n7599377...@n2.nabble.com 작성:
 
 You can define your own localization string loc.RTL that will be either yes 
 or no. 
 
 Nir 
 --
  
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored 
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all 
 things parallel software development, from weekly thought leadership blogs to 
 news, videos, case studies, tutorials and more. Take a look and join the 
 conversation now. http://goparallel.sourceforge.net/ 
 http://goparallel.sourceforge.net/
 ___ 
 WiX-users mailing list 
 [hidden email] x-msg://2/user/SendEmail.jtp?type=nodenode=7599377i=0 
 https://lists.sourceforge.net/lists/listinfo/wix-users 
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 If you reply to this email, your message will be added to the discussion 
 below:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-localize-appearance-of-a-dialog-using-localization-variables-tp7599317p7599377.html
  
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-localize-appearance-of-a-dialog-using-localization-variables-tp7599317p7599377.html
 To unsubscribe from How to localize appearance of a dialog using localization 
 variables?, click here 
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=7599317code=dm9sb25lMjdAZ21haWwuY29tfDc1OTkzMTd8LTYwNjUxMzc0MQ==.
 NAML 
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-localize-appearance-of-a-dialog-using-localization-variables-tp7599317p7599410.html
Sent from the wix-users mailing list archive at Nabble.com.
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-02-27 Thread Nir Bar
You can define your own localization string loc.RTL that will be either yes
or no.

Nir
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-02-26 Thread Nir Bar
You can use the attributes RightAligned, RightToLeft, LeftScroll of each
relevant control/dialog.
This will cause texts to be right-aligned, read from right-to-left and
scroll bars to appear on control's left side.

However it will not cause the controls themselves to be right-aligned
(meaning that a control's X value will still be relative to the left side
of the dialog).

If a control is symetric in it's size ( 2 * Control.X = Dialog.Width -
Control.Width) then you'll probably get the behaviour you need for that
control.

Nir
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-02-26 Thread sky
Thanks, Nir Bar-2. I have one more question: Can I mirror a dialog for a
culture like ar-sa? I want to have one Dialog element with variable
appearance(LTR/RTL) according to the -cultures switch given when it is
compiled. Is this possible?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-localize-appearance-of-a-dialog-using-localization-variables-tp7599317p7599353.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-02-26 Thread sky
Thanks for the reply. But, value of the RightToLeft attribute doesn't seem to
be a localization variable like RightToLeft=!(loc.RTL). If it is
impossible to have one dialog for LRT/RTL languages, then can I have two
dialogs for each language and provide appropriate one according to
'-cultures' switch(or 'Cultures to build' value in WiX project properties)
at compile time? Or, do I have to create another project for RTL language?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-localize-appearance-of-a-dialog-using-localization-variables-tp7599317p7599373.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-02-25 Thread sky
Thanks for the reply. But, this time I'm not using WiX Burn, just creating an
MSI file...(no bootstrapper)



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-localize-appearance-of-a-dialog-using-localization-variables-tp7599317p7599321.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-02-25 Thread Phill Hogland
I suspect that you will need to put the logic to hide the button in a
BAFunctions.dll.  See the samples in the wix source archive. 
src\burn\Samples\bafunctions.  There is more information on this approach at
wixextba.codeplex.com where the concept of a BAfunctions dll was developed
(for wix 3.7) and later integrated into wix 3.8 (and later).  



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-localize-appearance-of-a-dialog-using-localization-variables-tp7599317p7599318.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to localize appearance of a dialog using localization variables?

2015-02-25 Thread Nir Bar
You can use a Condition
http://wixtoolset.org/documentation/manual/v3/xsd/wix/condition.html
element under the relevant Control
http://wixtoolset.org/documentation/manual/v3/xsd/wix/control.html
element.
In the below sample the control will be hidden for US English:

Control ...
  Condition Action=hideProductLanguage=1033/Condition
/Control

Nir.
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users