cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jimit122
Level 2

Uninstalling Message

Hi,
I am working on InstallscriptMSI project. While Uninstalling the product I am receiving the same message as the one during installing the product. Can any one tell me from where i can change that message from "Installing" to "Uninstalling" during uninstallation of the product?
Labels (1)
0 Kudos
(2) Replies
sturge
Level 6

Here's what I do.

// Change the status dialog text
hwndStatus = FindWindow ( "#32770", IFX_SETUP_TITLE );
if ( hwndStatus != NULL ) then
SetDlgItemText( hwndStatus, 710, szMsg );
endif;

Set szMsg to whatever you want.
0 Kudos
Shark75
Level 4

They finally added a function to do this in InstallShield 11...

SetStatusExStaticText(szString);

szString
The text to be set as the static text. The following standard strings are available using the SdLoadString function:

IDS_IFX_STATUSEX_STATICTEXT_FIRSTUI—The InstallShield Wizard is installing %P.
IDS_IFX_STATUSEX_STATICTEXT_MAINTUI_MODIFY—The InstallShield Wizard is modifying %P.
IDS_IFX_STATUSEX_STATICTEXT_MAINTUI_REPAIR—The InstallShield Wizard is repairing %P.
IDS_IFX_STATUSEX_STATICTEXT_MAINTUI_REMOVEALL—The InstallShield Wizard is removing %P.
IDS_IFX_STATUSEX_STATICTEXT_UPDATEUI—The InstallShield Wizard is updated %VI of %P to version %VS.

e.g. in your OnMaintUIBefore() method, call it like this if the user has selected REMOVEALL:
SetStatusExStaticText(SdLoadString(IDS_IFX_STATUSEX_STATICTEXT_MAINTUI_REMOVEALL));
0 Kudos