summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--instsetoo_native/inc_openoffice/windows/msi_languages/Control.ulf3
-rw-r--r--instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt1
-rw-r--r--instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt5
-rw-r--r--scp2/source/ooo/registryitem_ooo.scp38
4 files changed, 45 insertions, 2 deletions
diff --git a/instsetoo_native/inc_openoffice/windows/msi_languages/Control.ulf b/instsetoo_native/inc_openoffice/windows/msi_languages/Control.ulf
index cfa908430e08..c795ec330850 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_languages/Control.ulf
+++ b/instsetoo_native/inc_openoffice/windows/msi_languages/Control.ulf
@@ -657,3 +657,6 @@ en-US = "No applications have been selected for installation. Click OK, then sel
[OOO_CONTROL_319]
en-US = "Create a start link on desktop"
+
+[OOO_CONTROL_320]
+en-US = "Support assistive technology tools"
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt
index 2705fc32aaa8..20d80fb07822 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt
@@ -2,3 +2,4 @@ Property Value
s72 S64
CheckBox Property
CREATEDESKTOPLINK 1
+ENABLEATTOOLS 1
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt
index 7fb391dd376b..80d431eae1ec 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt
@@ -222,7 +222,7 @@ ReadyToInstall Banner Bitmap 0 0 374 44 1 BannerBmp
ReadyToInstall BannerLine Line 0 44 374 0 1
ReadyToInstall Branding1 Text 4 229 88 13 3 {&MSSWhiteSerif8}[ProductName]
ReadyToInstall Branding2 Text 3 228 88 13 65537 [ProductName]
-ReadyToInstall Cancel PushButton 301 243 66 17 3 OOO_CONTROL_166 Back
+ReadyToInstall Cancel PushButton 301 243 66 17 3 OOO_CONTROL_166 DesktopLink
ReadyToInstall DlgDesc Text 21 23 272 25 65539 OOO_CONTROL_167
ReadyToInstall DlgLine Line 90 234 284 0 1
ReadyToInstall DlgText Text 21 51 326 20 3 OOO_CONTROL_168
@@ -231,7 +231,8 @@ ReadyToInstall DlgTitle Text 13 6 280 25 65538 OOO_CONTROL_170
ReadyToInstall DlgTitle2 Text 13 6 280 25 65538 OOO_CONTROL_171
ReadyToInstall DlgTitle3 Text 13 6 280 25 65538 OOO_CONTROL_172
ReadyToInstall InstallNow PushButton 230 243 66 17 3 OOO_CONTROL_173 Cancel
-ReadyToInstall DesktopLink CheckBox 21 100 300 10 3 CREATEDESKTOPLINK OOO_CONTROL_319
+ReadyToInstall DesktopLink CheckBox 21 100 300 10 3 CREATEDESKTOPLINK OOO_CONTROL_319 EnableATTools
+ReadyToInstall EnableATTools CheckBox 21 125 300 10 3 ENABLEATTOOLS OOO_CONTROL_320 Back
ReadyToRemove Back PushButton 164 243 66 17 3 OOO_CONTROL_174 RemoveNow
ReadyToRemove Banner Bitmap 0 0 374 44 1 BannerBmp
ReadyToRemove BannerLine Line 0 44 374 0 1
diff --git a/scp2/source/ooo/registryitem_ooo.scp b/scp2/source/ooo/registryitem_ooo.scp
index 803f9798b42c..32bb699bc56a 100644
--- a/scp2/source/ooo/registryitem_ooo.scp
+++ b/scp2/source/ooo/registryitem_ooo.scp
@@ -674,3 +674,41 @@ RegistryItem gid_Regitem_Software_RegisteredApplications
Value = "SOFTWARE\%MANUFACTURER\%PRODUCTNAME\%PRODUCTVERSION\Capabilities";
Styles = ();
End
+
+Module gid_Module_Enable_AT_Tools_For_All_Users
+ ParentID = gid_Module_Root;
+ Name = "gid_Module_Enable_AT_Tools_For_All_Users";
+ Description = "gid_Module_Enable_AT_Tools_For_All_Users";
+ Styles = (HIDDEN_ROOT);
+ Minimal = YES;
+ Default = YES;
+End
+
+Module gid_Module_Enable_AT_Tools_For_Current_User
+ ParentID = gid_Module_Root;
+ Name = "gid_Module_Enable_AT_Tools_For_Current_User";
+ Description = "gid_Module_Enable_AT_Tools_For_Current_User";
+ Styles = (HIDDEN_ROOT);
+ Minimal = YES;
+ Default = YES;
+End
+
+RegistryItem gid_Regitem_Enable_AT_Tools_For_All_Users
+ ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
+ Subkey = "SYSTEM\CurrentControlSet\Control\Session Manager\Environment";
+ ModuleID = gid_Module_Enable_AT_Tools_For_All_Users;
+ Name = "SAL_ACCESSIBILITY_ENABLED";
+ Value = "1";
+ Styles = ();
+ ComponentCondition = "(ALLUSERS=1) AND (ENABLEATTOOLS=1)";
+End
+
+RegistryItem gid_Regitem_Enable_AT_Tools_For_Current_User
+ ParentID = PREDEFINED_HKEY_CURRENT_USER;
+ Subkey = "Environment";
+ ModuleID = gid_Module_Enable_AT_Tools_For_Current_User;
+ Name = "SAL_ACCESSIBILITY_ENABLED";
+ Value = "1";
+ Styles = ();
+ ComponentCondition = "(ALLUSERS<>1) AND (ENABLEATTOOLS=1)";
+End