Installation issue regarding ODACs 7.10.0.4

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
scw2hi
Posts: 56
Joined: Fri 07 Jan 2005 13:06
Location: Hildesheim

Installation issue regarding ODACs 7.10.0.4

Post by scw2hi » Wed 23 Feb 2011 12:53

When I try to install new ODACs I get an error message, that there are already DAC components installed.

Which can that be??

How can I find out which components need to be uninstalled ?

With regards

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Post by jfudickar » Wed 23 Feb 2011 14:04

As a workaround start the installation with the command line paramter "/force".

For me it's a very "unnice" behaviour, but it works.

Regards
Jens

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Wed 23 Feb 2011 14:07

Hello,

This message indicates that you've already installed some of DAC products versions of which are incompatible with ODAC 7.10.0.4

You can find information about installed DAC products in Controll Panel->Add or Remove Programs.
Please remove all of installed DAC products and try to install ODAC again, or you can try to install ODAC with the 'force' key like

odac710XXXX.exe /force.

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Post by jfudickar » Wed 23 Feb 2011 14:22

The interesting question is:

Why is this necessary? Why isn't it possible to update the installation with the normal installer without "workarounds"?

Kind regards
Jens

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Thu 24 Feb 2011 08:29

Hello,

This option is needed when any previous versions of DAC products were deleted incorrectly, for example, if any DAC product is being deleted when IDE is running, some *.bpl files cannot be deleted, and when installing a new version this key should be used.

We'll consider the possibility of changing the installer, and add an option for deleting previous product versions.

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Post by jfudickar » Thu 24 Feb 2011 11:49

Hi Alex,

this was not my question.

I understand the force.

My question is, why is it not possible to install the new version without any command line parameter?

Greetings
Jens

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Thu 24 Feb 2011 12:44

Hello,

The new version can be successfully installed (without any command line parameter) only if previous versions were completely removed.
If any *.bpl file remains from previous versions, the new version can't be installed, and you should use the 'force' key to replace old files with the new ones.

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Post by jfudickar » Thu 24 Feb 2011 12:58

I know, but why?

Where is the problem to overwrite the existing *.bpl files?

In the minimum when they have the same name? There is no reason to deinstall first.
I've allways use the force parameter and i never had any problems?

Greetings
Jens Fudickar

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Thu 24 Feb 2011 14:16

Hello,

For all versions of DAC products for one IDE the same *.bpl files are used. So if you have an old version of, for example, UniDAC installed and you install a new version of PgDAC by only replacing *.bpl files, UniDAC won't work as it did earlier, because properties, methods, etc., may have changed in the new *.bpl version.
That's why you can install only compatible DAC versions for one IDE, or if you install a new product, you should delete the old ones.

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Post by jfudickar » Thu 24 Feb 2011 16:09

Hi Alex,

I understood, but I do not see, how this is solved.

If I have installed UniDac and PgDac and then when a new release is published, deinstall and reinstall PgDac, then the result is same. UniDac will no longer work.

So what is solved by deinstall and reinstall after?

Regards
Jens

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Fri 25 Feb 2011 10:01

Hello,

New versions of all DAC products are released together.
So if you have several DAC products, you should uninstall all old versions and install the new ones

We'll consider the possibility of changing the installer, and add an option for deleting previous product versions automatically.

Post Reply