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
- :
- HTML Controls Not Displaying - InstallScript
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 24, 2012
01:16 PM
HTML Controls Not Displaying - InstallScript
As part of the installation process, our installer will check the permissions on certain folders, and will prompt the user to apply those permissions where necessary. We created a dialog to show the user the permission information, and their options for applying the permissions. We create a table with this information, the table is HTML text, and the table is displayed in an HTML control.
The problem is that when this dialog gets displayed, the HTML control is "hidden" or something, as it is not visible. I can mouse over and do a click and drag, and the text will get highlighted, and if I highlight all of the text, the table will eventually display correctly (see attached image). I do notice that the table does appear to display for a split second before becoming hidden.
We have also modified the "Finish" dialog to have a clickable URL on it (no example attached, sorry), also contained in an HTML control. This also is "hidden", but selectable as well. Funny thing is that if both dialogs are displayed in the installation, and I select the text in the table for the permissions dialog until it all shows properly, the URL in the "Finish" dialog shows properly by default.
Any thoughts on how to get this HTML control to always display properly?
The problem is that when this dialog gets displayed, the HTML control is "hidden" or something, as it is not visible. I can mouse over and do a click and drag, and the text will get highlighted, and if I highlight all of the text, the table will eventually display correctly (see attached image). I do notice that the table does appear to display for a split second before becoming hidden.
We have also modified the "Finish" dialog to have a clickable URL on it (no example attached, sorry), also contained in an HTML control. This also is "hidden", but selectable as well. Funny thing is that if both dialogs are displayed in the installation, and I select the text in the table for the permissions dialog until it all shows properly, the URL in the "Finish" dialog shows properly by default.
Any thoughts on how to get this HTML control to always display properly?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 25, 2012
10:38 AM
Appears to be a problem using a skin (either my custom skin, or one of the out-of-the-box skins from InstallShield - specifically got the same results with the Slate skin). When I change to not use a skin, the HTML controls show properly.
Any thoughts? Do I need to modify the skin configuration somehow? Is there some kind of "refresh" on the dialog I could do? Maybe an environmental issue that I'm overlooking?
Any thoughts? Do I need to modify the skin configuration somehow? Is there some kind of "refresh" on the dialog I could do? Maybe an environmental issue that I'm overlooking?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 05, 2012
03:21 PM
Been over a month and no responses.
Anyone from Flexera/InstallShield have any thoughts? Any skins gurus out there with a suggestion?
Anyone from Flexera/InstallShield have any thoughts? Any skins gurus out there with a suggestion?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 20, 2012
07:57 AM
For what it's worth, I found a workaround for anyone else seeing this issue. If I add:
SendMessage(hwndDlg, WM_SYSCOMMAND, SC_RESTORE, 0);
in the DLG_INIT switch case, it appears to force a refresh of the dialog, and the controls show properly.
SendMessage(hwndDlg, WM_SYSCOMMAND, SC_RESTORE, 0);
in the DLG_INIT switch case, it appears to force a refresh of the dialog, and the controls show properly.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)