Hi,

I need to check for some pre-requisite during installation and display their names in the 'Ready to install' Dialogue.

I wrote a VB Script Custom Action which checks all the pre-requisite conditions and append the pre-requisite names in a string and stored the String value to a Property.

Here is the VB Script Code:
*************************
Dim strStringtoDisplay
strStringtoDisplay = ""

If <Some condition> Then
strStringtoDisplay = strStringtoDisplay & Session.Property("SENTINELDRIVER_STRING") & VbCRlf
End If

If <Some condition> Then
strStringtoDisplay = strStringtoDisplay & Session.Property("REPORTVIEWER_STRING") & VbCRlf
End If

If <Some condition> Then
strStringtoDisplay = strStringtoDisplay & Session.Property("INTEL_STRING") & VbCRlf
End If

If <Some condition> Then
strStringtoDisplay = strStringtoDisplay & Session.Property("NEEVIA_STRING") & VbCRlf
End If

strStringtoDisplay = strStringtoDisplay & Session.Property("VSTOR_STRING") & VbCRlf

Session.Property("STRINGTODISPLAY") = strStringtoDisplay

*****************************

All the String properties like SENTINELDRIVER_STRING,REPORTVIEWER_STRING are localizable properties which contains the Corresponding Strings.

When I give {[STRINGTODISPLAY]} in the Dialog box, the language text is not displaying. It is displaying as [Text].

Can anyone provide a solution for this.

Thanks.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
My guesses would be that either:
- you're not running a localised version or choosing the appropriate version
- your CA is started before the one controlling localisation
Answered 04/23/2008 by: VBScab
Red Belt

Please log in to comment
0
I m running the CA after 'MigtrateFeatureStates' in the Install UI sequence.

Also, can u pls tell me what do you mean by this statement:

'you're not running a localised version or choosing the appropriate version'

Thanks.
Answered 04/23/2008 by: vijayakumar
Orange Belt

Please log in to comment
0
I m running the CA after 'MigtrateFeatureStates' in the Install UI sequence. So how where is the localisation done? Is there a CA in Execute Immediate? FWIW, I always duplicate such CAs in EI to cater for installs where no UI is displayed (e.g. almost any GPO/SMS/Radia deployment!)
Also, can u pls tell me what do you mean by this statement:

'you're not running a localised version or choosing the appropriate version'
I mean, are you testing for, say, French strings being displayed on a French installation of XP, or have you chosen French as the local language during the install? I obviously have no idea how the application handles language/locale.
Answered 04/24/2008 by: VBScab
Red Belt

Please log in to comment
0
Hi,

Thanks for the help. I am choosing, say, French as a language during install on Windows XP.

Anyhow i got the desired result. I missed to enter the '{[STRINGTODISPLAY]}' property in all the language dialogs. When i did that, the language string is displayed in the 'Ready to Install' dialog.

Thanks for the support VBScab.
Answered 04/24/2008 by: vijayakumar
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity