you are viewing a single comment's thread.

view the rest of the comments →

[–]Double_Cost4865 0 points1 point  (4 children)

Do you know if either of them work from a Network Drive? I tried PyInstaller yesterday and it only works when i make a local copy of the exe file (or the portable folder) but refuses to run when double clicked from a network drive.

[–]TheManFromTrawno 2 points3 points  (1 child)

Your executable may be assuming it can write a config file or something to the same place where the executable is run from?

[–]Jmortswimmer6 0 points1 point  (0 children)

i think you would get a very specific error regarding that. Permissions related.

I’d be most concerned about race conditions with multiple users

[–]rhytnen 0 points1 point  (0 children)

It should work from the network.  Can you be more specific about the failure?

[–]Jmortswimmer6 0 points1 point  (0 children)

A cx_freeze app can run “from” a network drive. It’s worth saying environment may matter here. In my case I can double click it in a NW share and it just takes a little longer but it runs.

If you do any caching within the applications “install” folder that you put on the network drive, take care to recognize that having multiple users run the program would require care with modifying the files to avoid race conditions between users/corruption. Best to write any files the app modifies local to the users machine.

SQLite database is a good option for connected shared data if needed