visual studio - How to detect running program and ask to close it from VS Msi project? -
i have simple visual studio msi project.
i want halt installation if detect running program of type (e.g. "aaa.exe") , wait until user closes before proceeding.
how do that?
generally speaking, have considered restart manager?
applications use windows installer 4.0 installation , servicing on windows vista automatically use restart manager reduce system restarts. default behavior on windows vista shut down applications rather shut down , restart operating system whenever possible. in cases system restart unavoidable, installers can use restart manager api schedule restarts in such way minimizes disruption of user's work flow.
restart manager should automatically detect open files/handles-to-files are going updated .msi , gracefully stop/restart them.
Comments
Post a Comment