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
- :
- Re: Refreshing text control
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
‎Sep 17, 2009
05:58 AM
Refreshing text control
I'm new to Installshield programming. So I don't have a lot of knowledge yet.
I would like to know how to refresh a text control.
The text control has a property _BrowseProperty2 and text is [INSTALLDIR].
By clicking on browse button i raise a doAction event calling AskPath method.
When the installer returns from AskPath I have double text in my text control.
The old path and behind it the new path.
How can I refresh the control, that will show only new path?
Thank you for your help.
I would like to know how to refresh a text control.
The text control has a property _BrowseProperty2 and text is [INSTALLDIR].
By clicking on browse button i raise a doAction event calling AskPath method.
When the installer returns from AskPath I have double text in my text control.
The old path and behind it the new path.
How can I refresh the control, that will show only new path?
Thank you for your help.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2009
10:56 PM
Mixing MSI and InstallScript (such as AskPath) dialog boxes sometimes ends poorly; perhaps look at the events and properties of a Windows Installer-only dialog box such as DestinationFolder?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2009
03:13 AM
I tried DestinationFolder, but I need to be able to browse the network.
So I created a custom FolderBrowser in C#, that returns string path directly to INSTALLDIR.
So I created a custom FolderBrowser in C#, that returns string path directly to INSTALLDIR.