faizanmanzoor123
Posts: 6
Joined: Fri Mar 08, 2019 9:34 am

How to create Custom Connection with Attach DB Script

HI

how I create Custom connection with Attach DB Script. When I run the installer without script its works fine and ODBC Driver also created in Menu.
but when I attached DB Script file , the installer show error on the first screen. Error screen is attached.

Thanks In Advanced.
Attachments
213123.png
213123.png (34.88 KiB) Viewed 3090 times
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: How to create Custom Connection with Attach DB Script

Hello Fainzur and welcome to our forums,

This behavior is strange, because the related ODBC error is usually thrown when, on the target machine, the ODBC driver you are specifying in your SQL Connection parameters is not installed.

In order for me to further investigate this, could you please send me a copy of your .AIP file by e-mail at support at advancedinstaller dot com?

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to create Custom Connection with Attach DB Script

Hi,

I apologize for the delayed reply.

I looked over your project and I noticed that the name of the SQL driver that you specified in the custom connection does not seem to be correct. To make sure that the driver you specified there is present on your test machine you can follow the instruction from the "ODBC Connection error" thread.

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

Return to “Building Installers”