How can I use one EXE on Multiple machines ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • preeti08
    New Member
    • Aug 2009
    • 1

    How can I use one EXE on Multiple machines ?

    I have one EXE on my server machine (Windows Server 2003) and now i want users on multiple computers (Windows XP) to create one shortcut on there repective machine and access this EXE.

    How can I do that ?
  • Joseph Martell
    Recognized Expert New Member
    • Jan 2010
    • 198

    #2
    As long as the user's have access to the server that hosts the exe, they can just create a shortcut to that exe and it will run.

    It is possible to run into some problems though. If there are common data sets or config files being used between different instances of the program then there can be write contentions between the different users. Also, if a user is currently running your exe then you cannot deploy an update to the file on the server (we had a couple of programs with this set up at one of my previous jobs).

    What you can do is have the end user's create shortcuts to a .bat file. The .bat file will need to check the user's machine for the current version of the program, usually by comparing an install directory on the user's machine with the directory on the server that houses the program. If the current version is not installed, or there is no installation folder on the user's machine, then the current version of the program can be copied to the user's machine. Then the .bat file runs the user's local version.

    This can be done with a helper program as well. In either case the .bat file or the helper program can be given the icon of your normal program. Most user's won't really know the difference and you avoid any problems with parallel users.

    Comment

    Working...