Page 1 of 1

BDE Installation: there is not enough space on drive c. inst

Posted: Wed Jun 20, 2012 9:33 am
by delphi4life
I am trying to install BDE Engine by executing the following command line from my installation program as follows.

ShellExecute(0, nil, 'regsvr32.exe', 'BdeInst.dll', nil, SW_SHOW);

It pops up with a message requesting permission to install BDE Engine at a particular location. When you click okay button, it pops up another a message as follows.

enter image description here

I did verify that I have plenty of free space in my hardrive. When you click on Yes button, it installs the BDE engine successfully.

I don't know why. Plus, there is not much information online about this.

Any input will be greatly appreciated.

Re: BDE Installation: there is not enough space on drive c.

Posted: Wed Jun 20, 2012 11:28 am
by FrancescoT
Dear User,

I am not quite sure if there is a possible misunderstanding.

How do you call ShellExecute from InstallAware?

Regards

Re: BDE Installation: there is not enough space on drive c.

Posted: Thu Jun 21, 2012 6:36 am
by delphi4life
:?
Sorry. I meant to ask a different question. You can't execute that command from your program, but I need to be able to install BDE Engine with my installation.

I tried to add command "regsvr32 BdeInst.dll" line under "Advanced Program -> Run Programs." It wouldn't execute that command at all. This is after trying many different suggestions made by online users across the Internet.

So, I restored to calling the API code "ShellExecute" from my Install Application. Although it works, it runs into error message, "There is not enough space on drive c...."

What suggestion do you have if I may ask? If this question is not relevant for this forum, please, delete, close or kill it.

Thank you,

Re: BDE Installation: there is not enough space on drive c.

Posted: Thu Jun 21, 2012 7:08 am
by FrancescoT
Dear User,

have you tried to execute your exe using "Run Program" command from your script?
It works exactly as ShellExecute does.

Regards

Re: BDE Installation: there is not enough space on drive c.

Posted: Thu Jun 21, 2012 10:07 am
by delphi4life
I figured out the problem, but I don't know what the solution is yet. Under "Advanced Option -> ODBC" if I add the database driver for my Paradox db table, it throws the error message 2343 when I test run my installation project. Without the driver, it executes with no error.

Any idea,

Re: BDE Installation: there is not enough space on drive c.

Posted: Fri Jun 22, 2012 4:00 am
by FrancescoT
Dear User,

are you refering to Windows Installer error?

If true, the cause of the error is reported by Windows Installer as "Specified path is empty".
So it probably means one of your Install Files commands or Create Directory commands have an empty target path.

Regards