2 * This file is part of the LibreOffice project.
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/.
8 * This file incorporates work covered by the following license notice:
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 .
21 WindowsCustomAction gid_Customaction_Regallmsdocdll
22 Name = "Regallmsdocdll";
24 Source = "reg4allmsdoc.dll";
25 Target = "FindRegisteredExtensions";
27 Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH And _IsSetupTypeMin<>\"Custom\"", "CostFinalize");
30 WindowsCustomAction gid_Customaction_Restoreregallmsdocdll
31 Name = "Restoreregallmsdocdll";
33 Source = "reg4allmsdoc.dll";
34 Target = "RestoreRegAllMSDoc";
36 Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "end");
39 WindowsCustomAction gid_Customaction_Regactivexdll1
40 Name = "Regactivexdll1";
42 Source = "regactivex.dll";
43 Target = "InstallActiveXControl";
45 Assignment1 = ("InstallExecuteSequence", "(\&FEATURETEMPLATE=3 Or (\!FEATURETEMPLATE=3 And \&FEATURETEMPLATE=-1)) And Not PATCH", "end");
48 WindowsCustomAction gid_Customaction_Regactivexdll2
49 Name = "Regactivexdll2";
51 Source = "regactivex.dll";
52 Target = "DeinstallActiveXControl";
54 Assignment1 = ("InstallExecuteSequence", "\&FEATURETEMPLATE=2 And \!FEATURETEMPLATE=3 And Not PATCH", "RemoveExistingProducts");
57 #ifdef HAVE_WINDOWS_SDK
59 WindowsCustomAction gid_Customaction_sdqsmsidll
62 Source = "sdqsmsi.dll";
63 Target = "ShutDownQuickstarter";
65 Assignment1 = ("InstallExecuteSequence", "", "CCPSearch");
68 WindowsCustomAction gid_Customaction_qslnkmsidll
71 Source = "qslnkmsi.dll";
72 Target = "RemoveQuickstarterLink";
74 Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "sdqsmsidll");
77 #endif /* HAVE_WINDOWS_SDK */
79 WindowsCustomAction gid_Customaction_Instooofiltmsidll2
80 Name = "Instooofiltmsidll";
82 Source = "instooofiltmsi.dll";
83 Target = "RestartIndexingService";
85 Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "end");
88 WindowsCustomAction gid_Customaction_Shellextensionsdll3
89 Name = "Shellextensionsdll3";
91 Source = "shlxtmsi.dll";
92 Target = "InstallStartmenuFolderIcon";
94 Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "end");
97 WindowsCustomAction gid_Customaction_Shellextensionsdll4
98 Name = "Shellextensionsdll4";
100 Source = "shlxtmsi.dll";
101 Target = "DeinstallStartmenuFolderIcon";
103 Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "MigrateFeatureStates");
106 WindowsCustomAction gid_Customaction_Shellextensionsdll5
107 Name = "Shellextensionsdll5";
109 Source = "shlxtmsi.dll";
110 Target = "SetProductInstallMode";
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";
119 Source = "shlxtmsi.dll";
120 Target = "CheckInstallDirectory";
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";
130 Source = "shlxtmsi.dll";
131 Target = "CheckPatchList";
133 Assignment1 = ("InstallExecuteSequence", "PATCH", "Patch1NotInstalled");
136 WindowsCustomAction gid_Customaction_MigrateInstallPath
137 Name = "MigrateInstallPath";
139 Source = "shlxtmsi.dll";
140 Target = "MigrateInstallPath";
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";
149 Source = "shlxtmsi.dll";
150 Target = "CompleteInstallPath";
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";
161 Source = "sn_tools.dll";
162 Target = "CheckVersions";
164 Assignment1 = ("InstallExecuteSequence", "NOT Installed", "NewProductFound");
165 Assignment2 = ("InstallUISequence", "NOT Installed", "NewProductFound");
168 WindowsCustomAction gid_Customaction_SelectLanguage
169 Name = "SelectLanguage";
171 Source = "sellangmsi.dll";
172 Target = "SelectLanguage";
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
181 Source = "sellangmsi.dll";
184 Assignment1 = ("ControlEvent", "CustomSetup", "Tree", "DoAction", "SortTree", "1", "1");
187 WindowsCustomAction gid_Customaction_LookForRegisteredExtensions
188 Name = "LookForRegisteredExtensions";
190 Source = "reg4allmsdoc.dll";
191 Target = "LookForRegisteredExtensions";
193 Assignment1 = ("ControlEvent", "CustomSetup", "Next", "DoAction", "LookForRegisteredExtensions", "1", "2");
196 WindowsCustomAction gid_Customaction_RegisterSomeExtensions
197 Name = "RegisterSomeExtensions";
199 Source = "reg4allmsdoc.dll";
200 Target = "RegisterSomeExtensions";
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.
216 WindowsCustomAction gid_Customaction_reg_dlls
219 Source = "reg_dlls.dll";
222 Assignment1 = ("InstallExecuteSequence", "reg_dlls", "InstallFinalize");
225 WindowsCustomAction gid_Customaction_unreg_dlls
228 Source = "reg_dlls.dll";
229 Target = "UnregDLLs";
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).
239 WindowsCustomAction gid_Customaction_prep_reg_dlls
240 Name = "prep_reg_unreg_dlls";
242 Source = "reg_dlls.dll";
243 Target = "PrepRegUnregDLLs";
245 Assignment1 = ("InstallExecuteSequence", "", "behind_CostFinalize");