Kaydet (Commit) b09c5286 authored tarafından Michael Stahl's avatar Michael Stahl

scp2: convert BINARYTABLE MSI CustomAction dlls to AutoInstall

Second attempt, this time using a new type LIBO_LIB_FILE_BINARYTABLE
in scp2/macros.inc; for the resulting MSI file Orca lists the same
files in "Binary" table now.

Change-Id: I550ede75f16a46da9dd7377594aa28b7c06f0348
üst af5a380b
...@@ -569,24 +569,38 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \ ...@@ -569,24 +569,38 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
)) ))
ifeq ($(OS),WNT) ifeq ($(OS),WNT)
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
$(if $(DISABLE_ACTIVEX),,\
regactivex \
) \
))
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
$(if $(WINDOWS_SDK_HOME),\
instooofiltmsi \
qslnkmsi \
reg4allmsdoc \
sdqsmsi \
sellangmsi \
sn_tools \
) \
))
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
shlxtmsi \
))
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
fop \ fop \
instooofiltmsi \
jfregca \ jfregca \
ooofilt \ ooofilt \
ooofilt_x64 \ ooofilt_x64 \
propertyhdl \ propertyhdl \
propertyhdl_x64 \ propertyhdl_x64 \
qslnkmsi \
reg4allmsdoc \
regactivex \
regpatchactivex \ regpatchactivex \
sdqsmsi \
sellangmsi \
shlxthdl \ shlxthdl \
shlxthdl_x64 \ shlxthdl_x64 \
shlxtmsi \
sn_tools \
so_activex \ so_activex \
so_activex_x64 \ so_activex_x64 \
sysdtrans \ sysdtrans \
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
$(eval $(call gb_AutoInstall_AutoInstall)) $(eval $(call gb_AutoInstall_AutoInstall))
$(eval $(call gb_AutoInstall_add_module,activexbinarytable,LIBO_LIB_FILE_BINARYTABLE))
$(eval $(call gb_AutoInstall_add_module,base,LIBO_LIB_FILE)) $(eval $(call gb_AutoInstall_add_module,base,LIBO_LIB_FILE))
$(eval $(call gb_AutoInstall_add_module,calc,LIBO_LIB_FILE)) $(eval $(call gb_AutoInstall_add_module,calc,LIBO_LIB_FILE))
$(eval $(call gb_AutoInstall_add_module,gnome,LIBO_LIB_FILE)) $(eval $(call gb_AutoInstall_add_module,gnome,LIBO_LIB_FILE))
...@@ -18,8 +19,10 @@ $(eval $(call gb_AutoInstall_add_module,kde,LIBO_LIB_FILE)) ...@@ -18,8 +19,10 @@ $(eval $(call gb_AutoInstall_add_module,kde,LIBO_LIB_FILE))
$(eval $(call gb_AutoInstall_add_module,math,LIBO_LIB_FILE)) $(eval $(call gb_AutoInstall_add_module,math,LIBO_LIB_FILE))
$(eval $(call gb_AutoInstall_add_module,onlineupdate,LIBO_LIB_FILE)) $(eval $(call gb_AutoInstall_add_module,onlineupdate,LIBO_LIB_FILE))
$(eval $(call gb_AutoInstall_add_module,ooo,LIBO_LIB_FILE,LIBO_EXECUTABLE)) $(eval $(call gb_AutoInstall_add_module,ooo,LIBO_LIB_FILE,LIBO_EXECUTABLE))
$(eval $(call gb_AutoInstall_add_module,ooobinarytable,LIBO_LIB_FILE_BINARYTABLE))
$(eval $(call gb_AutoInstall_add_module,tde,LIBO_LIB_FILE)) $(eval $(call gb_AutoInstall_add_module,tde,LIBO_LIB_FILE))
$(eval $(call gb_AutoInstall_add_module,ure,URE_PRIVATE_LIB,URE_EXECUTABLE)) $(eval $(call gb_AutoInstall_add_module,ure,URE_PRIVATE_LIB,URE_EXECUTABLE))
$(eval $(call gb_AutoInstall_add_module,winexplorerextbinarytable,LIBO_LIB_FILE_BINARYTABLE))
$(eval $(call gb_AutoInstall_add_module,writer,LIBO_LIB_FILE)) $(eval $(call gb_AutoInstall_add_module,writer,LIBO_LIB_FILE))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -151,6 +151,13 @@ ...@@ -151,6 +151,13 @@
PACKED_LIB_FILE_BODY; \ PACKED_LIB_FILE_BODY; \
End End
#define LIBO_LIB_FILE_BINARYTABLE(id,name) \
File id \
Name = name; \
PACKED_LIB_FILE_BODY; \
Styles = (PACKED, BINARYTABLE, BINARYTABLE_ONLY); \
End
#define STD_LIB_FILE(id,name) \ #define STD_LIB_FILE(id,name) \
File id \ File id \
Name = LIBNAME(name); \ Name = LIBNAME(name); \
......
...@@ -37,11 +37,4 @@ End ...@@ -37,11 +37,4 @@ End
End End
#endif #endif
File gid_File_Lib_Regactivex_Msi
LIB_FILE_BODY;
Styles = (PACKED, BINARYTABLE, BINARYTABLE_ONLY);
Dir = SCP2_OOO_BIN_DIR;
Name = "regactivex.dll";
End
#endif // WITH_ACTIVEX_COMPONENT #endif // WITH_ACTIVEX_COMPONENT
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
*/ */
#include "macros.inc" #include "macros.inc"
#include "AutoInstall/activexbinarytable"
#ifdef WITH_ACTIVEX_COMPONENT #ifdef WITH_ACTIVEX_COMPONENT
...@@ -27,7 +28,10 @@ Module gid_Module_Optional_Activexcontrol ...@@ -27,7 +28,10 @@ Module gid_Module_Optional_Activexcontrol
Default = NO; Default = NO;
Minimal = NO; Minimal = NO;
ParentID = gid_Module_Optional; ParentID = gid_Module_Optional;
Files = (gid_File_Lib_Soactivex, gid_File_Lib_Soactivex64, gid_File_Lib_Regactivex_Msi, gid_File_Lib_Regpatchactivex_Msi); Files = (auto_activexbinarytable_ALL
gid_File_Lib_Soactivex,
gid_File_Lib_Soactivex64,
gid_File_Lib_Regpatchactivex_Msi);
End End
#endif // WITH_ACTIVEX_COMPONENT #endif // WITH_ACTIVEX_COMPONENT
...@@ -505,48 +505,3 @@ File gid_File_Lib_Rdf ...@@ -505,48 +505,3 @@ File gid_File_Lib_Rdf
End End
#endif // SYSTEM_REDLAND #endif // SYSTEM_REDLAND
#if defined(WNT) && defined(HAVE_WINDOWS_SDK)
File gid_File_Lib_sn_tools
LIB_FILE_BODY;
Styles = (PACKED, BINARYTABLE, BINARYTABLE_ONLY);
Dir = SCP2_OOO_LIB_DIR;
Name = "sn_tools.dll";
End
File gid_File_Lib_Reg4allmsdoc
LIB_FILE_BODY;
Styles = (PACKED, BINARYTABLE, BINARYTABLE_ONLY);
Dir = SCP2_OOO_BIN_DIR;
Name = "reg4allmsdoc.dll";
End
File gid_File_Lib_Qslnkmsi
LIB_FILE_BODY;
Styles = (PACKED, BINARYTABLE, BINARYTABLE_ONLY);
Dir = SCP2_OOO_BIN_DIR;
Name = "qslnkmsi.dll";
End
File gid_File_Lib_Sdqsmsi
LIB_FILE_BODY;
Styles = (PACKED, BINARYTABLE, BINARYTABLE_ONLY);
Dir = SCP2_OOO_BIN_DIR;
Name = "sdqsmsi.dll";
End
File gid_File_Lib_Instooofiltmsi
LIB_FILE_BODY;
Styles = (PACKED, BINARYTABLE, BINARYTABLE_ONLY);
Dir = SCP2_OOO_BIN_DIR;
Name = "instooofiltmsi.dll";
End
File gid_File_Lib_sellangmsi
LIB_FILE_BODY;
Styles = (PACKED, BINARYTABLE, BINARYTABLE_ONLY);
Dir = gid_Brand_Dir_Program;
Name = "sellangmsi.dll";
End
#endif /* WNT && HAVE_WINDOWS_SDK */
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include "macros.inc" #include "macros.inc"
#include "AutoInstall/ooo" #include "AutoInstall/ooo"
#include "AutoInstall/ooobinarytable"
#ifdef AIX #ifdef AIX
#ifndef SYSTEM_CURL #ifndef SYSTEM_CURL
...@@ -140,6 +141,7 @@ Module gid_Module_Root_Files_4 ...@@ -140,6 +141,7 @@ Module gid_Module_Root_Files_4
Styles = (HIDDEN_ROOT); Styles = (HIDDEN_ROOT);
Files = (gid_File_Dat_Root4, Files = (gid_File_Dat_Root4,
auto_ooo_ALL, auto_ooo_ALL,
auto_ooobinarytable_ALL,
gid_File_Lib_Bib, gid_File_Lib_Bib,
gid_File_Lib_J, gid_File_Lib_J,
gid_File_Lib_Oox, gid_File_Lib_Oox,
...@@ -207,12 +209,7 @@ Module gid_Module_Root_Files_5 ...@@ -207,12 +209,7 @@ Module gid_Module_Root_Files_5
gid_File_Lib_I18n, gid_File_Lib_I18n,
gid_File_Lib_Accessbridge, gid_File_Lib_Accessbridge,
gid_File_Lib_Dl, gid_File_Lib_Dl,
gid_File_Lib_sn_tools,
GID_FILE_LIB_WPD, GID_FILE_LIB_WPD,
gid_File_Lib_Reg4allmsdoc,
gid_File_Lib_Qslnkmsi,
gid_File_Lib_Sdqsmsi,
gid_File_Lib_Instooofiltmsi,
gid_File_Lib_Cli_Oootypes_Assembly, gid_File_Lib_Cli_Oootypes_Assembly,
gid_File_Lib_Policy_Cli_Oootypes_Assembly, gid_File_Lib_Policy_Cli_Oootypes_Assembly,
gid_File_Lib_Policy_Cli_Oootypes_Config); gid_File_Lib_Policy_Cli_Oootypes_Config);
......
...@@ -80,13 +80,6 @@ End ...@@ -80,13 +80,6 @@ End
#endif #endif
File gid_File_Lib_Shlxtmsi
LIB_FILE_BODY;
Styles = (PACKED, BINARYTABLE, BINARYTABLE_ONLY);
Dir = SCP2_OOO_BIN_DIR;
Name = "shlxtmsi.dll";
End
#ifdef BUILD_X64 #ifdef BUILD_X64
#if defined(WITH_VC100_REDIST) #if defined(WITH_VC100_REDIST)
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
*/ */
#include "macros.inc" #include "macros.inc"
#include "AutoInstall/winexplorerextbinarytable"
Module gid_Module_Optional_Winexplorerext Module gid_Module_Optional_Winexplorerext
MOD_NAME_DESC ( MODULE_OPTIONAL_WINDOWS_EXPLORER_EXTENSIONS ); MOD_NAME_DESC ( MODULE_OPTIONAL_WINDOWS_EXPLORER_EXTENSIONS );
...@@ -25,10 +26,10 @@ Module gid_Module_Optional_Winexplorerext ...@@ -25,10 +26,10 @@ Module gid_Module_Optional_Winexplorerext
Minimal = YES; Minimal = YES;
ParentID = gid_Module_Optional; ParentID = gid_Module_Optional;
Dirs = (gid_Dir_Shlxthdl); Dirs = (gid_Dir_Shlxthdl);
Files = (gid_File_Lib_Shlxthdl, Files = (auto_winexplorerextbinarytable_ALL
gid_File_Lib_Shlxthdl,
gid_File_Lib_OOoFilt, gid_File_Lib_OOoFilt,
gid_File_Lib_PropertyHdl, gid_File_Lib_PropertyHdl,
gid_File_Lib_Shlxtmsi,
gid_File_Tmp_Userinstall_Winexplorerext_Inf); gid_File_Tmp_Userinstall_Winexplorerext_Inf);
End End
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment