1*022bd5b4SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*022bd5b4SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*022bd5b4SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*022bd5b4SAndrew Rist * distributed with this work for additional information
6*022bd5b4SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*022bd5b4SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*022bd5b4SAndrew Rist * "License"); you may not use this file except in compliance
9*022bd5b4SAndrew Rist * with the License.  You may obtain a copy of the License at
10*022bd5b4SAndrew Rist *
11*022bd5b4SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*022bd5b4SAndrew Rist *
13*022bd5b4SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*022bd5b4SAndrew Rist * software distributed under the License is distributed on an
15*022bd5b4SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*022bd5b4SAndrew Rist * KIND, either express or implied.  See the License for the
17*022bd5b4SAndrew Rist * specific language governing permissions and limitations
18*022bd5b4SAndrew Rist * under the License.
19*022bd5b4SAndrew Rist *
20*022bd5b4SAndrew Rist *************************************************************/
21*022bd5b4SAndrew Rist
22*022bd5b4SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "macros.inc"
25cdf0e10cSrcweir
26cdf0e10cSrcweirWindowsCustomAction gid_Customaction_RenamePrgFolder
27cdf0e10cSrcweir	Name = "RenamePrgFolder";
28cdf0e10cSrcweir	Typ = "1";
29cdf0e10cSrcweir	Source = "shlxtmsi.dll";
30cdf0e10cSrcweir	Target = "RenamePrgFolder";
31cdf0e10cSrcweir	Inbinarytable = 1;
32cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "VersionNT >= 600 And OLDPRODUCTSSAMEMAJOR And Not REMOVE=\"ALL\" And Not PATCH", "ValidateProductID");
33cdf0e10cSrcweirEnd
34cdf0e10cSrcweir
35cdf0e10cSrcweirWindowsCustomAction gid_Customaction_RemovePrgFolder
36cdf0e10cSrcweir	Name = "RemovePrgFolder";
37cdf0e10cSrcweir	Typ = "1";
38cdf0e10cSrcweir	Source = "shlxtmsi.dll";
39cdf0e10cSrcweir	Target = "RemovePrgFolder";
40cdf0e10cSrcweir	Inbinarytable = 1;
41cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "VersionNT >= 600 And OLDPRODUCTSSAMEMAJOR And Not REMOVE=\"ALL\" And Not PATCH", "end");
42cdf0e10cSrcweirEnd
43cdf0e10cSrcweir
44cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Regallmsdocdll
45cdf0e10cSrcweir	Name = "Regallmsdocdll";
46cdf0e10cSrcweir	Typ = "65";
47cdf0e10cSrcweir	Source = "reg4allmsdoc.dll";
48cdf0e10cSrcweir	Target = "FindRegisteredExtensions";
49cdf0e10cSrcweir	Inbinarytable = 1;
50cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH And _IsSetupTypeMin<>\"Custom\"", "CostFinalize");
51cdf0e10cSrcweirEnd
52cdf0e10cSrcweir
53cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Regactivexdll1
54cdf0e10cSrcweir	Name = "Regactivexdll1";
55cdf0e10cSrcweir	Typ = "65";
56cdf0e10cSrcweir	Source = "regactivex.dll";
57cdf0e10cSrcweir	Target = "InstallActiveXControl";
58cdf0e10cSrcweir	Inbinarytable = 1;
59cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "(\&FEATURETEMPLATE=3 Or (\!FEATURETEMPLATE=3 And \&FEATURETEMPLATE=-1)) And Not PATCH", "end");
60cdf0e10cSrcweirEnd
61cdf0e10cSrcweir
62cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Regactivexdll2
63cdf0e10cSrcweir	Name = "Regactivexdll2";
64cdf0e10cSrcweir	Typ = "65";
65cdf0e10cSrcweir	Source = "regactivex.dll";
66cdf0e10cSrcweir	Target = "DeinstallActiveXControl";
67cdf0e10cSrcweir	Inbinarytable = 1;
68cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "\&FEATURETEMPLATE=2 And \!FEATURETEMPLATE=3 And Not PATCH", "RemoveExistingProducts");
69cdf0e10cSrcweirEnd
70cdf0e10cSrcweir
71cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Reg64dll1
72cdf0e10cSrcweir	Name = "Reg64dll1";
73cdf0e10cSrcweir	Typ = "65";
74cdf0e10cSrcweir	Source = "reg64msi.dll";
75cdf0e10cSrcweir	Target = "InstallReg64";
76cdf0e10cSrcweir	Inbinarytable = 1;
77cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" and VersionNT64", "end");
78cdf0e10cSrcweirEnd
79cdf0e10cSrcweir
80cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Reg64dll2
81cdf0e10cSrcweir	Name = "Reg64dll2";
82cdf0e10cSrcweir	Typ = "65";
83cdf0e10cSrcweir	Source = "reg64msi.dll";
84cdf0e10cSrcweir	Target = "DeinstallReg64";
85cdf0e10cSrcweir	Inbinarytable = 1;
86cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" and VersionNT64", "end");
87cdf0e10cSrcweirEnd
88cdf0e10cSrcweir
89cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Jfregcadll1
90cdf0e10cSrcweir	Name = "Jfregcadll1";
91cdf0e10cSrcweir	Typ = "65";
92cdf0e10cSrcweir	Source = "jfregca.dll";
93cdf0e10cSrcweir	Target = "install_jf";
94cdf0e10cSrcweir	Inbinarytable = 1;
95cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "\&FEATURETEMPLATE=3 And Not PATCH", "end");
96cdf0e10cSrcweirEnd
97cdf0e10cSrcweir
98cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Jfregcadll2
99cdf0e10cSrcweir	Name = "Jfregcadll2";
100cdf0e10cSrcweir	Typ = "65";
101cdf0e10cSrcweir	Source = "jfregca.dll";
102cdf0e10cSrcweir	Target = "uninstall_jf";
103cdf0e10cSrcweir	Inbinarytable = 1;
104cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "\&FEATURETEMPLATE=2 And \!FEATURETEMPLATE=3 And Not PATCH", "end");
105cdf0e10cSrcweirEnd
106cdf0e10cSrcweir
107cdf0e10cSrcweirWindowsCustomAction gid_Customaction_sdqsmsidll
108cdf0e10cSrcweir	Name = "sdqsmsidll";
109cdf0e10cSrcweir	Typ = "65";
110cdf0e10cSrcweir	Source = "sdqsmsi.dll";
111cdf0e10cSrcweir	Target = "ShutDownQuickstarter";
112cdf0e10cSrcweir	Inbinarytable = 1;
113cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "", "IsOfficeRunning");
114cdf0e10cSrcweirEnd
115cdf0e10cSrcweir
116cdf0e10cSrcweirWindowsCustomAction gid_Customaction_qslnkmsidll
117cdf0e10cSrcweir	Name = "qslnkmsidll";
118cdf0e10cSrcweir	Typ = "65";
119cdf0e10cSrcweir	Source = "qslnkmsi.dll";
120cdf0e10cSrcweir	Target = "RemoveQuickstarterLink";
121cdf0e10cSrcweir	Inbinarytable = 1;
122cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "sdqsmsidll");
123cdf0e10cSrcweirEnd
124cdf0e10cSrcweir
125cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Shellextensionsdll1
126cdf0e10cSrcweir	Name = "Shellextensionsdll1";
127cdf0e10cSrcweir	Typ = "65";
128cdf0e10cSrcweir	Source = "shlxtmsi.dll";
129cdf0e10cSrcweir	Target = "InstallExecSequenceEntry";
130cdf0e10cSrcweir	Inbinarytable = 1;
131cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "\&FEATURETEMPLATE=3 And Not PATCH", "end");
132cdf0e10cSrcweirEnd
133cdf0e10cSrcweir
134cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Shellextensionsdll2
135cdf0e10cSrcweir	Name = "Shellextensionsdll2";
136cdf0e10cSrcweir	Typ = "65";
137cdf0e10cSrcweir	Source = "shlxtmsi.dll";
138cdf0e10cSrcweir	Target = "DeinstallExecSequenceEntry";
139cdf0e10cSrcweir	Inbinarytable = 1;
140cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "\&FEATURETEMPLATE=2 And \!FEATURETEMPLATE=3 And Not PATCH", "end");
141cdf0e10cSrcweirEnd
142cdf0e10cSrcweir
143cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Instooofiltmsidll2
144cdf0e10cSrcweir	Name = "Instooofiltmsidll";
145cdf0e10cSrcweir	Typ = "65";
146cdf0e10cSrcweir	Source = "instooofiltmsi.dll";
147cdf0e10cSrcweir	Target = "RestartIndexingService";
148cdf0e10cSrcweir	Inbinarytable = 1;
149cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "end");
150cdf0e10cSrcweirEnd
151cdf0e10cSrcweir
152cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Shellextensionsdll3
153cdf0e10cSrcweir	Name = "Shellextensionsdll3";
154cdf0e10cSrcweir	Typ = "65";
155cdf0e10cSrcweir	Source = "shlxtmsi.dll";
156cdf0e10cSrcweir	Target = "InstallStartmenuFolderIcon";
157cdf0e10cSrcweir	Inbinarytable = 1;
158cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "end");
159cdf0e10cSrcweirEnd
160cdf0e10cSrcweir
161cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Shellextensionsdll4
162cdf0e10cSrcweir	Name = "Shellextensionsdll4";
163cdf0e10cSrcweir	Typ = "65";
164cdf0e10cSrcweir	Source = "shlxtmsi.dll";
165cdf0e10cSrcweir	Target = "DeinstallStartmenuFolderIcon";
166cdf0e10cSrcweir	Inbinarytable = 1;
167cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "MigrateFeatureStates");
168cdf0e10cSrcweirEnd
169cdf0e10cSrcweir
170cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Shellextensionsdll5
171cdf0e10cSrcweir	Name = "Shellextensionsdll5";
172cdf0e10cSrcweir	Typ = "321";
173cdf0e10cSrcweir	Source = "shlxtmsi.dll";
174cdf0e10cSrcweir	Target = "SetProductInstallMode";
175cdf0e10cSrcweir	Inbinarytable = 1;
176cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "FindRelatedProducts");
177cdf0e10cSrcweir	Assignment2 = ("InstallUISequence", "Not REMOVE=\"ALL\" And Not PATCH", "FindRelatedProducts");
178cdf0e10cSrcweirEnd
179cdf0e10cSrcweir
180cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Shellextensionsdll6
181cdf0e10cSrcweir	Name = "Shellextensionsdll6";
182cdf0e10cSrcweir	Typ = "65";
183cdf0e10cSrcweir	Source = "shlxtmsi.dll";
184cdf0e10cSrcweir	Target = "RebuildShellIconCache";
185cdf0e10cSrcweir	Inbinarytable = 1;
186cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not PATCH", "end");
187cdf0e10cSrcweirEnd
188cdf0e10cSrcweir
189cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Shellextensionsdll7
190cdf0e10cSrcweir	Name = "Shellextensionsdll7";
191cdf0e10cSrcweir	Typ = "65";
192cdf0e10cSrcweir	Source = "shlxtmsi.dll";
193cdf0e10cSrcweir	Target = "ExecutePostUninstallScript";
194cdf0e10cSrcweir	Inbinarytable = 1;
195cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "InstallValidate");
196cdf0e10cSrcweirEnd
197cdf0e10cSrcweir
198cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Register_Extensions
199cdf0e10cSrcweir	Name = "RegisterExtensions";
200cdf0e10cSrcweir	Typ = "1025";
201cdf0e10cSrcweir	Source = "shlxtmsi.dll";
202cdf0e10cSrcweir	Target = "RegisterExtensions";
203cdf0e10cSrcweir	Inbinarytable = 1;
204cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\"", "behind_SetInstalllocation");
205cdf0e10cSrcweir	Assignment2 = ("AdminExecuteSequence", "Not REMOVE=\"ALL\"", "behind_SetInstalllocation");
206cdf0e10cSrcweirEnd
207cdf0e10cSrcweir
208cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Remove_Extensions
209cdf0e10cSrcweir	Name = "RemoveExtensions";
210cdf0e10cSrcweir	Typ = "65";
211cdf0e10cSrcweir	Source = "shlxtmsi.dll";
212cdf0e10cSrcweir	Target = "RemoveExtensions";
213cdf0e10cSrcweir	Inbinarytable = 1;
214cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "FileCost");
215cdf0e10cSrcweirEnd
216cdf0e10cSrcweir
217cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Set_Admininstall
218cdf0e10cSrcweir	Name = "SetAdminInstallProperty";
219cdf0e10cSrcweir	Typ = "65";
220cdf0e10cSrcweir	Source = "shlxtmsi.dll";
221cdf0e10cSrcweir	Target = "SetAdminInstallProperty";
222cdf0e10cSrcweir	Inbinarytable = 1;
223cdf0e10cSrcweir	Assignment1 = ("AdminExecuteSequence", "", "InstallInitialize");
224cdf0e10cSrcweirEnd
225cdf0e10cSrcweir
226cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Check_Install_Directory
227cdf0e10cSrcweir	Name = "CheckInstallDirectory";
228cdf0e10cSrcweir	Typ = "65";
229cdf0e10cSrcweir	Source = "shlxtmsi.dll";
230cdf0e10cSrcweir	Target = "CheckInstallDirectory";
231cdf0e10cSrcweir	Inbinarytable = 1;
232cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not Installed", "CheckVersions");
233cdf0e10cSrcweir	Assignment2 = ("ControlEvent", "SetupType", "Next", "DoAction", "CheckInstallDirectory", "_IsSetupTypeMin = \"Typical\" And Not Installed", "2");
234cdf0e10cSrcweir	Assignment3 = ("ControlEvent", "CustomSetup", "Next", "DoAction", "CheckInstallDirectory", "Not Installed", "2");
235cdf0e10cSrcweirEnd
236cdf0e10cSrcweir
237cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Dotnetcheck
238cdf0e10cSrcweir	Name = "DotNetCheck";
239cdf0e10cSrcweir	Typ = "321";
240cdf0e10cSrcweir	Source = "shlxtmsi.dll";
241cdf0e10cSrcweir	Target = "DotNetCheck";
242cdf0e10cSrcweir	Inbinarytable = 1;
243cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\"", "LaunchConditions");
244cdf0e10cSrcweir	Assignment2 = ("InstallUISequence", "Not REMOVE=\"ALL\"", "LaunchConditions");
245cdf0e10cSrcweirEnd
246cdf0e10cSrcweir
247cdf0e10cSrcweirWindowsCustomAction gid_Customaction_CopyEditionData
248cdf0e10cSrcweir    Name = "CopyEditionData";
249cdf0e10cSrcweir    Typ = "1";
250cdf0e10cSrcweir    Source = "shlxtmsi.dll";
251cdf0e10cSrcweir    Target = "copyEditionData";
252cdf0e10cSrcweir    Inbinarytable = 1;
253cdf0e10cSrcweir    Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\"", "end");
254cdf0e10cSrcweir    Assignment2 = ("AdminExecuteSequence", "", "end");
255cdf0e10cSrcweirEnd
256cdf0e10cSrcweir
257cdf0e10cSrcweirWindowsCustomAction gid_Customaction_CopyExtensionData
258cdf0e10cSrcweir    Name = "CopyExtensionData";
259cdf0e10cSrcweir    Typ = "1";
260cdf0e10cSrcweir    Source = "shlxtmsi.dll";
261cdf0e10cSrcweir    Target = "copyExtensionData";
262cdf0e10cSrcweir    Inbinarytable = 1;
263cdf0e10cSrcweir    Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\"", "end");
264cdf0e10cSrcweir    Assignment2 = ("AdminExecuteSequence", "", "end");
265cdf0e10cSrcweirEnd
266cdf0e10cSrcweir
267cdf0e10cSrcweirWindowsCustomAction gid_Customaction_RegCleanOld
268cdf0e10cSrcweir	Name = "RegCleanOld";
269cdf0e10cSrcweir	Typ = "65";
270cdf0e10cSrcweir	Source = "regcleanold.dll";
271cdf0e10cSrcweir	Target = "CleanCurUserOldSystemRegistryFromSetup";
272cdf0e10cSrcweir	Inbinarytable = 1;
273cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH And Not ALLUSERS=\"\"", "end");
274cdf0e10cSrcweirEnd
275cdf0e10cSrcweir
276cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Patch_Regpatchactivex_Patchactivexcontrol
277cdf0e10cSrcweir	Name = "PatchActiveXControl";
278cdf0e10cSrcweir	Typ = "65";
279cdf0e10cSrcweir	Source = "regpatchactivex.dll";
280cdf0e10cSrcweir	Target = "PatchActiveXControl";
281cdf0e10cSrcweir	Inbinarytable = 1;
282cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "\&FEATURETEMPLATE=3", "end");
283cdf0e10cSrcweirEnd
284cdf0e10cSrcweir
285cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Patch_SetProductInstallModeAction
286cdf0e10cSrcweir	Name = "SetProductInstallModeAction";
287cdf0e10cSrcweir	Typ = "321";
288cdf0e10cSrcweir	Source = "patchmsi.dll";
289cdf0e10cSrcweir	Target = "SetProductInstallMode";
290cdf0e10cSrcweir	Inbinarytable = 1;
291cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not Installed", "FindRelatedProducts");
292cdf0e10cSrcweir	Assignment2 = ("InstallUISequence", "Not Installed", "FindRelatedProducts");
293cdf0e10cSrcweirEnd
294cdf0e10cSrcweir
295cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Patch_InstallExchangeFiles
296cdf0e10cSrcweir	Name = "InstallExchangeFiles";
297cdf0e10cSrcweir	Typ = "65";
298cdf0e10cSrcweir	Source = "patchmsi.dll";
299cdf0e10cSrcweir	Target = "InstallPatchedFiles";
300cdf0e10cSrcweir	Inbinarytable = 1;
301cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not Installed", "behind_InstallFinalize");
302cdf0e10cSrcweir	Assignment2 = ("AdminExecuteSequence", "", "behind_InstallFinalize");
303cdf0e10cSrcweirEnd
304cdf0e10cSrcweir
305cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Langpack_Register_Extensions
306cdf0e10cSrcweir	Name = "RegisterExtensions";
307cdf0e10cSrcweir	Typ = "65";
308cdf0e10cSrcweir	Source = "lngpckinsthlp.dll";
309cdf0e10cSrcweir	Target = "RegisterExtensions";
310cdf0e10cSrcweir	Inbinarytable = 1;
311cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "", "end");
312cdf0e10cSrcweir	Assignment2 = ("AdminExecuteSequence", "", "end");
313cdf0e10cSrcweirEnd
314cdf0e10cSrcweir
315cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Patch_SetFeatureState
316cdf0e10cSrcweir	Name = "SetFeatureState";
317cdf0e10cSrcweir	Typ = "65";
318cdf0e10cSrcweir	Source = "patchmsi.dll";
319cdf0e10cSrcweir	Target = "SetFeatureState";
320cdf0e10cSrcweir	Inbinarytable = 1;
321cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Not Installed", "SetNewFeatureState");
322cdf0e10cSrcweirEnd
323cdf0e10cSrcweir
324cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Patch_DeinstallExchangeFiles
325cdf0e10cSrcweir	Name = "DeinstallExchangeFiles";
326cdf0e10cSrcweir	Typ = "65";
327cdf0e10cSrcweir	Source = "patchmsi.dll";
328cdf0e10cSrcweir	Target = "UninstallPatchedFiles";
329cdf0e10cSrcweir	Inbinarytable = 1;
330cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "Installed", "RemoveIniValues");
331cdf0e10cSrcweirEnd
332cdf0e10cSrcweir
333cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Patch_Shutdownquickstarter
334cdf0e10cSrcweir	Name = "ShutDownQuickstarter";
335cdf0e10cSrcweir	Typ = "65";
336cdf0e10cSrcweir	Source = "patchmsi.dll";
337cdf0e10cSrcweir	Target = "ShutDownQuickstarter";
338cdf0e10cSrcweir	Inbinarytable = 1;
339cdf0e10cSrcweir	Assignment1 = ("ControlEvent", "DestinationFolder", "Next", "DoAction", "ShutDownQuickstarter", "1", "0");
340cdf0e10cSrcweir	Assignment2 = ("InstallExecuteSequence", "", "IsolateComponents");
341cdf0e10cSrcweirEnd
342cdf0e10cSrcweir
343cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Patch_Isofficerunning
344cdf0e10cSrcweir	Name = "IsOfficeRunning";
345cdf0e10cSrcweir	Typ = "321";
346cdf0e10cSrcweir	Source = "patchmsi.dll";
347cdf0e10cSrcweir	Target = "IsOfficeRunning";
348cdf0e10cSrcweir	Inbinarytable = 1;
349cdf0e10cSrcweir	Assignment1 = ("ControlEvent", "ReadyToInstall", "InstallNow", "DoAction", "IsOfficeRunning", "1", "1");
350cdf0e10cSrcweir	Assignment2 = ("InstallExecuteSequence", "VersionNT < 600", "RunningOffice");
351cdf0e10cSrcweirEnd
352cdf0e10cSrcweir
353cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Full_Isofficerunning
354cdf0e10cSrcweir	Name = "IsOfficeRunning";
355cdf0e10cSrcweir	Typ = "65";
356cdf0e10cSrcweir	Source = "shlxtmsi.dll";
357cdf0e10cSrcweir	Target = "IsOfficeRunning";
358cdf0e10cSrcweir	Inbinarytable = 1;
359cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "VersionNT < 600 Or Not PATCH", "RunningOffice");
360cdf0e10cSrcweirEnd
361cdf0e10cSrcweir
362cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Langpack_Isofficerunning
363cdf0e10cSrcweir	Name = "IsOfficeRunning";
364cdf0e10cSrcweir	Typ = "65";
365cdf0e10cSrcweir	Source = "lngpckinsthlp.dll";
366cdf0e10cSrcweir	Target = "IsOfficeRunning";
367cdf0e10cSrcweir	Inbinarytable = 1;
368cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "PATCH And VersionNT < 600", "RunningOffice");
369cdf0e10cSrcweirEnd
370cdf0e10cSrcweir
371cdf0e10cSrcweirWindowsCustomAction gid_Customaction_CheckPatchList
372cdf0e10cSrcweir	Name = "CheckPatchList";
373cdf0e10cSrcweir	Typ = "65";
374cdf0e10cSrcweir	Source = "shlxtmsi.dll";
375cdf0e10cSrcweir	Target = "CheckPatchList";
376cdf0e10cSrcweir	Inbinarytable = 1;
377cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "PATCH", "Patch1NotInstalled");
378cdf0e10cSrcweirEnd
379cdf0e10cSrcweir
380cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Patch_SetUserInstallMode
381cdf0e10cSrcweir	Name = "SetUserInstallMode";
382cdf0e10cSrcweir	Typ = "321";
383cdf0e10cSrcweir	Source = "patchmsi.dll";
384cdf0e10cSrcweir	Target = "GetUserInstallMode";
385cdf0e10cSrcweir	Inbinarytable = 1;
386cdf0e10cSrcweir	Assignment1 = ("ControlEvent", "InstallWelcome", "Next", "DoAction", "SetUserInstallMode", "1", "1");
387cdf0e10cSrcweir	Assignment2 = ("ControlEvent", "InstallChangeFolder", "OK", "DoAction", "SetUserInstallMode", "1", "8");
388cdf0e10cSrcweir	Assignment3 = ("ControlCondition", "DestinationFolder", "Next", "Enable", "NOT INVALIDDIRECTORY And NOT PATCHISOLDER And NOT ISWRONGPRODUCT");
389cdf0e10cSrcweir	Assignment4 = ("ControlCondition", "DestinationFolder", "Next", "Disable", "INVALIDDIRECTORY Or PATCHISOLDER Or ISWRONGPRODUCT");
390cdf0e10cSrcweir	Assignment5 = ("ControlCondition", "DestinationFolder", "LabelStartInstall", "Show", "NOT INVALIDDIRECTORY And NOT PATCHISOLDER And NOT ISWRONGPRODUCT");
391cdf0e10cSrcweir	Assignment6 = ("ControlCondition", "DestinationFolder", "LabelInvalidDir", "Show", "INVALIDDIRECTORY");
392cdf0e10cSrcweir	Assignment7 = ("ControlCondition", "DestinationFolder", "LabelPatchOlder", "Show", "PATCHISOLDER");
393cdf0e10cSrcweir	Assignment8 = ("ControlCondition", "DestinationFolder", "LabelWrongProduct", "Show", "ISWRONGPRODUCT");
394cdf0e10cSrcweir	Assignment9 = ("ControlCondition", "DestinationFolder", "LabelStartInstall2", "Show", "NOT INVALIDDIRECTORY And NOT PATCHISOLDER And NOT ISWRONGPRODUCT");
395cdf0e10cSrcweir	Assignment10 = ("ControlCondition", "DestinationFolder", "LabelInvalidDir2", "Show", "INVALIDDIRECTORY");
396cdf0e10cSrcweir	Assignment11 = ("ControlCondition", "DestinationFolder", "LabelPatchOlder2", "Show", "PATCHISOLDER");
397cdf0e10cSrcweir	Assignment12 = ("ControlCondition", "DestinationFolder", "LabelWrongProduct2", "Show", "ISWRONGPRODUCT");
398cdf0e10cSrcweir	Assignment13 = ("InstallExecuteSequence", "Not Installed", "PatchIsOlder");
399cdf0e10cSrcweirEnd
400cdf0e10cSrcweir
401cdf0e10cSrcweirWindowsCustomAction gid_Customaction_Langpack_SetUserInstallMode
402cdf0e10cSrcweir	Name = "SetUserInstallMode";
403cdf0e10cSrcweir	Typ = "65";
404cdf0e10cSrcweir	Source = "lngpckinsthlp.dll";
405cdf0e10cSrcweir	Target = "GetUserInstallMode";
406cdf0e10cSrcweir	Inbinarytable = 1;
407cdf0e10cSrcweir	Assignment1 = ("ControlEvent", "InstallWelcome", "Next", "DoAction", "SetUserInstallMode", "1", "1");
408cdf0e10cSrcweir	Assignment2 = ("ControlEvent", "InstallChangeFolder", "OK", "DoAction", "SetUserInstallMode", "1", "8");
409cdf0e10cSrcweir	Assignment3 = ("ControlCondition", "DestinationFolder", "Next", "Enable", "NOT INVALIDDIRECTORY And NOT ISWRONGPRODUCT");
410cdf0e10cSrcweir	Assignment4 = ("ControlCondition", "DestinationFolder", "Next", "Disable", "INVALIDDIRECTORY Or ISWRONGPRODUCT");
411cdf0e10cSrcweir	Assignment5 = ("ControlCondition", "DestinationFolder", "LabelStartInstall", "Show", "NOT INVALIDDIRECTORY And NOT ISWRONGPRODUCT");
412cdf0e10cSrcweir	Assignment6 = ("ControlCondition", "DestinationFolder", "LabelInvalidDir", "Show", "INVALIDDIRECTORY");
413cdf0e10cSrcweir	Assignment7 = ("ControlCondition", "DestinationFolder", "LabelWrongProduct", "Show", "ISWRONGPRODUCT");
414cdf0e10cSrcweir	Assignment8 = ("ControlCondition", "DestinationFolder", "LabelStartInstall2", "Show", "NOT INVALIDDIRECTORY And NOT ISWRONGPRODUCT");
415cdf0e10cSrcweir	Assignment9 = ("ControlCondition", "DestinationFolder", "LabelInvalidDir2", "Show", "INVALIDDIRECTORY");
416cdf0e10cSrcweir	Assignment10 = ("ControlCondition", "DestinationFolder", "LabelWrongProduct2", "Show", "ISWRONGPRODUCT");
417cdf0e10cSrcweirEnd
418cdf0e10cSrcweir
419cdf0e10cSrcweirWindowsCustomAction gid_Customaction_MigrateInstallPath
420cdf0e10cSrcweir      Name = "MigrateInstallPath";
421cdf0e10cSrcweir      Typ = "321";
422cdf0e10cSrcweir      Source = "shlxtmsi.dll";
423cdf0e10cSrcweir      Target = "MigrateInstallPath";
424cdf0e10cSrcweir      Inbinarytable = 1;
425cdf0e10cSrcweir      Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "CostInitialize");
426cdf0e10cSrcweir      Assignment2 = ("InstallUISequence", "Not REMOVE=\"ALL\" And Not PATCH", "CostInitialize");
427cdf0e10cSrcweirEnd
428cdf0e10cSrcweir
429cdf0e10cSrcweirWindowsCustomAction gid_Customaction_CompleteInstallPath
430cdf0e10cSrcweir      Name = "CompleteInstallPath";
431cdf0e10cSrcweir      Typ = "321";
432cdf0e10cSrcweir      Source = "shlxtmsi.dll";
433cdf0e10cSrcweir      Target = "CompleteInstallPath";
434cdf0e10cSrcweir      Inbinarytable = 1;
435cdf0e10cSrcweir      Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH", "MigrateInstallPath");
436cdf0e10cSrcweir      Assignment2 = ("InstallUISequence", "Not REMOVE=\"ALL\" And Not PATCH", "MigrateInstallPath");
437cdf0e10cSrcweirEnd
438cdf0e10cSrcweir
439cdf0e10cSrcweirWindowsCustomAction gid_Customaction_CheckVersions
440cdf0e10cSrcweir	Name = "CheckVersions";
441cdf0e10cSrcweir	Typ = "321";
442cdf0e10cSrcweir	Source = "sn_tools.dll";
443cdf0e10cSrcweir	Target = "CheckVersions";
444cdf0e10cSrcweir	Inbinarytable = 1;
445cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "NOT Installed", "NewProductFound");
446cdf0e10cSrcweir	Assignment2 = ("InstallUISequence", "NOT Installed", "NewProductFound");
447cdf0e10cSrcweirEnd
448cdf0e10cSrcweir
449cdf0e10cSrcweirWindowsCustomAction gid_Customaction_ShowReleaseNotes1
450cdf0e10cSrcweir	Name = "ShowReleaseNotesBefore";
451cdf0e10cSrcweir	Typ = "65";
452cdf0e10cSrcweir	Source = "relnotes.dll";
453cdf0e10cSrcweir	Target = "ShowReleaseNotesBefore";
454cdf0e10cSrcweir	Inbinarytable = 1;
455cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "(Not Installed or ISPATCH) and Not REMOVE=\"ALL\"", "behind_InstallValidate");
456cdf0e10cSrcweirEnd
457cdf0e10cSrcweir
458cdf0e10cSrcweirWindowsCustomAction gid_Customaction_ShowReleaseNotes2
459cdf0e10cSrcweir	Name = "ShowReleaseNotesAfter";
460cdf0e10cSrcweir	Typ = "65";
461cdf0e10cSrcweir	Source = "relnotes.dll";
462cdf0e10cSrcweir	Target = "ShowReleaseNotesAfter";
463cdf0e10cSrcweir	Inbinarytable = 1;
464cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "(Not Installed or ISPATCH) and Not REMOVE=\"ALL\"", "end");
465cdf0e10cSrcweirEnd
466cdf0e10cSrcweir
467cdf0e10cSrcweirWindowsCustomAction gid_Customaction_RebaseLibrariesonproperties
468cdf0e10cSrcweir	Name = "RebaseLibrariesOnProperties";
469cdf0e10cSrcweir	Typ = "65";
470cdf0e10cSrcweir	Source = "rebase.dll";
471cdf0e10cSrcweir	Target = "RebaseLibrariesOnProperties";
472cdf0e10cSrcweir	Inbinarytable = 1;
473cdf0e10cSrcweir	Assignment1 = ("InstallExecuteSequence", "VersionNT < 600 And Not REMOVE=\"ALL\"", "end");
474cdf0e10cSrcweir	Assignment2 = ("AdminExecuteSequence", "VersionNT < 600 And Not REMOVE=\"ALL\"", "end");
475cdf0e10cSrcweirEnd
476cdf0e10cSrcweir
477cdf0e10cSrcweirWindowsCustomAction gid_Customaction_LookForRegisteredExtensions
478cdf0e10cSrcweir	Name = "LookForRegisteredExtensions";
479cdf0e10cSrcweir	Typ = "65";
480cdf0e10cSrcweir	Source = "reg4allmsdoc.dll";
481cdf0e10cSrcweir	Target = "LookForRegisteredExtensions";
482cdf0e10cSrcweir	Inbinarytable = 1;
483cdf0e10cSrcweir	Assignment1 = ("ControlEvent", "CustomSetup", "Next", "DoAction", "LookForRegisteredExtensions", "1", "2");
484cdf0e10cSrcweirEnd
485cdf0e10cSrcweir
486cdf0e10cSrcweirWindowsCustomAction gid_Customaction_RegisterSomeExtensions
487cdf0e10cSrcweir	Name = "RegisterSomeExtensions";
488cdf0e10cSrcweir	Typ = "65";
489cdf0e10cSrcweir	Source = "reg4allmsdoc.dll";
490cdf0e10cSrcweir	Target = "RegisterSomeExtensions";
491cdf0e10cSrcweir	Inbinarytable = 1;
492cdf0e10cSrcweir	Assignment1 = ("ControlEvent", "FileTypeDialog", "Next", "DoAction", "RegisterSomeExtensions", "1", "1");
493cdf0e10cSrcweirEnd
494