Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

ACCESSING INSTALLER DB FOR ODBC


1 reply to this topic

Randeep

Randeep
  • Members
  • 1 posts

Posted 19 February 2002 - 11:29

Hello
I'm trying to set up an ODBC DSN but I want the server name and the database name to be added during installation. I have used the MsiGetActiveDatabase and other functions including MsiRecordSetString but although the installation completes the value for the DSN does not change and stays the same as the default taken off my computer. I'm not sure where I should run the code from either a custom action or direcrly in the script?

Can any one help?

Randeep Chahal

White Clarke Group


arfinsd

arfinsd
  • Members
  • 28 posts

Posted 02 October 2002 - 17:21

You can make changes after it's been setup in the registry.

SOFTWARE/ODBC/ODBC.ini

Set the values there for your server name, etc.

alex
Alex Ferguson
www.SolimarSystems.com