Lex
Lex

Reputation: 49

Deploy\share a Delphi application

Probably a noob question so bear with me...

I need help to "release" my delphi application. It's a fully written Delphi application that uses an Access Database. I just need a way to create an exe file or anything of that sort so that I can put it on a usb and run it on another PC with connected, working database tables.

Any help is appreciated

Upvotes: 0

Views: 1324

Answers (2)

Bruce McGee
Bruce McGee

Reputation: 15334

If you're asking what you need to deploy, then you can get away with just copying the executable and the .mdb file into any folder or onto a USB drive.

It's been a while since I've deployed an application with an Access database, but I believe that the database engine is still installed by default along with Windows, so you don't need to worry about any other prerequisites.

Upvotes: 2

Marcodor
Marcodor

Reputation: 5751

Putting the Application on USB and run it from anywhere without running some installer means portable application.

This accordingly means you should consider and assure "portable" feature when you develop and compile it.

Some things to take into consideration:

  • Perform pre-requisites checks at the application start-up
  • If not all pre-req are installed, like Access Runtime, treat it accordingly or install it silently
  • Connect to the Access database after all checks in run-time
  • Keep all configuration files on USB if you need persistent settings across devices
  • Working with DBs on USB sticks, may affect performance due to its slowness

Beside portable, a regular application setup can be built using an installer like InnoSetup, with automatic installation of all dependencies. But this will deploy the application on running machine.

Upvotes: 0

Related Questions