Commit 094019c
committed
LT-20524: Resolve install dirs in silent installs
The directory-resolution custom actions (SetDefDataFolder, VerifyDataPath, and the Use*AppFolder/Use*DataFolder/Use*HarvestDataFolder set) were only scheduled in the InstallUISequence. That sequence is skipped for silent (/quiet, /qn) and basic-UI (/qb) installs, so APPFOLDER, DATAFOLDER, and HARVESTDATAFOLDER were never assigned. The result was FieldWorks installed to the wrong folder and the harvested ICU data landed where ICU_DATA did not point, causing a 'Failed to load normalizer' drawing crash on first use.
Schedule the same actions in the InstallExecuteSequence, guarded by 'UILevel < 4' so they only run when the UI sequence does not. Reduced (/passive) and full UI installs keep resolving these in the InstallUISequence, so user-chosen paths are not overridden. VerifyDataPath populates REGDATAFOLDER (used by the conditions) and always returns Success, so it is safe in a silent install.
This also unblocks the WiX6/Burn bundle, which always runs the embedded MSI silently.1 parent e6976c5 commit 094019c
1 file changed
Lines changed: 17 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
70 | 87 | | |
71 | 88 | | |
72 | 89 | | |
| |||
0 commit comments