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

Empty message box.

10 views
Skip to first unread message

Betsey Monaco

unread,
Jul 18, 2000, 3:00:00 AM7/18/00
to skru...@installsite.org
I have the same problem as this person describes. I use CopyFile many
times (in a loop) to put some files in place. On some systems, after a
few iterations of copying, I get the empty box with an OK button, and the
CopyFile function returns a -6 (Out of memory).
Another weird thing... it seems to only happen after the AskDestPath
function has been used. I wonder if this dialog hogs memory or something.

Has InstallShield made any kind of fix for this yet? I am using IS
5.5 MP3

Elizabeth Monaco


Stefan Krueger wrote:

> There is a known problem that brings up such a dialog box in 5.53
> after the call to InstallationInfo. It can be worked around by
> inserting a Delay(1) after InstallationInfo.
> I don't know if your problem is similar, but you could try if a
> Delay(1) after GetFileInfo will help.
>
> --
> Stefan Krueger
> Independent Setup Consultant
>
> // InstallSite - Resources for setup developers
> // http://www.installsite.org (primary site - USA)
> // http://installsite.sw.com.sg (mirror site - Singapore)
>
> My reply-to address is invalid to avoid spam.
> If you are looking for individual assistance,
> like e-mail support, please mail to
> in...@installsite.org for support options.
>
> Kimmo Martikainen <kimmo.ma...@datex-ohmeda.com> schrieb in im
> Newsbeitrag: 375B8646...@datex-ohmeda.com...
> > Has anyone else got an empty message box when using CopyFile
> function.
> >
> > I am using IS Professional 5.53.
> > I installed the Maintenance Pack 3 because I thought that this error
> > appeared because I had no Maintenance pack installed.
> >
> > I get these empty message boxes when I am copying one file to other
> > location with same name.
> >
> > After I have executed the sql file with isql (with LauchAppAndWait)
> I
> > copy the sql file and output file to other location.
> > The SQL server used is Sybase ASE 11.5.
> >
> > In some occasions empty message boxes with SEVERE icon and OK button
> > appears. There is no text in the message box.
> >
> > Does anyone have any suggestions what may cause this?
> > I can pass the copying of these files, but I would like to know what
> > causes this error.
> >
> > This is the copying part from the code:
> >
> > VarSave(SRCTARGETDIR);
> > Disable(LOGGING);
> > ParsePath(svScriptPath,szFileIn, DIRECTORY);
> > SRCDIR = SRCDISK ^ svScriptPath;
> > TARGETDIR = szSybPath ^ "Destination";
> > CopyFile(svString + ".sql", svString + ".sql");
> > SRCDIR = szLogDir;
> >
> > file://if file is empty it is not copied.
> > GetFileInfo(szFileOut, FILE_SIZE, nvResult, svResult);
> > if (nvResult > 0) then
> > CopyFile(svString + ".out", svString + ".out");
> > endif;
> > Enable(LOGGING);
> > VarRestore(SRCTARGETDIR);
> >
> > This works fine with most of the files but...
> >
> > Kimmo Martikainen
> > Datex-Ohmeda
> >


Stefan Krueger

unread,
Jul 26, 2000, 3:00:00 AM7/26/00
to
Have you tried Delay(1) after each CopyFile call?

I don't think there will be further maintenance packs for IS5 (5.53 is the
latest). Current version is 6.20.

--
Stefan Krueger - Independent Setup Consultant


<<reply-to address is invalid to avoid spam>>

Visit InstallSite at http://www.installsite.org to download
free code samples, tips, tools and more...
For information about individual support and consulting services
please send a blank mail to the autoresponder at in...@installsite.org

Stefan Krueger and the InstallSite.org web site are not affiliated
with InstallShield Software Corporation.


Betsey Monaco <bmo...@shym.com> schrieb in im Newsbeitrag:
3974E033...@shym.com...

0 new messages