1

有没有办法通过 Inno 安装程序自行更新正在运行的程序?还是必须先退出正在运行的程序才能升级?

4

1 回答 1

3

You can always write a script in your Inno Setup Update Installer that will check if app is running and close it automatically before update (FindWindowByClassName or FindWindowByWindowName). Or the better way is to create Mutex in you app and then to use CheckForMutexes function.

于 2014-10-24T18:19:23.483 回答