PDA

View Full Version : Minor Upgrade Dialogs



dallasuser
07-25-2002, 12:41 PM
I have created a minor upgrade, but I want to customize the Welcome dialog... I have been able to edit other dialogs with no problem, but I am not even sure of the name of the dialog that the minor upgrade is using as a welcome. I have tried WELCOME, SDWELCOME, and PATCHWELCOME but editing these does not change the dialog shown during the minor upgrade... please help!

RobertDickau
07-25-2002, 02:09 PM
Does walking through the script with the InstallScript debugger show you what dialog's being used?

JSpaan
07-25-2002, 02:17 PM
I will try that...

joes777
07-30-2002, 02:23 PM
The welcome dialog can be found in the OnResumeUIBefore event function. The default function looks like this:

function OnResumeUIBefore()
int nResult;
string szTitle, szMsg;
begin
Dlg_SdWelcome:
szTitle = SdLoadString(ISWI_RESUMEUI_TITLE);
szMsg = SdLoadString(ISWI_RESUMEUI_MSG);
nResult = SdWelcome(szTitle, szMsg);

Enable(STATUSEX);
end;

From there you can edit szTitle and szMsg to whatever you want.

Hope this helps.