hsc
Posts: 115
Joined: Wed Mar 02, 2016 2:55 pm

Installation aborts after MSVC

Hi,

my installer installs the MSVC redistributables and then prompts "Are you sure you want to cancel ... installation?" Using AI 23.6.

The last few log lines read:

Code: Select all

MSI (c) (D0:C0) [15:16:08:238]: Note: 1: 2228 2:  3: AI_ControlEx 4: SELECT `Dialog_`,`Control`,`Type`,`Parent`,`Attributes`,`Data` FROM `AI_ControlEx` WHERE `Dialog_` = 'ProgressDlg' 
Action ended 15:16:08: ProgressDlg. Return value 1.
MSI (c) (D0:A8) [15:16:08:258]: Doing action: AI_DownloadPrereq
Action start 15:16:08: AI_DownloadPrereq.
MSI (c) (D0:F8) [15:16:08:385]: Invoking remote custom action. DLL: C:\Users\LOCALT~1\AppData\Local\Temp\MSI1370.tmp, Entrypoint: DownloadPrereq
1: 0 
1: 0 
1: 0 
1: 0 
Action ended 15:16:08: AI_DownloadPrereq. Return value 1.
MSI (c) (D0:A8) [15:16:08:430]: Doing action: AI_ExtractPrereq
Action start 15:16:08: AI_ExtractPrereq.
MSI (c) (D0:F4) [15:16:08:548]: Invoking remote custom action. DLL: C:\Users\LOCALT~1\AppData\Local\Temp\MSI141C.tmp, Entrypoint: ExtractPrereq
1: 0 
1: 0 
1: 0 
1: 0 
MSI (c) (D0!F0) [15:16:08:578]: PROPERTY CHANGE: Adding AI_PREREQDIRS property. Its value is 'C:\Users\LocalTestAdmin\AppData\Roaming\DAVID Systems GmbH'.
Action ended 15:16:08: AI_ExtractPrereq. Return value 1.
1: 0 
1: 0 
1: 0 
1: 0 
MSI (c) (D0:A8) [15:16:08:718]: PROPERTY CHANGE: Adding AI_FOUND_PREREQS property. Its value is 'Visual C++ Redistributable for Visual Studio 2015-2022 x64'.
MSI (c) (D0:A8) [15:16:08:724]: Note: 1: 2205 2:  3: AI_TempFile 
MSI (c) (D0:A8) [15:16:08:724]: Note: 1: 2228 2:  3: AI_TempFile 4: SELECT `Property` FROM `AI_TempFile` 
MSI (c) (D0:A8) [15:16:08:724]: Note: 1: 2205 2:  3: AI_XmlLocator 
MSI (c) (D0:A8) [15:16:08:724]: Note: 1: 2228 2:  3: AI_XmlLocator 4: SELECT `Property` FROM `AI_XmlLocator` 
MSI (c) (D0:C0) [15:16:17:265]: Note: 1: 2205 2:  3: AI_ControlEx 
MSI (c) (D0:C0) [15:16:17:265]: Note: 1: 2228 2:  3: AI_ControlEx 4: SELECT `Dialog_`,`Control`,`Type`,`Parent`,`Attributes`,`Data` FROM `AI_ControlEx` WHERE `Dialog_` = 'CancelDlg' 
MSI (c) (D0:A8) [15:20:41:303]: Doing action: UserExit
Action start 15:20:41: UserExit.
MSI (c) (D0:C0) [15:20:41:336]: Note: 1: 2205 2:  3: AI_ControlEx 
MSI (c) (D0:C0) [15:20:41:336]: Note: 1: 2228 2:  3: AI_ControlEx 4: SELECT `Dialog_`,`Control`,`Type`,`Parent`,`Attributes`,`Data` FROM `AI_ControlEx` WHERE `Dialog_` = 'UserExit' 
Action ended 15:20:46: UserExit. Return value 1.
MSI (c) (D0:A8) [15:20:46:363]: Doing action: AI_CleanPrePrereq
Action start 15:20:46: AI_CleanPrePrereq.
MSI (c) (D0:C0) [15:20:46:546]: Invoking remote custom action. DLL: C:\Users\LOCALT~1\AppData\Local\Temp\MSI51E0.tmp, Entrypoint: CleanPrereq
Action ended 15:20:46: AI_CleanPrePrereq. Return value 1.
MSI (c) (D0:A8) [15:20:46:574]: Doing action: UserExit
Action start 15:20:46: UserExit.
Action ended 15:20:46: UserExit. Return value 1.
MSI (c) (D0:A8) [15:20:46:578]: Doing action: AI_CleanPrereq
Action start 15:20:46: AI_CleanPrereq.
MSI (c) (D0:34) [15:20:46:715]: Invoking remote custom action. DLL: C:\Users\LOCALT~1\AppData\Local\Temp\MSI529C.tmp, Entrypoint: CleanPrereq
Action ended 15:20:46: AI_CleanPrereq. Return value 1.
MSI (c) (D0:A8) [15:20:46:732]: Doing action: UserExit
Action start 15:20:46: UserExit.
Action ended 15:20:46: UserExit. Return value 2.
MSI (c) (D0:A8) [15:20:46:736]: Note: 1: 2262 2: Environment 3: -2147287038 
MSI (c) (D0:A8) [15:20:46:756]: Destroying RemoteAPI object.
MSI (c) (D0:B0) [15:20:46:756]: Custom Action Manager thread ending.
=== Verbose logging stopped: 11/05/2026  15:20:46 ===
Any ideas?
Thank you
Hans
Liviu
Posts: 1382
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Installation aborts after MSVC

Hello Hans,

Sorry for the delayed reply.

This issue usually occurs when the setup is digitally signed.

You can take a look at the Why the "Are you sure you want to cancel installation" message is thrown after clicking the [ Install ] button?" FAQ below:

Why the "Are you sure you want to cancel installation" message is thrown after clicking the [ Install ] button?

If that does not help, can you please send us your .AIP project file and a download link for your setup package by email to support at advancedinstaller dot com?

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hsc
Posts: 115
Joined: Wed Mar 02, 2016 2:55 pm

Re: Installation aborts after MSVC

Thank you, Liviu! I couldn't solve the problem but have some additional findings. Will follow up by email.

Best, Hans
Liviu
Posts: 1382
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Installation aborts after MSVC

Hello Hans,

We've received your email.

We will reply to your email as soon as we have a conclusive answer.

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

Return to “Common Problems”