srobia
asked on
Installation / Running Program Concerns
I have an application that is run from a local drive -- but connects to a server drive. During the startup of the application I want to be able to check the server for updated files. What I'm running into is that I don't know where the server file is going to be (and it may change in the future). Right now I'm hard coding it into the application -- which is a terrible thing to do. But I'm not sure how to do this. The application relies on an .ini file and I have the server directory in the file -- but I haven't figured out to install this .ini file. Any suggestions?
Does this make sense? What happens if the .ini file is deleted? Stuff like that.
Does this make sense? What happens if the .ini file is deleted? Stuff like that.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You need to have another EXE that will be launch instead of your actual application, that will check for a new version, copy it if required and launch it.
ASKER
Works exactly the way I wanted it to.