PDA

View Full Version : SdComponentDialog



NewsArchive
12-05-2001, 01:00 AM
Greetings -

I have posted this on the InstallScript forum, but haven't had any answers
so I'd thought I'd try here.

I am trying to use a SdComponent Dialog during an installation to install
optional components and having problems with it. The problem that I am
having is that even though there is plenty of disk space remaining on the
drive, an error message comes up saying that "There is not enough disk space
for these options." The reported required amount of disk space is: 10850 K
(when no options are checked), while the total space available is reported
at: 3127043 K. If I leave the szDir parameter blank in the script then the
installation will run fine except of course the "Space available" label has
0 K. Does anyone have any idea why I might be running into this? I'm using
InstallShield Pro 6.0.

Thanks in advance for any advice,

Jeff

NewsArchive
12-06-2001, 01:00 AM
Just in case anybody wanted to know, I figured out what the problem was. I
had created a script variable for the directory and didn't call
ComponentSetData() before calling the SdComponentDialog function. Calling
this before solved the problem.


"Jeff Rasnick" <rasnickj@hotmail.com> wrote in message
news:3c0e93d2@news.installshield.com...
> Greetings -
>
> I have posted this on the InstallScript forum, but haven't had any answers
> so I'd thought I'd try here.
>
> I am trying to use a SdComponent Dialog during an installation to install
> optional components and having problems with it. The problem that I am
> having is that even though there is plenty of disk space remaining on the
> drive, an error message comes up saying that "There is not enough disk
space
> for these options." The reported required amount of disk space is: 10850
K
> (when no options are checked), while the total space available is reported
> at: 3127043 K. If I leave the szDir parameter blank in the script then
the
> installation will run fine except of course the "Space available" label
has
> 0 K. Does anyone have any idea why I might be running into this? I'm
using
> InstallShield Pro 6.0.
>
> Thanks in advance for any advice,
>
> Jeff
>
>
>