Installing and running executable off a shared drive vs shared service

DaveO 6 Reputation points
2021-03-27T09:33:36.697+00:00

I've inherited some legacy commercial Windows desktop MFC Win32/C++ software (let's call it "MyApp") that has its own installation program that defaults to installing executables in C:\MyApp. It'll also install MyApp.exe quite happily to a shared network folder so multiple users can run the executable at the same time from different workstations. It reads configurations from this folder and it'll also write data to these folders that are shared amongst users. This creates concurrency issues if users are modifying and saving this data at the same time. I'm new to managing desktop apps so want to get advice on: - modern approaches that allow multiple users to use a single app installation across multiple workstations. Moving to multiple installations for each user is okay if I can solve: - architecture, installation/deployment options for multiple installations (clients) to use a common backend service when that service is C++ and needs to be decoupled from the MFC UI. If we need to migrate to client/server set up the move needs to be as close to the current single process model as possible. Off the top of my head I'm considering options like installing a windows service that the client (installed with the same installer) can automatically detect and operate with the service at a low level (like it was calling a class). Does Windows have something like this? Further client installations could be configured at install time (WiX) to detect and use this shared service running on another workstation? Does anything like this exist in the Windows world? Is there anything other than a windows service that fits this model? Some of our customers just need a single installation for a single user on one workstation so a solution that works well for both would be ideal.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,542 questions
{count} votes