基本的に、インストール前に特定のプログラムが実行されていないことを確認する必要があります。これは、プロパティを設定するカスタム アクションを介して行われますAPPRUNNING
。
<CustomAction Id="CheckingAppIsRunning"
BinaryKey="AppIsRunning"
DllEntry="AppIsRunning"/>
<Binary Id="AppIsRunning"
SourceFile="CustomActions.CA.dll" />
しかし、表示されたメッセージAPPRUNNING
では、null のようです。つまり、まったく設定されていません (「0」または「1」のいずれかである必要があります)。
<Condition Message="Exit all instances of [APPNAME] before installation (APPRUNNING = [APPRUNNING]).">
<![CDATA[APPRUNNING = "0"]]>
</Condition>
<InstallExecuteSequence>
<Custom Action="CheckingAppIsRunning" Before="LaunchConditions" />
</InstallExecuteSequence>
条件チェックの時点でカスタムアクションが実行されていないと思います。カスタム アクションの後に条件チェックを実行するオプションは何ですか?