Issue Details (XML | Word | Printable)

Key: CORE-4110
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Paul Reeves
Reporter: michalk1
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Firebird Core

FB 2.5 Windows installer doesn't detect existing FB 2.1 install

Created: 31/May/13 08:47 AM   Updated: 31/May/13 09:43 AM
Component/s: Installation
Affects Version/s: 2.5.2 Update 1
Fix Version/s: None

Environment: Windows 7, Windows XP


 Description  « Hide
The FB 2.5 Windows installer doesn't detect existing FB 2.1 install and as a result, overwrites it's service settings.

Steps to reproduce:
- Install Firebird 2.1.5, default settings
- Stop the Firebird service
- Install Firebird 2.5.2, default settings
Now, the only installed service is the FB 2.5 one.

The correct behaviour should be to show a warning message: "If you continue with this installation Firebird will be installed but not configured".


The bug is probably in the following fragment of AnalysisAssessment function in file FirebirdInstall_20.iss, which was left unmodified since FB 2.1 (another resembling suspicious code is in SummarizeInstalledProducts function):

function AnalysisAssessment: boolean;
...
  //If existing install of the same majorver.minorver is
  //found then we can upgrade it.
 if ( (ProductsInstalledCount = 1) AND
#if PlatformTarget == "x64"
    ((ProductsInstalled AND FB21_x64 ) = FB21_x64 ) ) then begin
#else
    ((ProductsInstalled AND FB21 ) = FB21 ) ) then begin
#endif
        result := true;
        exit;
    end
  ;
...


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.