cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
J_anitha
Level 8

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
Labels (1)
0 Kudos
(2) Replies
DebbieL
Level 17

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.
0 Kudos
J_anitha
Level 8

Thanks Debbie.
I shouldve read it before upgrading to 2011.
I got it working now 🙂

rgds,
anitha
0 Kudos