customizing an EXE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dkinth
    New Member
    • Feb 2009
    • 2

    #1

    customizing an EXE

    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?
  • vekipeki
    Recognized Expert New Member
    • Nov 2007
    • 229

    #2
    Connection information doesn't have to be embedded in your exe file, why not place it in a separate config file? "Customizin g" an exe file on the server side is not a common practice, and hard-coding connection data should also be avoided anyway.

    Comment

    • dkinth
      New Member
      • Feb 2009
      • 2

      #3
      I don't want to the user to have to unzip a file to run the app.

      Comment

      • vekipeki
        Recognized Expert New Member
        • Nov 2007
        • 229

        #4
        How about getting the configuration from a static server?

        Comment

        Working...