Custom Action AI_DetectSoftware fails with Error 1603 - Advanced Installer Community
Graham
Posts: 2
Joined: Thu Nov 14, 2019 8:57 pm

Custom Action AI_DetectSoftware fails with Error 1603

This custom action is working fine on Windows 10 x86 and x64 and Windows 7 x64

This custom action is currently failing on Windows 7 x86 and Windows 8.1 x64
fails in the same why if the prereq does not exist and if it does exist
Screen Shot 2019-11-14 at 2.33.15 PM.png
Screen Shot 2019-11-14 at 2.33.15 PM.png (274.57 KiB) Viewed 4216 times
MSI (c) (D0:64) [09:41:57:565]: Doing action: AI_DetectSoftware
Action 9:41:57: AI_DetectSoftware.
Action start 9:41:57: AI_DetectSoftware.
MSI (c) (D0:64) [09:41:57:565]: Creating MSIHANDLE (5) of type 790542 for thread 3684
MSI (c) (D0:2C) [09:41:57:565]: Invoking remote custom action. DLL: C:\Users\qa\AppData\Local\Temp\MSID7BD.tmp, Entrypoint: OnDetectSoftware
CustomAction AI_DetectSoftware returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (c) (D0:2C) [09:41:57:580]: Closing MSIHANDLE (5) of type 790542 for thread 3684
Action ended 9:41:57: AI_DetectSoftware. Return value 3.
MSI (c) (D0:64) [09:41:57:580]: Doing action: FatalError
Action 9:41:57: FatalError.
Action start 9:41:57: FatalError.
Info 2826. Control BottomLine on dialog FatalError extends beyond the boundaries of the dialog to the right by 3 pixels.
Action 9:41:57: FatalError. Dialog created
MSI (c) (D0:E4) [09:41:57:580]: Note: 1: 2731 2: 0
MSI (c) (D0:A4) [09:42:00:794]: Doing action: AI_SHOW_LOG
Action 9:42:00: AI_SHOW_LOG.
Action start 9:42:00: AI_SHOW_LOG.
MSI (c) (D0:A4) [09:42:00:794]: Creating MSIHANDLE (6) of type 790542 for thread 2980
MSI (c) (D0:C8) [09:42:00:794]: Invoking remote custom action. DLL: C:\Users\qa\AppData\Local\Temp\MSIE45B.tmp, Entrypoint: LaunchLogFile
MSI (c) (D0:C8) [09:42:00:825]: Closing MSIHANDLE (6) of type 790542 for thread 2980
Action ended 9:42:00: AI_SHOW_LOG. Return value 1.
MSI (c) (D0:A4) [09:42:00:825]: Doing action: AI_CleanPrereq
Action 9:42:00: AI_CleanPrereq.
Action start 9:42:00: AI_CleanPrereq.
MSI (c) (D0:A4) [09:42:00:825]: Creating MSIHANDLE (7) of type 790542 for thread 2980
MSI (c) (D0:BC) [09:42:00:825]: Invoking remote custom action. DLL: C:\Users\qa\AppData\Local\Temp\MSIE47C.tmp, Entrypoint: CleanPrereq
MSI (c) (D0:BC) [09:42:00:841]: Closing MSIHANDLE (7) of type 790542 for thread 2980
Action ended 9:42:00: AI_CleanPrereq. Return value 1.
Action ended 9:42:00: FatalError. Return value 2.
Action ended 9:42:00: INSTALL. Return value 3.
MSI (c) (D0:64) [09:42:00:841]: Destroying RemoteAPI object.
MSI (c) (D0:58) [09:42:00:841]: Custom Action Manager thread ending.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom Action AI_DetectSoftware fails with Error 1603

Hi and welcome to our forums,

This error could replicate if your setup package was built with previous version of Advanced Installer (e.g. 16.4.1 down to 16.1) due to a issue in our application generated by the latest VS compiler we used to built our product.

However a fix was released in our latest version (16.5) of Advanced Installer. Could you please rebuild your installer setup project with our latest version and see how this works for you?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Graham
Posts: 2
Joined: Thu Nov 14, 2019 8:57 pm

Re: Custom Action AI_DetectSoftware fails with Error 1603

Thank you updating to 16.5 has resolved the issue.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom Action AI_DetectSoftware fails with Error 1603

You are always welcome.

I am glad everything is working now.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”