mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:43:03 +01:00
Ensure that binary installer removes an existing service. Otherwise it will attempt to start the pre-existing service, not the one it has just installed.
This commit is contained in:
parent
95ac346aa1
commit
240322a866
@ -193,11 +193,10 @@ AppName={#MyAppName}
|
||||
;duplicate this. See the InnoSetup help for details.
|
||||
#if PlatformTarget == "x64"
|
||||
AppID={#MyAppId}_{#BaseVer}_{#PlatformTarget}
|
||||
AppVerName={#MyAppVerName} ({#PlatformTarget})
|
||||
#else
|
||||
AppID={#MyAppId}_{#BaseVer}
|
||||
AppVerName={#MyAppVerName}
|
||||
#endif
|
||||
AppVerName={#MyAppVerName} ({#PlatformTarget})
|
||||
AppPublisher={#MyAppPublisher}
|
||||
AppPublisherURL={#MyAppURL}
|
||||
AppSupportURL={#MyAppURL}
|
||||
@ -217,7 +216,7 @@ WizardImageFile={#ScriptsDir}\firebird_install_logo1.bmp
|
||||
WizardSmallImageFile={#ScriptsDir}\firebird_install_logo1.bmp
|
||||
|
||||
DefaultDirName={code:ChooseInstallDir|{pf}\Firebird\Firebird_{#AppVer}}
|
||||
DefaultGroupName=Firebird {#GroupnameVer}
|
||||
DefaultGroupName=Firebird {#GroupnameVer} ({#PlatformTarget})
|
||||
|
||||
UninstallDisplayIcon={code:ChooseUninstallIcon|{#UninstallBinary}}
|
||||
#ifndef compression
|
||||
@ -332,6 +331,8 @@ Filename: {app}\WOW64\instclient.exe; Parameters: "install gds32"; StatusMsg: {c
|
||||
#endif
|
||||
|
||||
;If on NT/Win2k etc and 'Install and start service' requested
|
||||
;First, if installing service we must try and remove remnants of old service. Otherwise the new install will fail and when we start the service the old service will be started.
|
||||
Filename: {app}\bin\instsvc.exe; Parameters: "remove "; StatusMsg: {cm:instsvcSetup}; MinVersion: 0,4.0; Components: ServerComponent; Flags: runminimized; Tasks: UseServiceTask; Check: ConfigureFirebird;
|
||||
Filename: {app}\bin\instsvc.exe; Parameters: "install {code:ServiceStartFlags} "; StatusMsg: {cm:instsvcSetup}; MinVersion: 0,4.0; Components: ServerComponent; Flags: runminimized; Tasks: UseServiceTask; Check: ConfigureFirebird;
|
||||
Filename: {app}\bin\instsvc.exe; Description: {cm:instsvcStartQuestion}; Parameters: "start {code:ServiceName} "; StatusMsg: {cm:instsvcStartMsg}; MinVersion: 0,4.0; Components: ServerComponent; Flags: runminimized postinstall; Tasks: UseServiceTask; Check: StartEngine
|
||||
;If 'start as application' requested
|
||||
|
@ -50,20 +50,10 @@ o Unfortunately, (at the time of Beta 2) the installer
|
||||
o There are known areas of overlap between the
|
||||
32-bit and 64-bit installs:
|
||||
|
||||
- The Control Panel | Add or Remove Programs section
|
||||
does not indicate that an installed 32-bit version
|
||||
is 32-bit. However, an installed 64-bit version is
|
||||
clearly marked.
|
||||
|
||||
- The service installer (instsvc) uses the same
|
||||
instance name for 32-bit and 64-bit installed. This
|
||||
is by design. If an attempt is made to install (for
|
||||
example) the 32-bit version and the 64-bit version
|
||||
simultaneously using the default instance name
|
||||
instsvc will see the location of the first version
|
||||
to be installed and continue to use it. This means
|
||||
that it will restart the original service at the
|
||||
end of installation.
|
||||
default instance name for 32-bit and 64-bit
|
||||
installations. This is by design. Services exist
|
||||
in a single name space.
|
||||
|
||||
- If the 32-bit and 64-bit control panel applets are
|
||||
installed they will both point to the same default
|
||||
|
Loading…
Reference in New Issue
Block a user