@@ -384,7 +384,7 @@ Filename: msiexec.exe; Parameters: "/qn /norestart /i ""{tmp}\vccrt{#msvc_runtim
384384#endif
385385
386386;Only register Firebird if we are installing AND configuring
387- Filename : {app} \instreg.exe; Parameters : " install " ; StatusMsg : {cm:instreg}; MinVersion: {#MinVer}; Components : ClientComponent ; Flags : runminimized ; Check : ConfigureFirebird;
387+ Filename : {app} \instreg.exe; Parameters : " install " ; StatusMsg : {cm:instreg}; MinVersion: {#MinVer}; Components : ServerComponent ; Flags : runminimized ; Check : ConfigureFirebird;
388388
389389Filename : {app} \instclient.exe; Parameters : " install fbclient" ; StatusMsg : {cm:instclientCopyFbClient}; MinVersion: {#MinVer}; Components : ClientComponent; Flags : runminimized ; Check : CopyFBClientLib;
390390Filename : {app} \instclient.exe; Parameters : " install gds32" ; StatusMsg : {cm:instclientGenGds32}; MinVersion: {#MinVer}; Components : ClientComponent; Flags : runminimized ; Check : CopyGds32
@@ -410,7 +410,7 @@ Filename: "{#MyAppURL}/afterinstall"; Description: "After installation - What Ne
410410Root : HKLM; Subkey : SOFTWARE\Microsoft\Windows\CurrentVersion\Run; ValueType : string ; ValueName : Firebird; ValueData : ; Flags : uninsdeletevalue ; Tasks: UseApplicationTask; Check : ConfigureFirebird;
411411
412412;This doesn't seem to get cleared automatically by instreg on uninstall, so lets make sure of it
413- Root : HKLM; Subkey : " SOFTWARE\Firebird Project" ; Flags : uninsdeletekeyifempty ; Components : ClientComponent DevAdminComponent ServerComponent
413+ Root : HKLM; Subkey : " SOFTWARE\Firebird Project" ; Flags : uninsdeletekeyifempty ; Components : ServerComponent
414414
415415;Clean up Invalid registry entries from previous installs.
416416Root : HKLM; Subkey : " SOFTWARE\FirebirdSQL" ; ValueType : none ; Flags : deletekey ;
@@ -476,7 +476,7 @@ Source: {#FilesDir}\firebird.exe; DestDir: {app}; Components: ServerComponent; F
476476Source : {#FilesDir}\fb_lock_print.exe; DestDir : {app} ; Components : ServerComponent; Flags : sharedfile ignoreversion
477477Source : {#FilesDir}\ib_util.dll; DestDir : {app} ; Components : ServerComponent; Flags : sharedfile ignoreversion
478478Source : {#FilesDir}\instclient.exe; DestDir : {app} ; Components : ClientComponent; Flags : sharedfile ignoreversion
479- Source : {#FilesDir}\instreg.exe; DestDir : {app} ; Components : ClientComponent ; Flags : sharedfile ignoreversion
479+ Source : {#FilesDir}\instreg.exe; DestDir : {app} ; Components : ServerComponent ; Flags : sharedfile ignoreversion
480480Source : {#FilesDir}\instsvc.exe; DestDir : {app} ; Components : ServerComponent; MinVersion: {#MinVer}; Flags : sharedfile ignoreversion
481481Source : {#FilesDir}\isql.exe; DestDir : {app} ; Components : DevAdminComponent; Flags : ignoreversion
482482Source : {#FilesDir}\nbackup.exe; DestDir : {app} ; Components : DevAdminComponent; Flags : ignoreversion
@@ -487,14 +487,25 @@ Source: {#FilesDir}\fbclient.dll; DestDir: {app}; Components: ClientComponent; F
487487Source : {#WOW64Dir}\fbclient.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : overwritereadonly sharedfile promptifolder {#SkipFileIfDevStatus}
488488Source : {#WOW64Dir}\instclient.exe; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion {#SkipFileIfDevStatus}
489489#endif
490- Source : {#FilesDir}\icuuc??.dll; DestDir : {app} ; Components : ServerComponent; Flags : sharedfile ignoreversion
491- Source : {#FilesDir}\icuin??.dll; DestDir : {app} ; Components : ServerComponent; Flags : sharedfile ignoreversion
492- Source : {#FilesDir}\icudt??.dll; DestDir : {app} ; Components : ServerComponent; Flags : sharedfile ignoreversion
493- Source : {#FilesDir}\icudt*.dat; DestDir : {app} ; Components : ServerComponent; Flags : sharedfile ignoreversion
490+ Source : {#FilesDir}\icuuc??.dll; DestDir : {app} ; Components : ClientComponent; Flags : sharedfile ignoreversion
491+ Source : {#FilesDir}\icuin??.dll; DestDir : {app} ; Components : ClientComponent; Flags : sharedfile ignoreversion
492+ Source : {#FilesDir}\icudt??.dll; DestDir : {app} ; Components : ClientComponent; Flags : sharedfile ignoreversion
493+ Source : {#FilesDir}\icudt*.dat; DestDir : {app} ; Components : ClientComponent; Flags : sharedfile ignoreversion
494+ #if PlatformTarget == " x64"
495+ Source : {#WOW64Dir}\icuuc??.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion
496+ Source : {#WOW64Dir}\icuin??.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion
497+ Source : {#WOW64Dir}\icudt??.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion
498+ Source : {#WOW64Dir}\icudt*.dat; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion
499+ #endif
500+
494501#if PlatformTarget == " Win32"
495502Source : {#FilesDir}\fbrmclib.dll; DestDir : {app} ; Components : ServerComponent; Flags : sharedfile ignoreversion
496503#endif
497- Source : {#FilesDir}\zlib1.dll; DestDir : {app} ; Components : ServerComponent; Flags : sharedfile ignoreversion
504+
505+ Source : {#FilesDir}\zlib1.dll; DestDir : {app} ; Components : ClientComponent; Flags : sharedfile ignoreversion
506+ #if PlatformTarget == " x64"
507+ Source : {#WOW64Dir}\zlib1.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion
508+ #endif
498509
499510;Rules for installation of MS runtimes are simplified with MSVC10
500511;We just install the runtimes into the install dir.
@@ -542,9 +553,13 @@ Source: {#WOW64Dir}\lib\*.lib; DestDir: {app}\WOW64\lib; Components: DevAdminCom
542553;Source: {#FilesDir}\UDF\*.txt; DestDir: {app}\UDF; Components: ServerComponent; Flags: ignoreversion;
543554
544555Source : {#FilesDir}\plugins.conf; DestDir : {app} ; Components : ServerComponent; Flags : ignoreversion ;
545- Source : {#FilesDir}\plugins\*.dll; DestDir : {app} \plugins; Components : ServerComponent; Flags : ignoreversion ;
556+ Source : {#FilesDir}\plugins\*.dll; DestDir : {app} \plugins; Components : ServerComponent; Flags : ignoreversion ; Check : IsServerInstall;
557+ Source : {#FilesDir}\plugins\chacha.dll; DestDir : {app} \plugins; Components : ClientComponent; Flags : ignoreversion ; Check : IsNotServerInstall;
546558Source : {#FilesDir}\plugins\*.conf; DestDir : {app} \plugins; Components : ServerComponent; Flags : ignoreversion ;
547559Source : {#FilesDir}\plugins\udr\*.*; DestDir : {app} \plugins\udr; Components : ServerComponent; Flags : ignoreversion ;
560+ #if PlatformTarget == " x64"
561+ Source : {#WOW64Dir}\plugins\chacha*.dll; DestDir : {app} \WOW64\plugins; Components : ClientComponent; Flags : ignoreversion ;
562+ #endif
548563
549564Source : {#FilesDir}\misc\*.*; DestDir : {app} \misc; Components : ServerComponent; Flags : ignoreversion createallsubdirs recursesubdirs ;
550565
@@ -575,7 +590,7 @@ Filename: {app}\instclient.exe; Parameters: " remove fbclient"; StatusMsg: {cm:i
575590Filename : {app} \wow64\instclient.exe; Parameters : " remove gds32" ; StatusMsg : {cm:instclientDecLibCountGds32}; MinVersion: {#MinVer}; Flags : runminimized 32bit ; RunOnceId: RemoveGDS32x86
576591Filename : {app} \wow64\instclient.exe; Parameters : " remove fbclient" ; StatusMsg : {cm:instclientDecLibCountFbClient}; MinVersion: {#MinVer}; Flags : runminimized 32bit ; RunOnceId: RemoveFbClientx86
577592#endif
578- Filename : {app} \instreg.exe; Parameters : " remove" ; StatusMsg : {cm:instreg}; MinVersion: {#MinVer}; Flags : runminimized ; RunOnceId: RemoveRegistryEntry
593+ Filename : {app} \instreg.exe; Parameters : " remove" ; StatusMsg : {cm:instreg}; MinVersion: {#MinVer}; Components : ServerComponent; Flags : runminimized ; RunOnceId: RemoveRegistryEntry
579594
580595[UninstallDelete]
581596Type : files ; Name : " {app} \*.lck"
0 commit comments