I’m going to have an winform app running on a Windows Server 2012 with several users over Remote Desktop.
If I place my app in a folder, how will I update it? I guess lots of files are in use and cannot be updated.
What would you do?
Thanks
Mojo
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have run in to this exact issue and discovered a interesting work around. Windows will let you move a file that is in use.
What I do is I make a folder called
Oldin the install directory of the program, I then move the exe in to that folder and copy over my new exe.Any new people who log on use the new exe and I give it a day to let all the old users log off (the timeout period on our RDP server kicks inactive people after 4 hours so everyone usually gets logged off overnight) and then I delete the
Oldfolder I made at the start.