This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Get SQL variables from OnSQLServerInitialize();
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 29, 2011
07:59 AM
Get SQL variables from OnSQLServerInitialize();
Hi,
I'm making an installer that will deploy a sql database and also initialize a service under the same credentials used for deploying the sql database. From what I understand, this line is what initializes the sql runtime and opens the prompt:
Dlg_SQLServer:
nResult = OnSQLServerInitialize( nResult );
if( nResult = BACK ) goto Dlg_SdFeatureTree;
How can I grab the username, password and connection string? Does anybody know?
Regards,
J
I'm making an installer that will deploy a sql database and also initialize a service under the same credentials used for deploying the sql database. From what I understand, this line is what initializes the sql runtime and opens the prompt:
Dlg_SQLServer:
nResult = OnSQLServerInitialize( nResult );
if( nResult = BACK ) goto Dlg_SdFeatureTree;
How can I grab the username, password and connection string? Does anybody know?
Regards,
J
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 29, 2011
03:44 PM
Look at the implementation of OnSQLServerInitialize InstallScript event by selecting the Before Move Data | OnSQLServerInitialize from the dropdown upper the InstallScript editor.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 30, 2011
12:05 PM
Thanks! Got it working.