two version of EXE file with same name?

  • Thread starter Thread starter Mttc
  • Start date Start date
I'm afraid the OS will not allow that. Why do they have to have the
same name? What are you trying to accomplish?
 
i suppose that i read something about that.

Actually, I locking for easy way to give to my App ability to
Update version on Terminal Server. The problem is, that
When one user open App the EXE is locked up.
So, in traditional way I must give to each user his own copy of App.
If have a way to keep old version beside new one, and OS take the Latest
Its will be fun.
 
Mttc,
Have you considered using a "Launcher" for your app, where the user actually
starts a small exe, that creates a new AppDomain with shadow copying enabled
(via the AppDomain.SetShadowCopyFiles)?

For details on SetShadowCopyFiles see:
http://msdn.microsoft.com/library/d...stemappdomainclasssetshadowcopyfilestopic.asp

Unfortunately I don't have any clear links on implementing a "Launcher",
however these look like some good info on shadow copying:

http://blogs.msdn.com/junfeng/archive/2004/02/09/69919.aspx

Searching google for "appdomain launcher" brings up a number of hopeful
links...

Hope this helps
Jay
 
Back
Top