Search code examples
wixterminal-services

Update 24/7 app on terminal services without kicking out users


I need to design installer for system which run 24/7 on terminal server and multiple users use this app simultaneously.

It is possible to proceed with update of such application if users are logged on terminal services and use this app unless I kick them all?

I mean if it is possible to update dll and exe which would be applied for example on next terminal session?

Can I use WIX installer or do I handle it by myself?


Solution

  • That is possible in Linux, however the Windows Installer uses the Restart Manager to handle replacing files in use. When the Windows Installer detects files in use, it will prompt you to either attempt to close any applications or schedule the replacement during a reboot. Depending on how you configure the UI during the installation, you can bypass the prompt but you cannot force the replacement without closing the applications.