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

bdeinst.dll / the parameters ?

221 views
Skip to first unread message

Ömür Ölmez

unread,
Jun 5, 2002, 3:17:30 AM6/5/02
to
Hello

I use bdeinst.dll coming wth in bdeinst.cab to install BDE. It works
fine but every time, it asks the install path. I see another application
that use bdeinst.dll. In that application it does not ask the install path.
So, I think thet there is a way, probably run time parameters to library in
order to prevent the bdeinst.dll to ask install path.

Am I right ? Does anybody know any parameter info with bdeinst.dll
or another solution ?

Ömür Ölmez


Vinnie Murdico

unread,
Jun 5, 2002, 2:45:43 PM6/5/02
to
I'm not aware of any command-line arguments that will remove the prompt when
calling bdeinst.dll to install the BDE. The only solution I've heard of is
to use a program such as AutoIt that can be configured to automatically
press the OK button on the prompt window that interrupts the installation
process. Try here: http://www.hiddensoft.com/AutoIt/ for more information
on this utility.

--
Vinnie Murdico
The BDE Support Page
http://www.bdesupport.com

Joe

unread,
Jun 18, 2002, 12:44:20 PM6/18/02
to
Thanks, Vinnie, for telling us about AutoIt--it has solved the problem, for
me, anyway.

Here is the AutoIt script which did the trick. Thanks to Patrick Schmidt
who helped too!

; BDEINST Script
; ==============
;
; Author: Joe Fremer
; gr8...@mnsusa.net
;
; installs BDE using BDEINST
;
;===============================================================
; This would be loaded, and run, from an Inno Setup script like so:

; [Files]
; Source: "C:\DelphDev\my project\AutoIt.exe"; DestDir: {tmp}; Flags:
deleteafterinstall
; Source: "C:\DelphDev\my project\instbde.aut"; DestDir: {tmp}; Flags:
deleteafterinstall
; Source: "C:\DelphDev\my project\MiniReg.exe"; DestDir: {tmp};
; Source: "C:\DelphDev\my project\BdeInst.dll"; DestDir: {tmp};
;
; [RUN]
; Filename: "{tmp}\AutoIt.exe"; Parameters: "instbde.aut"
;==============================================================
;here endeth the .iss script


; the .aut script follows
; NOTE: the two files in the first AutoIt line below must exist in the
directory
; from which AutoIt is running. I do all this from the {tmp} folder

Run, minireg.exe bdeinst.dll
WinWaitActive, Borland Database Engine Installation/Upgrade
Send, {ENTER}

Gosub, checkem

Exit

checkem:
; check for the existence of the not-enough-disk-space warning
IfWinActive, Warning,, Send, {ENTER}
; check for the directory-does-not-exist,-create-it? dialog
IfWinActive, Confirm,, Send, {ENTER}
; see if we're done yet
IfWinExist, Borland Database Engine Installation/Upgrade, Goto, checkem
Return

----------------------------------------
Hope others find this helpful too.

"Vinnie Murdico" <vin...@softwarewithbrains.com> wrote in message
news:3cfe5c58_2@dnews...

0 new messages