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: Changing "setup status" text on progress dialog
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 22, 2010
06:45 AM
Changing "setup status" text on progress dialog
Hi,
I was using IS 2009, and now upgraded to 2011.
Was using the following code, for changing the text which gets displayed on the top left side of progress dialog.
hWndStatus = FindWindow( "", IFX_SETUP_TITLE );
if ( hWndStatus != NULL ) then
User32.SetDlgItemText( hWndStatus, 50, "My text");
User32.InvalidateRect(hWndStatus, NULL, FALSE);
User32.UpdateWindow(hWndStatus);
endif;
This doesnt seem to work with 2011.
Any idea what would've gone wrong? Or is there an alternate way of doing this..?
Thanks,
anitha
I was using IS 2009, and now upgraded to 2011.
Was using the following code, for changing the text which gets displayed on the top left side of progress dialog.
hWndStatus = FindWindow( "", IFX_SETUP_TITLE );
if ( hWndStatus != NULL ) then
User32.SetDlgItemText( hWndStatus, 50, "My text");
User32.InvalidateRect(hWndStatus, NULL, FALSE);
User32.UpdateWindow(hWndStatus);
endif;
This doesnt seem to work with 2011.
Any idea what would've gone wrong? Or is there an alternate way of doing this..?
Thanks,
anitha
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2010
08:23 AM
I'd suspect it has something to do with the InstallScript/Unicode improvements that have been introduced in InstallShield 2011. Have you had a chance to review the "Changes to Win32 API Definitions" and "Ensuring that Your InstallScript Code Supports Unicode" sections of the release notes? Those sections are also near the beginning of the following KB article:
Q208911: Upgrading Projects to InstallShield 2011
I hope that helps.
Q208911: Upgrading Projects to InstallShield 2011
I hope that helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2010
01:23 AM
Thanks Debbie.
I shouldve read it before upgrading to 2011.
I got it working now 🙂
rgds,
anitha
I shouldve read it before upgrading to 2011.
I got it working now 🙂
rgds,
anitha