Disabling error message in Custom Actions - Advanced Installer Community

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!

hallolu
Posts: 22
Joined: Mon Dec 06, 2010 8:03 am

Disabling error message in Custom Actions

Hello,
i'm returning an error-message from the test-sql-connection. (http://www.advancedinstaller.com/user-g ... ction.html)
How can i disabled that error-message?
I only want to set a property if the custom-action fails to connect.

Is this possible?
How?
Attachments
error.JPG
error.JPG (13.43 KiB) Viewed 4068 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Disabling error message in Custom Actions

Hello,

I'm afraid this error is not shown by Advanced Installer so we don't have any control over it. The only thing you can do is to test your connection parameters. Here is the how to from our user guide that can help you. This way the parameters will be validated before the actual installation.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hallolu
Posts: 22
Joined: Mon Dec 06, 2010 8:03 am

Re: Disabling error message in Custom Actions

The only thing you can do is to test your connection parameters.
But, i did it with the how to and THEN the error displayed.
This way the parameters will be validated before the actual installation.
And if the parameters are wrong, the error is shown. :(

Can i test the sql-connection by an other way without an error exception?

hallolu
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Disabling error message in Custom Actions

Hi,

When testing an SQL connection all errors returned by the server are displayed. This is the normal behavior. If you want to suppress the errors, you can try creating a custom action.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”