By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,853 Members | 2,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,853 IT Pros & Developers. It's quick & easy.

customizing an EXE

P: 2
I'm not very experienced with windows development as I spend most of my time on web applications. I find myself needing to create a small windows application that connects to a network database to perform a few functions. The EXE will be downloaded from a web server. Each user downloading the application must have their own database connection information encrypted within the EXE. The user doesn't know the connection information so I can't ask for it at run-time. There are too many users to create an EXE for each one manually. So my question is how can I customize an EXE on the fly before the user downloads it?
Feb 5 '09 #1
Share this Question
Share on Google+
3 Replies


vekipeki
Expert 100+
P: 229
Connection information doesn't have to be embedded in your exe file, why not place it in a separate config file? "Customizing" an exe file on the server side is not a common practice, and hard-coding connection data should also be avoided anyway.
Feb 6 '09 #2

P: 2
I don't want to the user to have to unzip a file to run the app.
Feb 6 '09 #3

vekipeki
Expert 100+
P: 229
How about getting the configuration from a static server?
Feb 6 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.