简体   繁体   中英

Deployment project for WPF app - How do I stop the application before install?

I want to configure the installer to stop a WPF application if it is running before installing the new version.

How do I do this in a Setup & Deployment Project.

Thanks.

Short of communicating with the app with some other little app that runs before the installation takes place (which would be way overkill), I don't know that you could do this automatically, but the installer should prompt the user to shut it down. Does it not?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM