I have included the debug output below. This error code seems to be triggered if there's a shutdown-order problem. Like using a COM interface after it was already released. Has anybody seen this? How can I correct it?
Debug Output...
[17:[13:33:27.273] *** Setup started
[13:33:31.776] Setup version: Inno Setup version 6.2.0
[13:33:31.777] Original Setup EXE: C:\Users\twhit\OneDrive\Documents\tim\hear2read\Hear2ReadRepository\installer\Output\Hear2Read_TTS_V0.7.210804.exe
[13:33:31.778] Setup command line: /SL5="$2E0660,66283365,778240,C:\Users\twhit\OneDrive\Documents\tim\hear2read\Hear2ReadRepository\installer\Output\Hear2Read_TTS_V0.7.210804.exe" /SPAWNWND=$70558 /NOTIFYWND=$2B05F2 /DEBUGWND=$E09EA
[13:33:31.778] Windows version: 10.0.19043 (NT platform: Yes)
[13:33:31.778] 64-bit Windows: Yes
[13:33:31.779] Processor architecture: x64
[13:33:31.779] User privileges: Administrative
[13:33:31.782] Administrative install mode: Yes
[13:33:31.783] Install mode root key: HKEY_LOCAL_MACHINE
[13:33:31.785] 64-bit install mode: No
[13:33:31.790] Created temporary directory: C:\Users\twhit\AppData\Local\Temp\is-6C4HG.tmp
[13:33:36.233] Found 3 files to register with RestartManager.
[13:33:36.235] Calling RestartManager's RmGetList.
[13:33:36.245] RmGetList finished successfully.
[13:33:36.248] RestartManager found no applications using one of our files.
[13:33:36.258] Starting the installation process.
[13:33:36.263] Creating directory: C:\Program Files (x86)\Hear2Read
[13:33:36.265] Directory for uninstall files: C:\Program Files (x86)\Hear2Read
[13:33:36.265] Creating new uninstall log: C:\Program Files (x86)\Hear2Read\unins000.dat
[13:33:36.268] -- File entry --
[13:33:36.270] Dest filename: C:\Program Files (x86)\Hear2Read\unins000.exe
[13:33:36.272] Time stamp of our file: 2021-08-15 13:33:31.253
[13:33:36.273] Installing the file.
[13:33:36.279] Successfully installed the file.
[13:33:36.286] -- File entry --
[13:33:36.287] Dest filename: C:\Program Files (x86)\Hear2Read\Hear2Read_TTS.exe
[13:33:36.288] Time stamp of our file: 2021-08-10 13:41:52.000
[13:33:36.289] Installing the file.
[13:33:36.295] Successfully installed the file.
[13:33:36.302] -- File entry --
[13:33:36.304] Dest filename: C:\Program Files (x86)\Hear2Read\FliteCMUGenericCG_Win32.dll
[13:33:36.305] Time stamp of our file: 2021-08-07 20:36:04.000
[13:33:36.307] Installing the file.
[13:33:36.359] Successfully installed the file.
[13:33:36.362] Will register the file (a DLL/OCX) later.
[13:33:36.377] -- File entry --
[13:33:36.383] Dest filename: C:\Users\twhit\AppData\Local\Temp\is-6C4HG.tmp\vc_redist.x86.exe
[13:33:36.384] Time stamp of our file: 2018-02-23 13:32:24.000
[13:33:36.386] Installing the file.
[13:33:37.318] Successfully installed the file.
[13:33:37.329] -- File entry --
[13:33:37.333] Dest filename: C:\Program Files (x86)\Hear2Read\h2r-32x32-win.ico
[13:33:37.336] Time stamp of our file: 2018-02-23 13:32:22.000
[13:33:37.338] Installing the file.
[13:33:37.342] Successfully installed the file.
[13:33:37.353] -- File entry --
[13:33:37.355] Dest filename: C:\Program Files (x86)\Hear2Read\Languages\cmu_us_aup.flitevox
[13:33:37.358] Time stamp of our file: 2018-04-20 07:20:38.000
[13:33:37.359] Installing the file.
[13:33:37.360] Creating directory: C:\Program Files (x86)\Hear2Read\Languages
[13:33:38.077] Successfully installed the file.
[13:33:38.094] -- File entry --
[13:33:38.097] Dest filename: C:\Program Files (x86)\Hear2Read\Languages\h2r_indic_tdil_hin-875.flitevox
[13:33:38.101] Time stamp of our file: 2017-12-15 12:16:16.000
[13:33:38.103] Installing the file.
[13:33:41.240] Successfully installed the file.
[13:33:41.253] -- Icon entry --
[13:33:41.258] Dest filename: C:\Users\Public\Desktop\Hear2Read_TTS.lnk
[13:33:41.263] Creating the icon.
[13:33:41.281] Successfully created the icon.
[13:33:41.300] -- Registry entry --
[13:33:41.302] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\English_axb
[13:33:41.304] Creating or opening the key.
[13:33:41.305] Creating or setting the value.
[13:33:41.307] Successfully created or set the value.
[13:33:41.317] -- Registry entry --
[13:33:41.319] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\English_axb
[13:33:41.321] Value name: 409
[13:33:41.323] Creating or opening the key.
[13:33:41.325] Creating or setting the value.
[13:33:41.333] Successfully created or set the value.
[13:33:41.342] -- Registry entry --
[13:33:41.344] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\English_axb
[13:33:41.347] Value name: CLSID
[13:33:41.351] Creating or opening the key.
[13:33:41.354] Creating or setting the value.
[13:33:41.356] Successfully created or set the value.
[13:33:41.371] -- Registry entry --
[13:33:41.372] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\English_axb
[13:33:41.374] Value name: voxdir
[13:33:41.380] Creating or opening the key.
[13:33:41.382] Creating or setting the value.
[13:33:41.384] Successfully created or set the value.
[13:33:41.400] -- Registry entry --
[13:33:41.401] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\English_axb\Attributes
[13:33:41.404] Value name: Age
[13:33:41.405] Creating or opening the key.
[13:33:41.407] Creating or setting the value.
[13:33:41.409] Successfully created or set the value.
[13:33:41.421] -- Registry entry --
[13:33:41.423] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\English_axb\Attributes
[13:33:41.425] Value name: Gender
[13:33:41.426] Creating or opening the key.
[13:33:41.428] Creating or setting the value.
[13:33:41.430] Successfully created or set the value.
[13:33:41.439] -- Registry entry --
[13:33:41.441] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\English_axb\Attributes
[13:33:41.443] Value name: Language
[13:33:41.445] Creating or opening the key.
[13:33:41.447] Creating or setting the value.
[13:33:41.448] Successfully created or set the value.
[13:33:41.458] -- Registry entry --
[13:33:41.461] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\English_axb\Attributes
[13:33:41.463] Value name: Name
[13:33:41.464] Creating or opening the key.
[13:33:41.466] Creating or setting the value.
[13:33:41.467] Successfully created or set the value.
[13:33:41.475] -- Registry entry --
[13:33:41.477] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\English_axb\Attributes
[13:33:41.479] Value name: Vendor
[13:33:41.480] Creating or opening the key.
[13:33:41.482] Creating or setting the value.
[13:33:41.483] Successfully created or set the value.
[13:33:41.489] -- Registry entry --
[13:33:41.490] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\Hindi_tdil
[13:33:41.491] Creating or opening the key.
[13:33:41.496] Creating or setting the value.
[13:33:41.498] Successfully created or set the value.
[13:33:41.504] -- Registry entry --
[13:33:41.506] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\Hindi_tdil
[13:33:41.507] Value name: 409
[13:33:41.508] Creating or opening the key.
[13:33:41.509] Creating or setting the value.
[13:33:41.510] Successfully created or set the value.
[13:33:41.518] -- Registry entry --
[13:33:41.520] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\Hindi_tdil
[13:33:41.521] Value name: CLSID
[13:33:41.522] Creating or opening the key.
[13:33:41.523] Creating or setting the value.
[13:33:41.524] Successfully created or set the value.
[13:33:41.534] -- Registry entry --
[13:33:41.537] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\Hindi_tdil
[13:33:41.539] Value name: voxdir
[13:33:41.540] Creating or opening the key.
[13:33:41.541] Creating or setting the value.
[13:33:41.543] Successfully created or set the value.
[13:33:41.555] -- Registry entry --
[13:33:41.557] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\Hindi_tdil\Attributes
[13:33:41.559] Value name: Age
[13:33:41.561] Creating or opening the key.
[13:33:41.563] Creating or setting the value.
[13:33:41.564] Successfully created or set the value.
[13:33:41.576] -- Registry entry --
[13:33:41.578] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\Hindi_tdil\Attributes
[13:33:41.579] Value name: Gender
[13:33:41.582] Creating or opening the key.
[13:33:41.584] Creating or setting the value.
[13:33:41.587] Successfully created or set the value.
[13:33:41.597] -- Registry entry --
[13:33:41.598] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\Hindi_tdil\Attributes
[13:33:41.599] Value name: Language
[13:33:41.600] Creating or opening the key.
[13:33:41.601] Creating or setting the value.
[13:33:41.601] Successfully created or set the value.
[13:33:41.608] -- Registry entry --
[13:33:41.610] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\Hindi_tdil\Attributes
[13:33:41.611] Value name: Name
[13:33:41.612] Creating or opening the key.
[13:33:41.613] Creating or setting the value.
[13:33:41.615] Successfully created or set the value.
[13:33:41.630] -- Registry entry --
[13:33:41.632] Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\Tokens\Hindi_tdil\Attributes
[13:33:41.634] Value name: Vendor
[13:33:41.636] Creating or opening the key.
[13:33:41.637] Creating or setting the value.
[13:33:41.639] Successfully created or set the value.
[13:33:41.642] Registering 32-bit DLL/OCX: C:\Program Files (x86)\Hear2Read\FliteCMUGenericCG_Win32.dll
[13:33:41.646] Spawning 32-bit RegSvr32: "C:\Windows\system32\regsvr32.exe" /s "C:\Program Files (x86)\Hear2Read\FliteCMUGenericCG_Win32.dll"
[13:33:42.257] Registration failed:
RegSvr32 failed with exit code 0xC0020001.
[13:33:42.259] Message box (Abort/Retry/Ignore):
C:\Program Files (x86)\Hear2Read\FliteCMUGenericCG_Win32.dll
Unable to register the DLL/OCX: RegSvr32 failed with exit code 0xC0020001.
[13:33:44.733] User chose Ignore.
[13:33:44.736] Saving uninstall information.
[13:33:44.737] Writing uninstaller messages: C:\Program Files (x86)\Hear2Read\unins000.msg
[13:33:44.739] Creating new uninstall key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{FC27AF90-949F-45E8-AB4B-2164AD32E73A}_is1
[13:33:44.740] Writing uninstall key values.
[13:33:44.742] Detected previous non administrative install? No
[13:33:44.744] Detected previous administrative 64-bit install? No
[13:33:44.750] Installation process succeeded.
[13:33:44.764] -- Run entry --
[13:33:44.764] Run as: Current user
[13:33:44.766] Type: Exec
[13:33:44.767] Filename: C:\Users\twhit\AppData\Local\Temp\is-6C4HG.tmp\VC_redist.x86.exe
[13:33:44.768] Parameters: /install /quiet /norestart
[13:33:45.304] Process exit code: 1638
[13:33:45.310] Need to restart Windows? No
[13:33:47.320] Deinitializing Setup.
[13:33:47.368] *** Setup exit code: 0