mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
[installer] Change "swift is still running" to an abort/retry dialog
This commit is contained in:
@@ -24,20 +24,14 @@
|
|||||||
</include>
|
</include>
|
||||||
</componentList>
|
</componentList>
|
||||||
<preInstallationActionList>
|
<preInstallationActionList>
|
||||||
<actionGroup>
|
<validatedActionGroup>
|
||||||
<explanation>Check that no swift applications running</explanation>
|
<explanation>Check that no swift applications running</explanation>
|
||||||
|
<text>It seems that some swift application is still in use,
|
||||||
|
please close it and click Retry.</text>
|
||||||
|
<severity>warning</severity>
|
||||||
<actionList>
|
<actionList>
|
||||||
<showWarning>
|
<throwError>
|
||||||
<ruleEvaluationLogic>or</ruleEvaluationLogic>
|
<text>Swift is still running. User aborted installation.</text>
|
||||||
<text>It seems that some swift application is still in use, please close
|
|
||||||
it and relaunch the installer.</text>
|
|
||||||
</showWarning>
|
|
||||||
<exit>
|
|
||||||
<exitCode>1</exitCode>
|
|
||||||
</exit>
|
|
||||||
</actionList>
|
|
||||||
<ruleList>
|
|
||||||
<ruleGroup>
|
|
||||||
<ruleList>
|
<ruleList>
|
||||||
<ruleGroup>
|
<ruleGroup>
|
||||||
<ruleEvaluationLogic>or</ruleEvaluationLogic>
|
<ruleEvaluationLogic>or</ruleEvaluationLogic>
|
||||||
@@ -64,9 +58,9 @@ it and relaunch the installer.</text>
|
|||||||
<type>windows</type>
|
<type>windows</type>
|
||||||
</platformTest>
|
</platformTest>
|
||||||
</ruleList>
|
</ruleList>
|
||||||
</ruleGroup>
|
</throwError>
|
||||||
</ruleList>
|
</actionList>
|
||||||
</actionGroup>
|
</validatedActionGroup>
|
||||||
<!-- TODO Linux/MacOS: Save and load last install dir -->
|
<!-- TODO Linux/MacOS: Save and load last install dir -->
|
||||||
<setInstallerVariable>
|
<setInstallerVariable>
|
||||||
<name>installBaseDir</name>
|
<name>installBaseDir</name>
|
||||||
@@ -216,20 +210,14 @@ it and relaunch the installer.</text>
|
|||||||
</runProgram>
|
</runProgram>
|
||||||
</postInstallationActionList>
|
</postInstallationActionList>
|
||||||
<preUninstallationActionList>
|
<preUninstallationActionList>
|
||||||
<actionGroup>
|
<validatedActionGroup>
|
||||||
<explanation>Check that no swift applications running</explanation>
|
<explanation>Check that no swift applications running</explanation>
|
||||||
|
<text>It seems that some swift application is still in use,
|
||||||
|
please close it and click Retry.</text>
|
||||||
|
<severity>warning</severity>
|
||||||
<actionList>
|
<actionList>
|
||||||
<showWarning>
|
<throwError>
|
||||||
<ruleEvaluationLogic>or</ruleEvaluationLogic>
|
<text>Swift is still running. User aborted installation.</text>
|
||||||
<text>It seems that some swift application is still in use, please close
|
|
||||||
it and relaunch the uninstaller.</text>
|
|
||||||
</showWarning>
|
|
||||||
<exit>
|
|
||||||
<exitCode>1</exitCode>
|
|
||||||
</exit>
|
|
||||||
</actionList>
|
|
||||||
<ruleList>
|
|
||||||
<ruleGroup>
|
|
||||||
<ruleList>
|
<ruleList>
|
||||||
<ruleGroup>
|
<ruleGroup>
|
||||||
<ruleEvaluationLogic>or</ruleEvaluationLogic>
|
<ruleEvaluationLogic>or</ruleEvaluationLogic>
|
||||||
@@ -256,9 +244,9 @@ it and relaunch the uninstaller.</text>
|
|||||||
<type>windows</type>
|
<type>windows</type>
|
||||||
</platformTest>
|
</platformTest>
|
||||||
</ruleList>
|
</ruleList>
|
||||||
</ruleGroup>
|
</throwError>
|
||||||
</ruleList>
|
</actionList>
|
||||||
</actionGroup>
|
</validatedActionGroup>
|
||||||
<runProgram>
|
<runProgram>
|
||||||
<program>launchctl</program>
|
<program>launchctl</program>
|
||||||
<programArguments>remove org.freedesktop.dbus-session.plist</programArguments>
|
<programArguments>remove org.freedesktop.dbus-session.plist</programArguments>
|
||||||
|
|||||||
Reference in New Issue
Block a user