summaryrefslogtreecommitdiff
path: root/scp2
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-03-06 21:46:12 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-03-08 12:02:08 +0000
commitd66344d7c79d698317194b19ccbb951844954c81 (patch)
treeb7261d485a0238c03476622f82bbebd7e3615164 /scp2
parentb4931cf9e7d5a4bcda7c52c46d6c4f5e32420396 (diff)
fdo#46508 use ISCHECKFORPRODUCTUPDATES property for online update
ISCHECKFORPRODUCTUPDATES is a de-facto standard for enabling or disabling Online Update feature. We had this property but it was unused for a long time. Now LibreOffice can be installed with msiexec /i LibO<version>.msi ISCHECKFORPRODUCTUPDATES=0 in order to disable Online Update feature. Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Diffstat (limited to 'scp2')
-rw-r--r--scp2/source/onlineupdate/file_onlineupdate.scp9
1 files changed, 8 insertions, 1 deletions
diff --git a/scp2/source/onlineupdate/file_onlineupdate.scp b/scp2/source/onlineupdate/file_onlineupdate.scp
index 07ab650acc2b..8cca574619c5 100644
--- a/scp2/source/onlineupdate/file_onlineupdate.scp
+++ b/scp2/source/onlineupdate/file_onlineupdate.scp
@@ -27,13 +27,20 @@
#include "macros.inc"
-SPECIAL_COMPONENT_LIB_FILE( gid_File_Lib_Updchk , updchk.uno )
+File gid_File_Lib_Updchk
+ BIN_FILE_BODY;
+ Styles = (PACKED);
+ Dir = gid_Brand_Dir_Program;
+ Name = "updchk.uno.dll";
+ ComponentCondition="ISCHECKFORPRODUCTUPDATES=1";
+End
File gid_File_Share_Registry_Onlineupdate_Xcd
TXT_FILE_BODY;
Styles = (PACKED);
Dir = gid_Brand_Dir_Share_Registry;
Name = "onlineupdate.xcd";
+ ComponentCondition="ISCHECKFORPRODUCTUPDATES=1";
End
#if defined LINUX || defined SOLARIS