2020. 1. 24. 04:58ㆍ카테고리 없음
Inno Setup Close Program Before Install
Just to round out the other possibilities:If you can check the prerequisite condition before gathering any information from the user, then the best place to do the check is in an InitializeSetup function. This allows you to display a MsgBox and then exit with Result:= False to abort the installation.If you need to gather some information from the user first (such as the installation directory) but can still check the condition without installing any files (other than perhaps a few via ExtractTemporaryFile), then the best place is in the PrepareToInstall function.
Inno Setup Close Application Before Installation
When answering a question please:. Read the question carefully. Understand that English isn't everyone's first language so be lenient of badspelling and grammar. If a question is poorly phrased then either ask for clarification, ignore it, oredit the question and fix the problem. Insults are not welcome. Don't tell someone to read the manual. Chances are they have and don't get it.Provide an answer or move on to the next question.Let's work to help developers, not make them feel stupid.
This dialog cannot be bypassed, you will need to have your puppet script or SCCM gracefully close Viscosity before running the installer. You can do this by issuing a command of 'Viscosity.exe exit' as the user running Viscosity.