Autor Beitrag
FraPa
Hält's aus hier
Beiträge: 7

Win 2000,Suse9.1

BeitragVerfasst: Sa 26.02.05 23:04 
Ausgangslage:
-Heft CD Delphi 6.0
-Datenbank soll weitergegeben werden
- mit Inno Setup erstellt
-auf fremden PC startet Anwendung aber nicht,weil keine BDE installiert ist(denke ich)
Frage?
Welche Delphiresourcen müssen eingebunden werden?

Habe mich mit Delphi schon recht ordentlich eingearbeitet, aber die Krönung wäre ein fertiges Projekt.

Besten Dank im voraus.
Dominique
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 92



BeitragVerfasst: Sa 26.02.05 23:19 
aus der INNO-SETUP - Knowledgebase (www.jrsoftware.org/iskb.php?bde):
Zitat:

It is possible to install BDE from a 32-bit Inno Setup installation. Follow these steps:

1. Download MiniReg.exe [13KB, source] to your installation's source directory (typically the directory containing your script file). MiniReg.exe is a utility I (Jordan Russell) wrote that contains a subset of the functionality in Microsoft's REGSVR32.EXE. (REGSVR32.EXE is not used since it does not come preinstalled on the first release of Windows 95.)
2. Extract the BDEINST.DLL file from BDEINST.CAB, located in Program Files\Common Files\Borland Shared\BDE. To do this, either use WinZip or type "EXTRACT BDEINST.CAB" at the command line. (If BDEINST.CAB doesn't exist in your BDE directory, click here to download version 5.11 [3581 KB, md5sum e8a51ce7a07bbece55dad9307c65e224].)
3. Move the extracted BDEINST.DLL to your installation's source directory.
4. Add these lines to your script:

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
[Files]
Source: "MiniReg.exe"; DestDir: "{tmp}"
Source: "BdeInst.dll"; DestDir: "{tmp}"

[Run]
Filename: "{tmp}\MiniReg.exe"; Parameters: """{tmp}\BdeInst.dll"""

That's it. Using this method, you get around the "certified installer" issue since Borland's own BdeInst.dll is doing the actual file installation and registry entry creation, not Inno Setup.
FraPa Threadstarter
Hält's aus hier
Beiträge: 7

Win 2000,Suse9.1

BeitragVerfasst: So 27.02.05 01:05 
Danke Dominique.
Bin dadurch schon einen Schritt weiter. BDE wird nun installiert,aber exe Datei wird auf Ziel-Pc nicht gestartet. (Ziel-Pc ist blank, also ohne Delphi)

Also:
-Setupdatei mit Inno erstellt- BDE wird auf Ziel-PC installiert
-Anwendung startet aber nicht



Was ist falsch?


Ich hoffe alles wird gut?!


Zuletzt bearbeitet von FraPa am Mo 28.02.05 12:30, insgesamt 4-mal bearbeitet
Disasterpiece
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 24

WinXP / WinME

BeitragVerfasst: So 27.02.05 17:32 
Das Problem habe ich auch, nur das ich nicht mit einem installer arbeite. Wie kann ich denn die BDE installieren außer über Delphi selber?
Was ist denn Inno Setup?
Dominique
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 92



BeitragVerfasst: Mo 28.02.05 14:21 
Disasterpiece hat folgendes geschrieben:
Das Problem habe ich auch, nur das ich nicht mit einem installer arbeite. Wie kann ich denn die BDE installieren außer über Delphi selber?
Was ist denn Inno Setup?


Siehe dort:
Dominique hat folgendes geschrieben:
aus der INNO-SETUP - Knowledgebase (www.jrsoftware.org/iskb.php?bde):
Zitat:

It is possible to install BDE from a 32-bit Inno Setup installation. Follow these steps:
...
...
...


Inno Setup ist ein Freeware-Installer,

wenn Du willst, dann schick mir doch eine PM - du bekommst dann eine Ferige setup.exe, die nur die BDE installiert...