Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem using SilentReadData in silent setup

10 views
Skip to first unread message

i.j.k

unread,
Jul 6, 2000, 3:00:00 AM7/6/00
to
Hello,

I am running into a problem with SilentReadData when running setup.exe
in silent mode. This SilentReadData function is coded within the
customized SdWelcome script. Has anyone encountered this before and
does anyone know if there is any conflict in using this function within
the SdWelcome call? Error log issues -12: dialog boxes out of order.

Code as follows:

if (MODE=SILENTMODE) then
nResult = SdMakeName( szAppKey, szDlg, szTitle, nSdWelcome
);
nResult = SilentReadData( szAppKey, "Result", DATA_NUMBER,
szTemp, nId );
return nId;
endif;

SdMakeName returns 0 and SilentReadData( ) returns -1. I have tried to
isolate the problem by using a test function containing only this piece
of if-then-else statement and it works fine. When it is within the
SdWelcome( ), it fails. When I commented the SilentReadData statement,
it works fine.

Version used: InstallShield 5.5 Professional Edition.

Any ideas?


Thanks,
Wei


0 new messages