Ok, here is the quick rundown:
I've created a VB program in VS .Net 2003 (and also VS 2005), with .NET framework 2.0, that works with a database created in Access 2007. This program was created on the Development workstation at my house, but I need to install the program into the network at work. I know that if I move the program's project folder, I can simply reconfigure the DataAdapter to point to the new path where the database is, but I won't be able to do that all the time (as the program must be implemented into 3 other branches in 3 different states.
So, my question is this:
Is there any way to create a installation file that will place the database in a pre-specified folder that will be created during installation and integrate the path into the data adapter and have it work no matter where it is installed? Even if the drive letter is different?
The requirement is that the IT guys should simply run the setup file and the rest is done for them. Is there any way to do this?
There are no errors in the code and the program works as it should on my machine, so basically what I need is advise on creating the setup file to work on any machine, the network implementation is not something I will have to do.