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

                 Key: CORE-4110
                 URL: http://tracker.firebirdsql.org/browse/CORE-4110
             Project: Firebird Core
          Issue Type: Bug
          Components: Installation
    Affects Versions: 2.5.2 Update 1
         Environment: Windows 7, Windows XP
            Reporter: michalk1
            Priority: Minor


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
  ; 
...


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to