New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with Install Command line /COPYFBCLIENT FB 2.5.1 [CORE3832] #4174
Comments
Modified by: Sean Leyne (seanleyne)Component: Installation [ 10012 ] Component: API / Client Library [ 10040 ] => |
Commented by: Sean Leyne (seanleyne) Have you confirmed whether the option works outside of your Delphi application? |
Commented by: ZERROUKI (moyzer) Yes, just put this Comand line: C:\Firebird-2.5.1.26351_1_Win32.exe /CopyFbClient don't copy FbClient.dll in system32 ! - windows XP SP3 I tried : Classic and SuperServer --> no think ! Also with Task options --> no think ! Best regards. |
Commented by: Beto Neto (betoneto.tbo) I getting the same problem. Using installer version 2.1.4 win32. I'm using this params: /SP- /SILENT /SUPPRESSMSGBOXES /NOCANCEL /COMPONENTS="ServerComponent\SuperServerComponent,ServerComponent,DevAdminComponent,ClientComponent" /TASKS="UseGuardianTask,UseServiceTask,AutoStartTask,CopyFbClientToSysTask,CopyFbClientAsGds32Task" /DIR="c:\Firebird" /COPYFBCLIENT - This also does not works |
Commented by: Alexey Pavlov (alexx83) I have the same issue with Firebird-2.5.1,2.5.2 on Windows Vista and Windows 7 |
Commented by: ZERROUKI (moyzer) - In fact, we must now avoid to copy any think in System32 in both Win vista and Win7, (and greater I think) - So, the simplest way, as I do now, is to use the classic path : This is safe. |
Commented by: Treppen (treppen123) This is a very annyoing problem. Now I assume that there is a check like 'if checkbox.visible and checkbox.enabled' and this is causing the problem. I want to start the setup with all task set - so the customer doesn't have to do anything. I still could start after the installation C:\Program Files (x86)\Firebird\Firebird_2_5\bin\instclient.exe install fbclient and install the client. But this is only a bad workaround. Edit: |
Commented by: ZERROUKI (moyzer) @Treppen : "It is not - or do you retrieve the installation path from the registry?" About, the library file path : indeed there is much possibilities : So, the simplest way to do this, is a test File existence : This gives the correct path for fbclient.dll : DO NOT use System32 (because of UAC) UIBDataBase1.Connected:=False; if FileExists(GetProgramFilesDir + '\Firebird\Firebird_3_0\bin\fbclient.dll') then else if FileExists(GetProgramFilesDir + '\Firebird\Firebird_2_5\bin\fbclient.dll') then else if FileExists(GetProgramFilesDir + '\Firebird\Firebird_2_1\bin\fbclient.dll') then else if FileExists(GetProgramFilesDir + '\Firebird\Firebird_2_0\bin\fbclient.dll') then UIBDataBase1.UserName :='sysdba'; UIBDataBase1.DatabaseName:=MyDataBasePath; end; _________________________________ function GetProgramFilesDir : string; function GetSpecialFolderPath(folder : integer) : string; GetProgramFilesDir function --> gives naturally the good -> Program Files (x86 or not). All the Best... |
Submitted by: ZERROUKI (moyzer)
Votes: 2
The Command Line /COPYFBCLIENT
not work (with ShellExecute DELPHI)
The text was updated successfully, but these errors were encountered: