This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Displaying Text in Dialogue Box!!!
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Mar 25, 2008
12:47 AM
Displaying Text in Dialogue Box!!!
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.
Now my question is, how can i display this property in the Ready to Install Dialogue?
Thanks.
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.
Now my question is, how can i display this property in the Ready to Install Dialogue?
Thanks.
(12) Replies
‎Mar 25, 2008
09:06 AM
Perhaps just use [PROPERTY_NAME] in the dialog box text? Existing dialog boxes use [ProductName] to do the same thing for the product name, for example.
‎Mar 27, 2008
03:37 AM
Hi,
Yes, it worked fine.
Thanks for the help...
Is there any way to choose the language specific string from the string table using vbscript custom action.
Thanks.
Yes, it worked fine.
Thanks for the help...
Is there any way to choose the language specific string from the string table using vbscript custom action.
Thanks.
‎Mar 27, 2008
08:55 AM
You might look into creating a "localizable property" in the Property Manager view. With that, the property's value will be taken from the string table of the language being used by the running installation.
‎Mar 28, 2008
07:26 AM
Hello Robert,
I will try with that solution and get back to you.
Thanks.
I will try with that solution and get back to you.
Thanks.
‎Apr 04, 2008
02:12 AM
Hi Robert,
I tried with creating a localizable property and wrote a VB Script Custom Action get the language strings. It worked well..
But i need to display the strings in the 'Ready to install' dialog. In the VB Script Custom Action, i checked for the installed pre-requisites and assigned the language strings to a PROPERTY. Now, i need to display thios property in the 'Ready to Install' dialog. But when i implemented this, the strings are not getting installed in the dialog. It displays as [Text].
Can u guide me where i am going wrong..
Thanks.
I tried with creating a localizable property and wrote a VB Script Custom Action get the language strings. It worked well..
But i need to display the strings in the 'Ready to install' dialog. In the VB Script Custom Action, i checked for the installed pre-requisites and assigned the language strings to a PROPERTY. Now, i need to display thios property in the 'Ready to Install' dialog. But when i implemented this, the strings are not getting installed in the dialog. It displays as [Text].
Can u guide me where i am going wrong..
Thanks.
‎Apr 08, 2008
12:52 AM
Hi,
Is there any update on this!!!
Thanks
Is there any update on this!!!
Thanks
‎Apr 08, 2008
09:37 AM
That's odd; do any [PropertyName] expressions expand correctly in that dialog box? What does your custom action code look like?
‎Apr 09, 2008
11:34 PM
Yes. When i give [Property Name] in the Dialog Box, it is displaying a the Correct Language String.
But when i use a VB Script Custom Action to display the [Property], it is not displaying correctly.
Here is the VB Script Code:
*************************
Dim strStringtoDisplay
strStringtoDisplay = ""
If Then
strStringtoDisplay = strStringtoDisplay & Session.Property("SENTINELDRIVER_STRING") & VbCRlf
End If
If Then
strStringtoDisplay = strStringtoDisplay & Session.Property("REPORTVIEWER_STRING") & VbCRlf
End If
If Then
strStringtoDisplay = strStringtoDisplay & Session.Property("INTEL_STRING") & VbCRlf
End If
If Then
strStringtoDisplay = strStringtoDisplay & Session.Property("NEEVIA_STRING") & VbCRlf
End If
strStringtoDisplay = strStringtoDisplay & Session.Property("VSTOR_STRING") & VbCRlf
Session.Property("STRINGTODISPLAY") = strStringtoDisplay
*****************************
All the Strimg properties like SENTINELDRIVER_STRING,REPORTVIEWER_STRING are localizable properties which contains the Corresponding Strings.
When I give [STRINGTODISPLAY] in the Dialog box, the correct text is not displaying. It is displaying as [Text].
Pls guide me where i am going wrong?
Thanks.
But when i use a VB Script Custom Action to display the [Property], it is not displaying correctly.
Here is the VB Script Code:
*************************
Dim strStringtoDisplay
strStringtoDisplay = ""
If
strStringtoDisplay = strStringtoDisplay & Session.Property("SENTINELDRIVER_STRING") & VbCRlf
End If
If
strStringtoDisplay = strStringtoDisplay & Session.Property("REPORTVIEWER_STRING") & VbCRlf
End If
If
strStringtoDisplay = strStringtoDisplay & Session.Property("INTEL_STRING") & VbCRlf
End If
If
strStringtoDisplay = strStringtoDisplay & Session.Property("NEEVIA_STRING") & VbCRlf
End If
strStringtoDisplay = strStringtoDisplay & Session.Property("VSTOR_STRING") & VbCRlf
Session.Property("STRINGTODISPLAY") = strStringtoDisplay
*****************************
All the Strimg properties like SENTINELDRIVER_STRING,REPORTVIEWER_STRING are localizable properties which contains the Corresponding Strings.
When I give [STRINGTODISPLAY] in the Dialog box, the correct text is not displaying. It is displaying as [Text].
Pls guide me where i am going wrong?
Thanks.
‎Apr 10, 2008
11:44 PM
Hi Kelter,
Now it is showing the correct Strings.
But the strings are always in English irrespective of the language chosen. But the properties like SENTINELDRIVER_STRING,REPORTVIEWER_STRING which are used in the VB Script are language specific strings.
Can't i display the language specific strings in the dialog.
Now it is showing the correct Strings.
But the strings are always in English irrespective of the language chosen. But the properties like SENTINELDRIVER_STRING,REPORTVIEWER_STRING which are used in the VB Script are language specific strings.
Can't i display the language specific strings in the dialog.
‎Apr 23, 2008
05:40 AM
I m still unable to get with this..
Can anyone provide me with some suggestion.
Thanks.
Can anyone provide me with some suggestion.
Thanks.