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

Can you select specific SQL Catalogs during instal


1 reply to this topic

BFealy

BFealy
  • Full Members
  • 35 posts

Posted 18 November 2005 - 15:51

Hello,

I'm attempting to create an installation which will run some SQL scripts. Is there a way to allow the user to browse to a specific catalog on a server?
It appears the dialogs IS provides stop at selecting a server, is there a reliable way to drill down one level and allow selection of a specific catalog by the user and subsequently run scripts on that catalog?
I'm using Installshield 11 in a pure InstallScript project.

Many thanks for any assistance,

Brian

BFealy

BFealy
  • Full Members
  • 35 posts

Posted 07 December 2005 - 15:51

I'm halfway there now. Discovered that in ONSQLServerInitialize I had to replace the SQLRTCONNECT2 function with SQLRTCONNECTDB function which allows specification of a catalog.

Still don't have any way to make a combobox populated with the list of catalogs on a specific server, but I can now prompt the user to manually enter a catalog name and the scripts will correctly run against that catalog.

Any help on the remaining portion of the problem is welcomed.

Brian