PDA

View Full Version : \Program.exe "%1" - Problem in InstallShield Version 1.1



NewsArchive
06-26-1997, 12:00 AM
Is there any Bug-fix available for the <INSTALLDIR>\Program.exe "%1" -
Problem
of InstallShield Express Professional and InstallShield Express Delphi
Edition ?
(we have both)

grettings

Dirk

E-Mail: Dirk.Seifert@T-Online.de

NewsArchive
06-26-1997, 12:00 AM
Express 2 does not have this problem.

--
Rajesh Ramachandran
InstallShield Corporation

Dirk Seifert <Dirk.Seifert@T-Online.de> wrote in article
<01bc8200$ce0869c0$2b82e595@seifert>...
> Is there any Bug-fix available for the <INSTALLDIR>\Program.exe "%1" -
> Problem
> of InstallShield Express Professional and InstallShield Express Delphi
> Edition ?
> (we have both)
>
> grettings
>
> Dirk
>
> E-Mail: Dirk.Seifert@T-Online.de
>
>

NewsArchive
01-18-1999, 01:00 AM
Stefan,
The code executing at that point is pretty simple: I'm searching hard drives
for the existence of a file. I record wherever I found it and increment a
counter:

foundfiles = ListCreate(STRINGLIST);
drives = ListCreate(STRINGLIST);
filename = "WBTRCALL.DLL";
drivetype = FIXED_DRIVE;

if (GetValidDrivesList(drives, drivetype, 1) < 0) then
MessageBox( "Cannot find any valid drives. Please call Technical
Support.", SEVERE );
endif;
SdShowMsg("Searching for software conflicts. . .", TRUE);
ntemp = ListGetFirstString(drives, stemp); // we're going to search all
hard drives
while !(ntemp = END_OF_LIST )
if (FindAllFiles(stemp + ":", filename, location, RESET) = 0) then
repeat
if !(location % WINSYSDIR) then
ListAddString(foundfiles, location, AFTER);
counter = counter + 1;
endif;
until (FindAllFiles (stemp + ":", filename, location, CONTINUE)
< 0 );
endif;
ntemp = ListGetNextString(drives, stemp);
endwhile;

After the while loop concludes, I display another SdShowMsg. I never see
this second SdShowMsg; instead I get the error.

chris

InstallShield Software Corporation wrote in message
<36a36f08.22888431@news.installshield.com>...
>On Mon, 18 Jan 1999 10:50:11 -0500, "chris madsen" <cmadsen@blazenetme.net>
>wrote:
>>looking for any shred of light on the problem. Can anyone tell me anything
>>useful about this error code, which we receive sporadically on NT systems?
I
>>have the boss breathing down my neck on this one.
>
>Where in the install does this occur? Can you narrow it down by debugging
>the install?
>
>Stefan Paetow
>InstallShield Software Corp.

NewsArchive
01-18-1999, 01:00 AM
On Mon, 18 Jan 1999 13:14:11 -0500, "chris madsen" <cmadsen@blazenetme.net>
wrote:
> endwhile;
>
>After the while loop concludes, I display another SdShowMsg. I never see
>this second SdShowMsg; instead I get the error.

What happens when you destroy the list beforehand? It may be that you are
running out of memory.

Stefan Paetow
InstallShield Software Corp.

NewsArchive
10-14-1999, 12:00 AM
"David Thornley" <NoReplyPlease@installshield.com> wrote in message
news:37fe4b92.0@news.installshield.com...
> Use <Directory> anywhere you have a drop down list that shows directories.
>
> Use [Property] Everywhere else.

Everywhere else? I'm using just Property in the DirProperty field of the
IniFile table via Power Editor, and that's working - are you saying that the
fact it is working is actually a bug or some such, and that I should be
using [Property]?

And what about in reg values, where you don't have a drop-down list showing
directories, yet <AppDataFolder> et al seem to work? Is that also a bug or
an oversight?

NewsArchive
11-12-1999, 01:00 AM
In article <38061850.0@news.installshield.com>, "Kelsey Bjarnason" <kelseybj@attachmate.com> wrote:
> "David Thornley" <NoReplyPlease@installshield.com> wrote in message
> news:37fe4b92.0@news.installshield.com...
> > Use <Directory> anywhere you have a drop down list that shows directories.
> >
> > Use [Property] Everywhere else.
>
> Everywhere else? I'm using just Property in the DirProperty field of the
> IniFile table via Power Editor, and that's working - are you saying that the
> fact it is working is actually a bug or some such, and that I should be
> using [Property]?

If the field expects asks you for a property and nothing else, then there is
no need for any brackets.

> And what about in reg values, where you don't have a drop-down list showing
> directories, yet <AppDataFolder> et al seem to work? Is that also a bug or
> an oversight?

[AppDataFolder] will also work. To be honest, I'm not sure why <AppDataFolder>
works as well.

----

Jim Kang - Developer Support Engineer
InstallShield Software Corporation