Question

Can someone please give me a step by step on how to build an installation disk for my Delphi 2010 application?

I have tried both InstallAware Express Edition which comes with Delphi 2010 but keeps on giving me error message for it continue to look for *120.bpl instead of *140.bpl

I have also tried InnoSetup with ISTool but fail to work, which I believe I am not setting it up properly.... (e.g. failed to include all required packages)

My Apps is a simple database enquiry which I used dbExpress to connect to my ms-sql database.

I have also tried switching the flag in Delphi 2010 for "Built with Packages", no luck also...

Please help....

I am leaning toward using InnoSetup instead, but can someone tell me what is the typical set up is like... much appreciated.

Cheers.

Was it helpful?

Solution

dbexpress in Delphi 2010 don't need nothing to be registered when deployed.

You simply need to create a folder with:

  1. your executable.
  2. all the required packages.
  3. libmysql.dll
  4. dbxmys.dll
  5. midas.dll (if you are not using midaslib in your uses clause)

This is a easy work for an installer.

OTHER TIPS

The best place for support on an innosetup script, is the innosetup newsgroups. If you ask your question there, they would want to know more detail about what you are trying to do. Your app is going to set up some database stuff, so a lot more detail is required if you want an answer.

Innosetup is definitely is the easiest and fastest route to a setup.exe, which when placed on a CD, would make an "install CD". (Who uses CDs anymore anyways?)

In Thunderbird/OutlookExpress/WindowsMail, add an nntp server called news.jrsoftware.org, and subscribe to the newsgroup "Jrsoftware.innosetup.code" and "jrsoftware.innosetup", and ask your question. Post your script. Show your error messages. Explain your database configuration strings, and how you are installing any dbExpress runtime components, if any apply to your application.

We've used Wise Installation for many years. Very easy to build install scripts. Works great.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top