Update App while users lock it?

  • Thread starter Thread starter Mttc
  • Start date Start date
M

Mttc

My app run in Terminal server. The problem is, that
When one user open App, the EXE and DLL locked up.
And not have a way to update new version for other users.
So, in traditional way I must give to each user his own copy of App.
The q is, If have a way in DOT.NET to keep old version beside new one, and
OS take the Latest
When user open it?
 
Yes. Zero level deployment.
The idea is that you open a folder where you put all files necessary to run
your application. share this forder in IIS. The user need to open the link:
http://localhost/websharedfoldername/app.exe
When he does that, IE is opened for a second and closed, and .NET framework
goes to this url and get all files from there to a cache and opens the
program. If the user do it for the second time, it just checks if the cache
has the latest version of the exe and dll's. Your web folder files are not
locked at all. If you update the files, the users just have to close the
application and open it to get the latest version.
The user can work like that even if he is not logged into the terminal if he
replaces the "localhost".
You have to adjust the security level in "Microsoft .NET Framework 1.1
Configuration".
More details:
http://msdn.microsoft.com/msdnmag/issues/02/07/NetSmartClients/default.aspx
 
You can install IIS on the terminal server for internal use only.
You can also simulate the zero level deployment action.
Make a batch that copies all files in your exe folder to a user directory
and opens the exe from the user folder.
 
Back
Top