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_RenamePrgFolder
22 Name = "RenamePrgFolder";
24 Source = "shlxtmsi.dll";
25 Target = "RenamePrgFolder";
27 Assignment1 = ("InstallExecuteSequence", "VersionNT >= 600 And OLDPRODUCTS And Not REMOVE=\"ALL\" And Not PATCH", "ValidateProductID");
30 WindowsCustomAction gid_Customaction_RemovePrgFolder
31 Name = "RemovePrgFolder";
33 Source = "shlxtmsi.dll";
34 Target = "RemovePrgFolder";
36 Assignment1 = ("InstallExecuteSequence", "VersionNT >= 600 And OLDPRODUCTS And Not REMOVE=\"ALL\" And Not PATCH", "end");
39 WindowsCustomAction gid_Customaction_Regallmsdocdll
40 Name = "Regallmsdocdll";
42 Source = "reg4allmsdoc.dll";
43 Target = "FindRegisteredExtensions";
45 Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH And _IsSetupTypeMin<>\"Custom\"", "CostFinalize");
48 WindowsCustomAction gid_Customaction_Restoreregallmsdocdll
49 Name = "Restoreregallmsdocdll";
51 Source = "reg4allmsdoc.dll";
52 Target = "RestoreRegAllMSDoc";
54 Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "end");
57 WindowsCustomAction gid_Customaction_Regactivexdll1
58 Name = "Regactivexdll1";
60 Source = "regactivex.dll";
61 Target = "InstallActiveXControl";
63 Assignment1 = ("InstallExecuteSequence", "(\&FEATURETEMPLATE=3 Or (\!FEATURETEMPLATE=3 And \&FEATURETEMPLATE=-1)) And Not PATCH", "end");
66 WindowsCustomAction gid_Customaction_Regactivexdll2
67 Name = "Regactivexdll2";
69 Source = "regactivex.dll";
70 Target = "DeinstallActiveXControl";
72 Assignment1 = ("InstallExecuteSequence", "\&FEATURETEMPLATE=2 And \!FEATURETEMPLATE=3 And Not PATCH", "RemoveExistingProducts");
75 #ifdef HAVE_WINDOWS_SDK
77 WindowsCustomAction gid_Customaction_sdqsmsidll
80 Source = "sdqsmsi.dll";
81 Target = "ShutDownQuickstarter";
83 Assignment1 = ("InstallExecuteSequence", "", "CCPSearch");
86 WindowsCustomAction gid_Customaction_qslnkmsidll
89 Source = "qslnkmsi.dll";
90 Target = "RemoveQuickstarterLink";
92 Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "sdqsmsidll");
95 #endif /* HAVE_WINDOWS_SDK */
97 WindowsCustomAction gid_Customaction_Instooofiltmsidll2
98 Name = "Instooofiltmsidll";
100 Source = "instooofiltmsi.dll";
101 Target = "RestartIndexingService";
103 Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "end");
106 WindowsCustomAction gid_Customaction_Shellextensionsdll3
107 Name = "Shellextensionsdll3";
109 Source = "shlxtmsi.dll";
110 Target = "InstallStartmenuFolderIcon";
112 Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "end");
115 WindowsCustomAction gid_Customaction_Shellextensionsdll4
116 Name = "Shellextensionsdll4";
118 Source = "shlxtmsi.dll";
119 Target = "DeinstallStartmenuFolderIcon";
121 Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "MigrateFeatureStates");
124 WindowsCustomAction gid_Customaction_Shellextensionsdll5
125 Name = "Shellextensionsdll5";
127 Source = "shlxtmsi.dll";
128 Target = "SetProductInstallMode";
130 Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "FindRelatedProducts");
131 Assignment2 = ("InstallUISequence", "Not REMOVE=\"ALL\" And Not PATCH", "FindRelatedProducts");
134 WindowsCustomAction gid_Customaction_Check_Install_Directory
135 Name = "CheckInstallDirectory";
137 Source = "shlxtmsi.dll";
138 Target = "CheckInstallDirectory";
140 Assignment1 = ("InstallExecuteSequence", "Not Installed", "CheckVersions");
141 Assignment2 = ("ControlEvent", "SetupType", "Next", "DoAction", "CheckInstallDirectory", "_IsSetupTypeMin = \"Typical\" And Not Installed", "2");
142 Assignment3 = ("ControlEvent", "CustomSetup", "Next", "DoAction", "CheckInstallDirectory", "Not Installed", "2");
145 WindowsCustomAction gid_Customaction_CheckPatchList
146 Name = "CheckPatchList";
148 Source = "shlxtmsi.dll";
149 Target = "CheckPatchList";
151 Assignment1 = ("InstallExecuteSequence", "PATCH", "Patch1NotInstalled");
154 WindowsCustomAction gid_Customaction_MigrateInstallPath
155 Name = "MigrateInstallPath";
157 Source = "shlxtmsi.dll";
158 Target = "MigrateInstallPath";
160 Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "CostInitialize");
161 Assignment2 = ("InstallUISequence", "Not REMOVE=\"ALL\" And Not PATCH", "CostInitialize");
164 WindowsCustomAction gid_Customaction_CompleteInstallPath
165 Name = "CompleteInstallPath";
167 Source = "shlxtmsi.dll";
168 Target = "CompleteInstallPath";
170 Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "MigrateInstallPath");
171 Assignment2 = ("InstallUISequence", "Not REMOVE=\"ALL\" And Not PATCH", "MigrateInstallPath");
174 #ifdef HAVE_WINDOWS_SDK
176 WindowsCustomAction gid_Customaction_CheckVersions
177 Name = "CheckVersions";
179 Source = "sn_tools.dll";
180 Target = "CheckVersions";
182 Assignment1 = ("InstallExecuteSequence", "NOT Installed", "NewProductFound");
183 Assignment2 = ("InstallUISequence", "NOT Installed", "NewProductFound");
186 WindowsCustomAction gid_Customaction_SelectLanguage
187 Name = "SelectLanguage";
189 Source = "sellangmsi.dll";
190 Target = "SelectLanguage";
192 Assignment1 = ("InstallExecuteSequence", "NOT Installed", "MigrateFeatureStates");
193 Assignment2 = ("InstallUISequence", "NOT Installed", "MigrateFeatureStates");
196 WindowsCustomAction gid_Customaction_SortTree
199 Source = "sellangmsi.dll";
202 Assignment1 = ("ControlEvent", "CustomSetup", "Tree", "DoAction", "SortTree", "1", "1");
205 WindowsCustomAction gid_Customaction_LookForRegisteredExtensions
206 Name = "LookForRegisteredExtensions";
208 Source = "reg4allmsdoc.dll";
209 Target = "LookForRegisteredExtensions";
211 Assignment1 = ("ControlEvent", "CustomSetup", "Next", "DoAction", "LookForRegisteredExtensions", "1", "2");
214 WindowsCustomAction gid_Customaction_RegisterSomeExtensions
215 Name = "RegisterSomeExtensions";
217 Source = "reg4allmsdoc.dll";
218 Target = "RegisterSomeExtensions";
220 Assignment1 = ("ControlEvent", "FileTypeDialog", "Next", "DoAction", "RegisterSomeExtensions", "1", "1");
223 #endif /* HAVE_WINDOWS_SDK */