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
The BDE Support Page
http://www.bdesupport.com
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...