Close running version of program before installing update (Inno Setup)

前端 未结 10 1246
囚心锁ツ
囚心锁ツ 2020-12-23 12:24

This should be simple, I need to stop any previous version of my program from running when the installer starts.

Most people suggested making an exe wh

10条回答
  •  别那么骄傲
    2020-12-23 12:57

    Add CloseApplications=true in [Setup] section.

    If set to yes or force and Setup is not running silently, Setup will pause on the Preparing to Install wizard page if it detects applications using files that need to be updated by the [Files] or [InstallDelete] section, showing the applications and asking the user if Setup should automatically close the applications and restart them after the installation has completed.

提交回复
热议问题