ODBC Creation. Custom name? - 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!

sdm10101
Posts: 35
Joined: Wed May 06, 2009 2:13 pm

ODBC Creation. Custom name?

I'm creating an ODBC as part of my installation.
I'd like to allow the user to specify the name to be used.
Is it possible for the datasource name for the ODBC to be a variable from the installation?
It doesn't seem to be this way.
alavoler
Posts: 45
Joined: Thu Mar 12, 2009 4:29 pm
Location: France
Contact: Website

Re: ODBC Creation. Custom name?

Error Post

so sorry


but try [MY_PROP] in name field or [|MY_PROP]
sdm10101
Posts: 35
Joined: Wed May 06, 2009 2:13 pm

Re: ODBC Creation. Custom name?

You'd think that would work, but it doesn't.

I need a work-around, if there is one.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: ODBC Creation. Custom name?

Hi,

Unfortunately the data source name must be hard-coded into the project (it cannot use an installer property). This is required because the ODBCDataSource table in the MSI uses a text value for the name ("Description").

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

Return to “Common Problems”