action fix

This commit is contained in:
vadym 2021-09-12 23:53:12 +03:00
parent 2c7bdfef76
commit a0aabaf9c2

View file

@ -241,12 +241,7 @@ cat > wix.xml << EOF
Return="check" Return="check"
Impersonate="yes" /> Impersonate="yes" />
<UI Id="WixUI">
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
</UI>
<UIRef Id="WixUI_Common" />
<Property Id="WixShellExecTarget" Value="[#MeshUI]" /> <Property Id="WixShellExecTarget" Value="[#MeshUI]" />
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch Name" />
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" /> <CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
<InstallExecuteSequence> <InstallExecuteSequence>
@ -255,6 +250,11 @@ cat > wix.xml << EOF
Before="StartServices"> Before="StartServices">
NOT Installed AND NOT REMOVE NOT Installed AND NOT REMOVE
</Custom> </Custom>
<Custom
Action="LaunchApplication"
After="StartServices">
NOT Installed AND NOT REMOVE
</Custom>
</InstallExecuteSequence> </InstallExecuteSequence>
</Product> </Product>