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
- :
- Create Controls at Runtime
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 30, 2010
10:22 AM
Create Controls at Runtime
Hi,
I'm new to InstallShield and I wanted to know if it is possible to create a new dialog control at runtime.
I am working on an InstallScript project. I want to add an extra edit field to one of the standard dialogs. It is a multi-language installation, so if I edit the dialog and then add new languages later, it appears in English for newly added languages.
As the only thing I want to do is add another edit field, I wanted to do this at runtime within the script.
Is it possible? If not, is there another way to achieve the same result?
Thanks,
Rich.
I'm new to InstallShield and I wanted to know if it is possible to create a new dialog control at runtime.
I am working on an InstallScript project. I want to add an extra edit field to one of the standard dialogs. It is a multi-language installation, so if I edit the dialog and then add new languages later, it appears in English for newly added languages.
As the only thing I want to do is add another edit field, I wanted to do this at runtime within the script.
Is it possible? If not, is there another way to achieve the same result?
Thanks,
Rich.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2010
01:13 AM
I would simply clone the dialog and add the additional field to the cloned one. Use InstallScript to decide which dialog should be displayed during the installation interview.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2010
02:56 AM
Holger_G wrote:
I would simply clone the dialog and add the additional field to the cloned one. Use InstallScript to decide which dialog should be displayed during the installation interview.
Thanks for the reply. I'm not sure how that will help with adding languages though. Won't they still be in English?
My only solution so far seems to be resetting the dialog to its default after adding a language and then adding the control again.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2010
04:26 AM
Before making any adjustments to dialogs just enable almost all available languages inside the project even if you don´t need them all. That helps me in the past.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2010
05:01 AM
Holger_G wrote:
Before making any adjustments to dialogs just enable almost all available languages inside the project even if you don´t need them all. That helps me in the past.
That could work. Great idea and very simple.
Thanks for your help.
Rich.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)