Subject | Re: Update in clients |
---|---|
Author | Adam |
Post date | 2005-07-05T02:44:52Z |
Gustavo,
You can do as follows:
On the server, create the following structure
c:\MyApp\DB
c:\MyApp\Bin
You can then share the folder c:\MyApp\Bin as MyApp
The client workstations could then simply run the executable using a
shortcut.
\\server\MyApp\MyApp.exe
You do not share the C drive, so there is no way of getting the
database through a network share.
This was our original approach. The advantage is that you do not have
to upgrade workstations. The disadvantage is that the speed becomes a
problem on slow networks or when the exe gets too big.
We took a slightly different tact. I created a simple program that
searches for the server share (in this case \\server\MyApp\). I then
do a file time comparison between the local folder and the server
share, and download any changed files. This simple synchronisation
tool executes before the program is launched. Upgrades are then
simple, you only need to dump the new exe in the bin folder, the next
time the workstation connects it will download the latest copy.
Adam
You can do as follows:
On the server, create the following structure
c:\MyApp\DB
c:\MyApp\Bin
You can then share the folder c:\MyApp\Bin as MyApp
The client workstations could then simply run the executable using a
shortcut.
\\server\MyApp\MyApp.exe
You do not share the C drive, so there is no way of getting the
database through a network share.
This was our original approach. The advantage is that you do not have
to upgrade workstations. The disadvantage is that the speed becomes a
problem on slow networks or when the exe gets too big.
We took a slightly different tact. I created a simple program that
searches for the server share (in this case \\server\MyApp\). I then
do a file time comparison between the local folder and the server
share, and download any changed files. This simple synchronisation
tool executes before the program is launched. Upgrades are then
simple, you only need to dump the new exe in the bin folder, the next
time the workstation connects it will download the latest copy.
Adam