bump product version to 7.6.3.2-android
[LibreOffice.git] / scp2 / source / ooo / windowscustomaction_ooo.scp
blob41b78daad13bac1454a5e58bf28d67998757d367
1 /*
2  * This file is part of the LibreOffice project.
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  *
8  * This file incorporates work covered by the following license notice:
9  *
10  *   Licensed to the Apache Software Foundation (ASF) under one or more
11  *   contributor license agreements. See the NOTICE file distributed
12  *   with this work for additional information regarding copyright
13  *   ownership. The ASF licenses this file to you under the Apache
14  *   License, Version 2.0 (the "License"); you may not use this file
15  *   except in compliance with the License. You may obtain a copy of
16  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
17  */
19 #include "macros.inc"
21 WindowsCustomAction gid_Customaction_Regallmsdocdll
22         Name = "Regallmsdocdll";
23         Typ = "65";
24         Source = "reg4allmsdoc.dll";
25         Target = "FindRegisteredExtensions";
26         Inbinarytable = 1;
27         Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH And _IsSetupTypeMin<>\"Custom\"", "CostFinalize");
28 End
30 WindowsCustomAction gid_Customaction_Restoreregallmsdocdll
31     Name = "Restoreregallmsdocdll";
32     Typ = "65";
33     Source = "reg4allmsdoc.dll";
34     Target = "RestoreRegAllMSDoc";
35     Inbinarytable = 1;
36     Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "end");
37 End
39 WindowsCustomAction gid_Customaction_Regactivexdll1
40         Name = "Regactivexdll1";
41         Typ = "65";
42         Source = "regactivex.dll";
43         Target = "InstallActiveXControl";
44         Inbinarytable = 1;
45         Assignment1 = ("InstallExecuteSequence", "(\&FEATURETEMPLATE=3 Or (\!FEATURETEMPLATE=3 And \&FEATURETEMPLATE=-1)) And Not PATCH", "end");
46 End
48 WindowsCustomAction gid_Customaction_Regactivexdll2
49         Name = "Regactivexdll2";
50         Typ = "65";
51         Source = "regactivex.dll";
52         Target = "DeinstallActiveXControl";
53         Inbinarytable = 1;
54         Assignment1 = ("InstallExecuteSequence", "\&FEATURETEMPLATE=2 And \!FEATURETEMPLATE=3 And Not PATCH", "RemoveExistingProducts");
55 End
57 #ifdef HAVE_WINDOWS_SDK
59 WindowsCustomAction gid_Customaction_sdqsmsidll
60         Name = "sdqsmsidll";
61         Typ = "65";
62         Source = "sdqsmsi.dll";
63         Target = "ShutDownQuickstarter";
64         Inbinarytable = 1;
65         Assignment1 = ("InstallExecuteSequence", "", "CCPSearch");
66 End
68 WindowsCustomAction gid_Customaction_qslnkmsidll
69         Name = "qslnkmsidll";
70         Typ = "65";
71         Source = "qslnkmsi.dll";
72         Target = "RemoveQuickstarterLink";
73         Inbinarytable = 1;
74         Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "sdqsmsidll");
75 End
77 #endif /* HAVE_WINDOWS_SDK */
79 WindowsCustomAction gid_Customaction_Instooofiltmsidll2
80         Name = "Instooofiltmsidll";
81         Typ = "65";
82         Source = "instooofiltmsi.dll";
83         Target = "RestartIndexingService";
84         Inbinarytable = 1;
85         Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "end");
86 End
88 WindowsCustomAction gid_Customaction_Shellextensionsdll3
89         Name = "Shellextensionsdll3";
90         Typ = "65";
91         Source = "shlxtmsi.dll";
92         Target = "InstallStartmenuFolderIcon";
93         Inbinarytable = 1;
94         Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "end");
95 End
97 WindowsCustomAction gid_Customaction_Shellextensionsdll4
98         Name = "Shellextensionsdll4";
99         Typ = "65";
100         Source = "shlxtmsi.dll";
101         Target = "DeinstallStartmenuFolderIcon";
102         Inbinarytable = 1;
103         Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "MigrateFeatureStates");
106 WindowsCustomAction gid_Customaction_Shellextensionsdll5
107         Name = "Shellextensionsdll5";
108         Typ = "321";
109         Source = "shlxtmsi.dll";
110         Target = "SetProductInstallMode";
111         Inbinarytable = 1;
112         Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "FindRelatedProducts");
113         Assignment2 = ("InstallUISequence", "Not REMOVE=\"ALL\" And Not PATCH", "FindRelatedProducts");
116 WindowsCustomAction gid_Customaction_Check_Install_Directory
117         Name = "CheckInstallDirectory";
118         Typ = "65";
119         Source = "shlxtmsi.dll";
120         Target = "CheckInstallDirectory";
121         Inbinarytable = 1;
122         Assignment1 = ("InstallExecuteSequence", "Not Installed", "CheckVersions");
123         Assignment2 = ("ControlEvent", "SetupType", "Next", "DoAction", "CheckInstallDirectory", "_IsSetupTypeMin = \"Typical\" And Not Installed", "2");
124         Assignment3 = ("ControlEvent", "CustomSetup", "Next", "DoAction", "CheckInstallDirectory", "Not Installed", "2");
127 WindowsCustomAction gid_Customaction_CheckPatchList
128         Name = "CheckPatchList";
129         Typ = "65";
130         Source = "shlxtmsi.dll";
131         Target = "CheckPatchList";
132         Inbinarytable = 1;
133         Assignment1 = ("InstallExecuteSequence", "PATCH", "Patch1NotInstalled");
136 WindowsCustomAction gid_Customaction_MigrateInstallPath
137       Name = "MigrateInstallPath";
138       Typ = "321";
139       Source = "shlxtmsi.dll";
140       Target = "MigrateInstallPath";
141       Inbinarytable = 1;
142       Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "CostInitialize");
143       Assignment2 = ("InstallUISequence", "Not REMOVE=\"ALL\" And Not PATCH", "CostInitialize");
146 WindowsCustomAction gid_Customaction_CompleteInstallPath
147       Name = "CompleteInstallPath";
148       Typ = "321";
149       Source = "shlxtmsi.dll";
150       Target = "CompleteInstallPath";
151       Inbinarytable = 1;
152       Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "MigrateInstallPath");
153       Assignment2 = ("InstallUISequence", "Not REMOVE=\"ALL\" And Not PATCH", "MigrateInstallPath");
156 #ifdef HAVE_WINDOWS_SDK
158 WindowsCustomAction gid_Customaction_CheckVersions
159         Name = "CheckVersions";
160         Typ = "321";
161         Source = "sn_tools.dll";
162         Target = "CheckVersions";
163         Inbinarytable = 1;
164         Assignment1 = ("InstallExecuteSequence", "NOT Installed", "NewProductFound");
165         Assignment2 = ("InstallUISequence", "NOT Installed", "NewProductFound");
168 WindowsCustomAction gid_Customaction_SelectLanguage
169     Name = "SelectLanguage";
170     Typ = "321";
171     Source = "sellangmsi.dll";
172     Target = "SelectLanguage";
173     Inbinarytable = 1;
174     Assignment1 = ("InstallExecuteSequence", "NOT Installed And (ADDLOCAL=\"\" Or NOT UI_LANGS=\"\")", "MigrateFeatureStates");
175     Assignment2 = ("InstallUISequence", "NOT Installed And (ADDLOCAL=\"\" Or NOT UI_LANGS=\"\")", "MigrateFeatureStates");
178 WindowsCustomAction gid_Customaction_SortTree
179     Name = "SortTree";
180     Typ = "321";
181     Source = "sellangmsi.dll";
182     Target = "SortTree";
183     Inbinarytable = 1;
184     Assignment1 = ("ControlEvent", "CustomSetup", "Tree", "DoAction", "SortTree", "1", "1");
187 WindowsCustomAction gid_Customaction_LookForRegisteredExtensions
188         Name = "LookForRegisteredExtensions";
189         Typ = "65";
190         Source = "reg4allmsdoc.dll";
191         Target = "LookForRegisteredExtensions";
192         Inbinarytable = 1;
193         Assignment1 = ("ControlEvent", "CustomSetup", "Next", "DoAction", "LookForRegisteredExtensions", "1", "2");
196 WindowsCustomAction gid_Customaction_RegisterSomeExtensions
197         Name = "RegisterSomeExtensions";
198         Typ = "65";
199         Source = "reg4allmsdoc.dll";
200         Target = "RegisterSomeExtensions";
201         Inbinarytable = 1;
202         Assignment1 = ("ControlEvent", "FileTypeDialog", "Next", "DoAction", "RegisterSomeExtensions", "1", "1");
205 #endif /* HAVE_WINDOWS_SDK */
207 /* Deferred not-impersonated actions that will call regsvr32 to (un)register DLLs.
208  * Custom action type 1 (msidbCustomActionTypeDll + msidbCustomActionTypeBinaryData)
209  * + 64 (msidbCustomActionTypeContinue) + 1024 (msidbCustomActionTypeInScript)
210  * + 2048 (msidbCustomActionTypeNoImpersonate).
211  * Since deferred actions don't have access to current DB, the actions depend on
212  * immediate-executed action prep_reg_unreg_dlls (see below) that precedes it, and
213  * sets this action's CustomActionData property.
214  */
216 WindowsCustomAction gid_Customaction_reg_dlls
217     Name = "reg_dlls";
218     Typ = "3137";
219     Source = "reg_dlls.dll";
220     Target = "RegDLLs";
221     Inbinarytable = 1;
222     Assignment1 = ("InstallExecuteSequence", "reg_dlls", "InstallFinalize");
225 WindowsCustomAction gid_Customaction_unreg_dlls
226     Name = "unreg_dlls";
227     Typ = "3137";
228     Source = "reg_dlls.dll";
229     Target = "UnregDLLs";
230     Inbinarytable = 1;
231     Assignment1 = ("InstallExecuteSequence", "unreg_dlls", "UnpublishComponents");
234 /* Immediately-executed action that adds registration command lines for spsupp_x*.dll
235  * to "[un]reg_dlls" properties.
236  * Custom action type 1 (msidbCustomActionTypeDll + msidbCustomActionTypeBinaryData)
237  * + 64 (msidbCustomActionTypeContinue).
238  */
239 WindowsCustomAction gid_Customaction_prep_reg_dlls
240     Name = "prep_reg_unreg_dlls";
241     Typ = "65";
242     Source = "reg_dlls.dll";
243     Target = "PrepRegUnregDLLs";
244     Inbinarytable = 1;
245     Assignment1 = ("InstallExecuteSequence", "", "behind_CostFinalize");