Fatal Error to execute an installer - Advanced Installer Community
bueno.eva
Posts: 1
Joined: Mon Apr 03, 2023 5:11 pm

Fatal Error to execute an installer

When executing an installer generated with advanced installer version 20.4, on a windows server 2012 R, it is not executed, leaving the following log with this error:

MSI (c) (D0:EC) [16:35:48:017]: Doing action: AI_DETECT_WINTHEME
Action start 16:35:48: AI_DETECT_WINTHEME.
MSI (c) (D0:40) [16:35:48:017]: Invoking remote custom action. DLL: C:\Users\QQAut2\AppData\Local\Temp\2\MSI373B.tmp, Entrypoint: DetectWindowsTheme
MSI (c) (D0:84) [16:35:48:032]: Cloaking enabled.
MSI (c) (D0:84) [16:35:48:032]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (D0:84) [16:35:48:032]: Connected to service for CA interface.
CustomAction AI_DETECT_WINTHEME returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 16:35:48: AI_DETECT_WINTHEME. Return value 3.
MSI (c) (D0:EC) [16:35:48:225]: Doing action: FatalError

Could you give me any clue as to the reason for this error?
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Fatal Error to execute an installer

Hello and welcome to our forums,

Unfortunately, I can not say for sure why that's happening.

If possible, could you please share with me the following resources:

- a copy of your .AIP file

- a download link of your setup

by email at support at advancedinstaller dot com so I can further investigate this?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Fatal Error to execute an installer

Hello,

Could you please upgrade to the latest version and let me know if you still encounter any issues?

This should have been fixed in version 20.4.1 of Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BrianWolfe

Re: Fatal Error to execute an installer

Catalin wrote: ↑Tue Apr 04, 2023 9:49 am Hello,

Could you please upgrade to the latest version and let me know if you still encounter any issues?

This should have been fixed in version 20.4.1 of Advanced Installer.

Best regards,
Catalin


Ok, I will upgrade it and if I face any more problem. I will message you.
Last edited by BrianWolfe on Thu May 18, 2023 11:19 pm, edited 3 times in total.
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Fatal Error to execute an installer

Hello Brian and welcome to our forums,

Sure thing!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
SapirV123
Posts: 1
Joined: Sun Nov 30, 2025 11:06 am

Re: Fatal Error to execute an installer

Hi,
I know this is an old issue, but it still occurs.

MSI (s) (40:68) [15:50:10:795]: Performing action: AI_DETECT_WINTHEME
Action ended 15:50:10: AI_DETECT_MODERNWIN. Return value 1.
MSI (s) (40:68) [15:50:10:798]: Creating MSIHANDLE (3) of type 790542 for thread 5480
MSI (s) (40:9C) [15:50:10:799]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB416.tmp, Entrypoint: DetectWindowsTheme
Action start 15:50:10: AI_DETECT_WINTHEME.
MSI (s) (40:9C) [15:50:11:807]: Closing MSIHANDLE (3) of type 790542 for thread 5480
CustomAction AI_DETECT_WINTHEME returned error code 1603 but will be translated to success due to continue marking.

I used Advanced Installer 23.2, built my installer on Windows 11 and installed my installer on Windows 8.1 Pro and Server 2012R2. The installation succeeded, but the MSI crashed due to this action.
Call stack of the crash:
04e9f7c4 745df4bc e06d7363 00000001 00000003 kernelbase!RaiseException+0x48
WARNING: Stack unwind information not available. Following frames may be incorrect.
04e9f7f8 745b6c22 04e9f810 74667a3c 00000002 MSI2D04!MixedAllUsersInstallLocation+0x5fac
04e9f824 745b78a8 80004002 308442c8 73f2dff4 MSI2D04!PerformRegistryEntryTypeChange+0xee2
04e9f888 7408ce02 00000003 73f2dff4 02f4aa40 MSI2D04!DetectWindowsTheme+0x408
04e9f8ac 7403bfdc 00000003 02f410e8 5dd8ebc2 msi!CallCustomDllEntrypoint+0x39
04e9fbf0 779c6a24 02f4aa40 71700000 5a036878 msi!CMsiCustomAction::CustomActionThread+0x26c

Can I skip or delete this action? I tried, but it didn't work.
I really want to upgrade my Advanced Installer version, and this is preventing me from doing that.

Thanks
Liviu
Posts: 1419
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Fatal Error to execute an installer

Hello and welcome to our forums,

I've replied to your email.

Let's continue the conversation there until we reach a conclusion.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”