Connect to existing MSSQL database w/ SQL creds

51 views
Skip to first unread message

Justin Walker

unread,
Dec 8, 2016, 12:22:21 AM12/8/16
to msiext
Hey Daniel,

I'm trying to create an installer that allows my application to be connected to a MSSQL database on a server. I found your extension pack, but the demos for the the ODBC connections all seem to create a new database instead of allowing a connection to an existing one. Is there a way to allow the user to input the server name, db name, and creds without creating a new db on the server.

Thanks for any input,
Justin

Daniel Doubrovkine

unread,
Dec 8, 2016, 7:59:17 AM12/8/16
to msi...@googlegroups.com
I think setting those CreateOnInstall and DropOnUninstall values to "no" will work. Might need other changes.

<AppSecInc:MSSQLDatabase Id="MSSQLDemoDatabase" Name="[MSSQL_DATABASE_NAME]" Connection="LocalSQLServerConnection" CreateOnInstall="yes" DropOnUnInstall="yes">

Try to contribute an example that does that.

--
You received this message because you are subscribed to the Google Groups "msiext" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msiext+unsubscribe@googlegroups.com.
To post to this group, send email to msi...@googlegroups.com.
Visit this group at https://groups.google.com/group/msiext.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages