English 中文(简体)
Building Installation Disk for My Delphi 2010 Application
原标题:

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.

最佳回答

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.

问题回答

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.





相关问题
determining the character set to use

my delphi 2009 app has a basic translation system that uses GNUGetText. i had used some win API calls to prepare the fonts. i thought it was working correctly until recently when someone from Malta ...

Help with strange Delphi 5 IDE problems

Ok, I m going nuts here. For the last (almost) four years, I ve been putting up with some extremely bad behavior from my Delphi 5 IDE. Problems include: Seemingly random errors in coride50.bpl ...

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How convert string to integer in Oxygene

In Delphi, there is a function StrToInt() that converts a string to an integer value; there is also IntToStr(), which does the reverse. These functions doesn t appear to be part of Oxygene, and I can ...

Quick padding of a string in Delphi

I was trying to speed up a certain routine in an application, and my profiler, AQTime, identified one method in particular as a bottleneck. The method has been with us for years, and is part of a "...

热门标签