Exit from Inno Setup installation from [Code]

后端 未结 6 2020
逝去的感伤
逝去的感伤 2020-12-01 21:37

Is it possible to exit the installation from a function in the [Code] section of an installer created with Inno Setup?

I\'m not interested in setting the

6条回答
  •  伪装坚强ぢ
    2020-12-01 21:47

    You can use Abort() if you are in these events:

    InitializeSetup
    InitializeWizard
    CurStepChanged(ssInstall)
    InitializeUninstall
    CurUninstallStepChanged(usAppMutexCheck)
    CurUninstallStepChanged(usUninstall)
    

提交回复
热议问题