summaryrefslogtreecommitdiff
path: root/scp2/source/onlineupdate/file_onlineupdate.scp
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-03-06 16:10:25 +0100
committerAndras Timar <atimar@suse.com>2012-03-06 16:15:58 +0100
commit5ce699f0c82d5bfd629c22be0747bbe3b851a9fd (patch)
treefdfcabfa0f52b5a6aa1727b9e87996fd07cfe622 /scp2/source/onlineupdate/file_onlineupdate.scp
parent51791eaf8611287c21ad53645036a77c1dd84ddf (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.
Diffstat (limited to 'scp2/source/onlineupdate/file_onlineupdate.scp')
-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 526e6eb8c539..7c60bcc68be1 100644
--- a/scp2/source/onlineupdate/file_onlineupdate.scp
+++ b/scp2/source/onlineupdate/file_onlineupdate.scp
@@ -27,13 +27,20 @@
#include "macros.inc"
-SPECIAL_LIB_FILE( gid_File_Lib_Updchk , updchk )
+File gid_File_Lib_Updchk
+ BIN_FILE_BODY;
+ Styles = (PACKED);
+ Dir = gid_Brand_Dir_Program;
+ Name = "updchk.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