Is it possible to change the DSN Name during install? - 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!

marcelo
Posts: 103
Joined: Fri Sep 28, 2007 2:07 pm

Is it possible to change the DSN Name during install?

Hi,

I have an installtion that creates a System DSN, but I need to change the name of the DSN based on Settings from a custom form. Is it possible to change the name of the DSN with advanced installer?

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

Hi,

I'm afraid that Windows Installer does not have built-in support for formatted type (property references) in the Description column of the ODBCDataSource MSI table.

You can try using a custom action that tries to alter the text column at runtime, by executing an SQL query on the MSI database.

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

Return to “Common Problems”