Archive: question concerning SQL server and NSIS


question concerning SQL server and NSIS
hi there,

I am writing an installation of a program that uses sql server database.

I have made a page for database settings, such as server, username and password.

I want to have the option to choose for integrated windows security.

My question is: how can I make the NSIS file so that it retrieves the loginname and password from windows (this will be saved in a connection string in a config file)?

Thanks for any help or advice! :)

daniman.


You can get the current username using Windows API, try the System plug-in. I don't think it's possible for an application to get the password (because of security reasons), but you would have to check MSDN.


ok, thanx! :)