|
67 | 67 | <Custom Action="DeleteRegistryVersionNumber" Before="RemoveRegistryValues" Condition="(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")" /> |
68 | 68 | <Custom Action="CheckPatchValue" Before="CheckUpgradeValue" Condition="PATCHNEWSUMMARYSUBJECT="Small Update Patch"" /> |
69 | 69 | <Custom Action="CheckUpgradeValue" After="InstallFinalize" Condition="WIX_UPGRADE_DETECTED" /> |
| 70 | + <!-- LT-20524: The InstallUISequence does not run for silent (/quiet, /qn) or basic (/qb) installs |
| 71 | + (UILevel < 4), so the directory-resolution actions below must also run here; otherwise |
| 72 | + APPFOLDER/DATAFOLDER/HARVESTDATAFOLDER stay unset and files (including the ICU data that |
| 73 | + ICU_DATA points at) install to the wrong locations. Reduced (/passive, UILevel 4) and full |
| 74 | + UI installs continue to resolve these in the InstallUISequence, so the UILevel guard keeps |
| 75 | + this from overriding a user-chosen path. VerifyDataPath populates REGDATAFOLDER (used by the |
| 76 | + conditions below) and always returns Success, so it is safe in a silent install. --> |
| 77 | + <Custom Action="SetDefDataFolder" After="FindRelatedProducts" Condition="UILevel < 4" /> |
| 78 | + <Custom Action="VerifyDataPath" After="SetDefDataFolder" Condition="UILevel < 4" /> |
| 79 | + <Custom Action="UseDefAppFolder" After="AppSearch" Condition="(UILevel < 4) and (NOT REGAPPFOLDER) and (NOT OVRAPPFOLDER)" /> |
| 80 | + <Custom Action="UseOvrAppFolder" After="AppSearch" Condition="(UILevel < 4) and (NOT REGAPPFOLDER) and (OVRAPPFOLDER)" /> |
| 81 | + <Custom Action="UseRegAppFolder" After="AppSearch" Condition="(UILevel < 4) and (REGAPPFOLDER)" /> |
| 82 | + <Custom Action="UseDefDataFolder" After="AppSearch" Condition="(UILevel < 4) and (NOT REGDATAFOLDER) and (NOT OVRDATAFOLDER)" /> |
| 83 | + <Custom Action="UseOvrDataFolder" After="AppSearch" Condition="(UILevel < 4) and (NOT REGDATAFOLDER) and (OVRDATAFOLDER)" /> |
| 84 | + <Custom Action="UseRegDataFolder" After="AppSearch" Condition="(UILevel < 4) and (REGDATAFOLDER)" /> |
| 85 | + <Custom Action="UseDefHarvestDataFolder" After="AppSearch" Condition="(UILevel < 4) and (NOT OVRHARVESTDATAFOLDER)" /> |
| 86 | + <Custom Action="UseOvrHarvestDataFolder" After="AppSearch" Condition="(UILevel < 4) and (OVRHARVESTDATAFOLDER)" /> |
70 | 87 | <?include ../Common/CustomActionSteps.wxi?> |
71 | 88 | </InstallExecuteSequence> |
72 | 89 |
|
|
0 commit comments