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