Re: [WiX-users] Property in localized string?

2010-07-23 Thread Blair
If you don't mind "polluting" your Property table, you could create MSI
properties importing your relevant MSBuild properties:

In your WIXPROJ file (under an appropriate element):
MyProperty=$(MyProperty);$(DefineConstants)

In your WXS (in an appropriate location):


Your !(loc.blabla) needs to be in a Formatted field, of course, since the
[MyProperty] substitution will then occur during "runtime", but most fields
that are shown to the user are (like dialog titles, dialog static text,
etc.).

-Original Message-
From: A.Rios [mailto:cosasvar...@gmail.com] 
Sent: Friday, July 23, 2010 9:34 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Property in localized string?

I want to do exactly the opposite (assuming it can be done, of course):
I have a property defined Application version 2
and I want to use it in the WXL,something like Welcome to [MyProperty] installation wizard like
you use [ProductName] or [ProductVersion], but I cannot figure the
correct syntax. Am I missing something obvious?



El 23/07/10 17:49, Blair escribió:
> If your string is named "MyLocString" in your WXL file, use
> "!(loc.MyLocString)" in your authoring.
>
> -Original Message-
> From: A.Rios [mailto:cosasvar...@gmail.com] 
> Sent: Friday, July 23, 2010 4:29 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Property in localized string?
>
> Hi. We are in the process of updating our previous installation
> framework to Wix and have encountered a minor problem. As a part of
> our deployment process we use a custom MsBuild script and a string to
> identify the program being installed (something like "1.2 Build.3 Rev
> 4") and I want to use it in the localized strings in UI. I already
> have a Property defined with that string in the .wixproj file but I
> don't know how to use in the localization file (I think I've tried
> with every combination of square brackets, exclamation mark, var. env.
> and wix. prefixes ;-)
>
> Where I can find more information?
>
> Thanks in advance.
>
>

> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>

--
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Property in localized string?

2010-07-23 Thread A.Rios
I want to do exactly the opposite (assuming it can be done, of course):
I have a property defined Application version 2
and I want to use it in the WXL,something like Welcome to [MyProperty] installation wizard like
you use [ProductName] or [ProductVersion], but I cannot figure the
correct syntax. Am I missing something obvious?



El 23/07/10 17:49, Blair escribió:
> If your string is named "MyLocString" in your WXL file, use
> "!(loc.MyLocString)" in your authoring.
>
> -Original Message-
> From: A.Rios [mailto:cosasvar...@gmail.com] 
> Sent: Friday, July 23, 2010 4:29 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Property in localized string?
>
> Hi. We are in the process of updating our previous installation
> framework to Wix and have encountered a minor problem. As a part of
> our deployment process we use a custom MsBuild script and a string to
> identify the program being installed (something like "1.2 Build.3 Rev
> 4") and I want to use it in the localized strings in UI. I already
> have a Property defined with that string in the .wixproj file but I
> don't know how to use in the localization file (I think I've tried
> with every combination of square brackets, exclamation mark, var. env.
> and wix. prefixes ;-)
>
> Where I can find more information?
>
> Thanks in advance.
>
> 
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Property in localized string?

2010-07-23 Thread Blair
If your string is named "MyLocString" in your WXL file, use
"!(loc.MyLocString)" in your authoring.

-Original Message-
From: A.Rios [mailto:cosasvar...@gmail.com] 
Sent: Friday, July 23, 2010 4:29 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Property in localized string?

Hi. We are in the process of updating our previous installation
framework to Wix and have encountered a minor problem. As a part of
our deployment process we use a custom MsBuild script and a string to
identify the program being installed (something like "1.2 Build.3 Rev
4") and I want to use it in the localized strings in UI. I already
have a Property defined with that string in the .wixproj file but I
don't know how to use in the localization file (I think I've tried
with every combination of square brackets, exclamation mark, var. env.
and wix. prefixes ;-)

Where I can find more information?

Thanks in advance.


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Property in localized string?

2010-07-23 Thread A.Rios
Hi. We are in the process of updating our previous installation
framework to Wix and have encountered a minor problem. As a part of
our deployment process we use a custom MsBuild script and a string to
identify the program being installed (something like "1.2 Build.3 Rev
4") and I want to use it in the localized strings in UI. I already
have a Property defined with that string in the .wixproj file but I
don't know how to use in the localization file (I think I've tried
with every combination of square brackets, exclamation mark, var. env.
and wix. prefixes ;-)

Where I can find more information?

Thanks in advance.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users