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