설치 후 exe를 실행하려고합니다. 다음은이 작업을 수행하는 방법입니다. 여기에서Wix에서 사용자 정의 액션 exe에 인수를 추가하는 방법은 무엇입니까?
<Property Id="WixShellExecTarget" Value="[#fil7D28AEF774656849395A2FA20A5C963D]" />
<CustomAction Id="LaunchMosquitto" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
<InstallExecuteSequence>
<Custom Action="LaunchMosquitto" After="InstallFinalize" />
</InstallExecuteSequence>
는 [# fil7D28AEF774656849395A2FA20A5C963D는 상기 파일의 ID를 의미한다. 이 exe를 "-c config.conf"매개 변수와 함께 실행해야합니다. 이것을 어떻게 할 수 있습니까? 어떤 도움이라도 대단히 감사 할 것입니다. 명령 프롬프트를 시작하지 않고이 작업이 필요합니다. 대답 후
로그 : 얀은 조용한 CA를 사용해야합니다
MSI (s) (D0:24) [18:32:16:273]: Executing op: ActionStart(Name=LaunchMosquitto,,)
MSI (s) (D0:24) [18:32:16:273]: Executing op: CustomActionSchedule(Action=LaunchMosquitto,ActionType=3137,Source=BinaryData,Ta rget=WixQuietExec64,CustomActionData="C:\Kube2.0\Mosquitto\mosquitto.exe" -c C:\Kube2.0\Mosquitto\mosquitto.conf)
설명서의이 기사는 사용자의 질문에 대한 답변을 제공합니다 : http://wixtoolset.org/documentation/manual/v3/customactions/qtexec.html. 특히 "지연된 실행"섹션 –