We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

shareermk
Posts: 1
Joined: Mon Aug 24, 2020 5:31 pm

Installer keep going even after custom action returns error

I have an installer for installing .Net application. As part of it I do a prerequisite check using custom action which launches a .net exe and do a custom validation then shows a message box and returns error code, 1602 'ERROR_INSTALL_USEREXIT if the validation fails. THE ISSUE IS THE INSTALLATION CONTINUES EVEN AFTER I RETURN ERROR FROM MY CUSTOM ACTION.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer keep going even after custom action returns error

Hi,

I'm not sure why this happens. Can you please send your custom action to support at advancedinstaller dot com, so I can test it and try to find the problem?

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

Return to “Common Problems”