Install failed with a fatal error - Advanced Installer Community
toosensitive
Posts: 30
Joined: Wed Dec 07, 2011 8:27 pm

Install failed with a fatal error

Hello,
I am using AI 9.0.1
My installer works fine for many clients.
However, on a new client's PC, the installer failed with a fatal error
"There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support or package vendor"

Do you know why and how to fix this? thanks

Below is the install log

MSI (c) (B8:F4) [16:37:46:607]: Failed to connect to server. Error: 0x800401F0

=== Logging started: 30/05/2013 16:37:46 ===
Action 16:37:46: AI_SET_INSTALL.
Action start 16:37:46: AI_SET_INSTALL.
Action ended 16:37:46: AI_SET_INSTALL. Return value 1.
Action 16:37:46: AI_ResolveKnownFolders.
Action start 16:37:46: AI_ResolveKnownFolders.
Action ended 16:37:47: AI_ResolveKnownFolders. Return value 1.
Action 16:37:47: PrepareDlg.
Action start 16:37:47: PrepareDlg.
Action ended 16:37:48: PrepareDlg. Return value 1.
Action 16:37:48: AppSearch. Searching for installed applications
Action start 16:37:48: AppSearch.
Action ended 16:37:48: AppSearch. Return value 1.
Action 16:37:48: AI_AppSearchEx.
Action start 16:37:48: AI_AppSearchEx.
Action 16:37:48: AI_AppSearchEx. Searching for installed applications
Action 16:37:48: .
Action ended 16:37:48: AI_AppSearchEx. Return value 1.
Action 16:37:48: FindRelatedProducts. Searching for related applications
Action start 16:37:48: FindRelatedProducts.
Action ended 16:37:48: FindRelatedProducts. Return value 1.
Action 16:37:48: LaunchConditions. Evaluating launch conditions
Action start 16:37:48: LaunchConditions.
Action ended 16:37:48: LaunchConditions. Return value 1.
Action 16:37:48: CCPSearch. Searching for qualifying products
Action start 16:37:48: CCPSearch.
Action ended 16:37:48: CCPSearch. Return value 0.
Action 16:37:48: RMCCPSearch. Searching for qualifying products
Action start 16:37:48: RMCCPSearch.
Action ended 16:37:48: RMCCPSearch. Return value 0.
Action 16:37:48: AI_RESTORE_LOCATION.
Action start 16:37:48: AI_RESTORE_LOCATION.
Action ended 16:37:48: AI_RESTORE_LOCATION. Return value 1.
Action 16:37:48: SET_SHORTCUTDIR.
Action start 16:37:48: SET_SHORTCUTDIR.
Action ended 16:37:48: SET_SHORTCUTDIR. Return value 1.
Action 16:37:48: CostInitialize. Computing space requirements
Action start 16:37:48: CostInitialize.
Action ended 16:37:48: CostInitialize. Return value 1.
Action 16:37:48: FileCost. Computing space requirements
Action start 16:37:48: FileCost.
Action ended 16:37:48: FileCost. Return value 1.
Action 16:37:48: CostFinalize. Computing space requirements
Action start 16:37:48: CostFinalize.
Action ended 16:37:48: CostFinalize. Return value 1.
Action 16:37:48: MigrateFeatureStates. Migrating feature states from related applications
Action start 16:37:48: MigrateFeatureStates.
Action ended 16:37:48: MigrateFeatureStates. Return value 1.
Action 16:37:48: InstallValidate. Validating install
Action start 16:37:48: InstallValidate.
Action ended 16:37:49: InstallValidate. Return value 1.
Action 16:37:49: WelcomeDlg.
Action start 16:37:49: WelcomeDlg.
Action ended 16:37:51: WelcomeDlg. Return value 1.
Action 16:37:51: AI_AuthorSinglePackage.
Action start 16:37:51: AI_AuthorSinglePackage.
Action 16:37:51: FindRelatedProducts. Searching for related applications
Action start 16:37:51: FindRelatedProducts.
Action ended 16:37:51: FindRelatedProducts. Return value 1.
Action 16:37:51: MigrateFeatureStates. Migrating feature states from related applications
Action start 16:37:51: MigrateFeatureStates.
Action ended 16:37:51: MigrateFeatureStates. Return value 1.
Action 16:37:51: AI_RESTORE_LOCATION.
Action start 16:37:51: AI_RESTORE_LOCATION.
Action ended 16:37:51: AI_RESTORE_LOCATION. Return value 1.
Action ended 16:37:51: AI_AuthorSinglePackage. Return value 1.
Action 16:37:51: InstallTypeDlg.
Action start 16:37:51: InstallTypeDlg.
Action ended 16:37:57: InstallTypeDlg. Return value 1.
Action 16:37:57: FolderDlg.
Action start 16:37:57: FolderDlg.
Action ended 16:37:57: FolderDlg. Return value 1.
Action 16:37:57: ProgressDlg.
Action start 16:37:57: ProgressDlg.
Action ended 16:37:57: ProgressDlg. Return value 1.
Action 16:37:57: AI_DownloadPrereq. Downloading prerequisite software
Action start 16:37:57: AI_DownloadPrereq.
Action 16:37:57: AI_DownloadPrereq. Downloading prerequisite software
Action ended 16:37:57: AI_DownloadPrereq. Return value 1.
Action 16:37:57: AI_ExtractPrereq. Extracting prerequisite software
Action start 16:37:57: AI_ExtractPrereq.
Action 16:37:58: AI_ExtractPrereq. Extracting prerequisite software
Action ended 16:37:58: AI_ExtractPrereq. Return value 1.
Action 16:37:58: AI_InstallPrerequisite. Installing prerequisite software
Action start 16:37:58: AI_InstallPrerequisite.
Action 16:37:58: AI_InstallPrerequisite. Installing prerequisite software
Action ended 16:37:58: AI_InstallPrerequisite. Return value 1.
Action 16:38:33: FatalError.
Action start 16:38:33: FatalError.
Action ended 16:38:35: FatalError. Return value 1.
Action 16:38:35: AI_SHOW_LOG.
Action start 16:38:35: AI_SHOW_LOG.
Action ended 16:38:35: AI_SHOW_LOG. Return value 1.
Action 16:38:35: FatalError.
Action start 16:38:35: FatalError.
Action ended 16:38:35: FatalError. Return value 1.
Action 16:38:35: AI_CleanPrereq.
Action start 16:38:35: AI_CleanPrereq.
Action ended 16:38:35: AI_CleanPrereq. Return value 1.
Action 16:38:35: FatalError.
Action start 16:38:35: FatalError.
Action ended 16:38:35: FatalError. Return value 2.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Install failed with a fatal error

Hi,

I'm not sure why you encounter this behavior. Can you please send us the .AIP (project file) and a complete verbose log of the installation so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
toosensitive
Posts: 30
Joined: Wed Dec 07, 2011 8:27 pm

Re: Install failed with a fatal error

Thanks. The installer works fine for many clients.
i.e. many clients with the similar PC configuration upgrade from 3.2.6 to 3.5.0 without any issue
This is the first client who reported the issue.
He tried to upgrade from last previous version 3.2.6 to 3.5.0. The error occurred.
Then we tried to uninstall 3.2.6, the same error occurred.
So I am not sure if the issue is in installer of 3.2.6 or 3.5.0
From log it seems one CustomAction failed. I wonder is it possible to skip the CustomAction from command line?

Thanks for your help

The aip & log are attached. thanks
Attachments
install.log
(243.78 KiB) Downloaded 894 times
AddIn2003.aip
(68.45 KiB) Downloaded 496 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Install failed with a fatal error

Hi,

It seems that the custom action called "CalledInInstaller.exe_3" is the one that fails during installation. So, in order to find what generates the above custom action failure you should manually run the custom action on the related target machine and try to debug it. Also, while there is only one user that encounter this problem it is possible that something on his machine to be missing.

In order to skip a custom action from command line you can create a new property (i.e. Name = SKIP; Value = 0), add it as a condition for your custom action (i.e. SKIP = 0) and set its value in command line (i.e. SKIP=1).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”