From 848911c168297250b2f868c202f88bb7c46bbd4f Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Fri, 1 Nov 2019 20:10:29 +0000 Subject: [PATCH] [installer] refactor into custom actions to avoid duplication --- installer/installbuilder/project.xml | 149 +++++++++++---------------- 1 file changed, 58 insertions(+), 91 deletions(-) diff --git a/installer/installbuilder/project.xml b/installer/installbuilder/project.xml index 5da9c2e5d..d85164966 100644 --- a/installer/installbuilder/project.xml +++ b/installer/installbuilder/project.xml @@ -23,44 +23,70 @@ vcredist-x64.xml - - - Check that no swift applications running - It seems that some swift application is still in use, -please close it and click Retry. - warning + + + checkForRunningSwift - - Swift is still running. User aborted installation. - - - or + + Check that no swift applications running + It seems that some swift application is still in use, +please close it and click Retry. + warning + + + Swift is still running. User aborted installation. - - is_running - swiftcore.exe - - - is_running - swiftguistd.exe - - - is_running - swiftlauncher.exe - - - is_running - swiftdata.exe - + + or + + + is_running + swiftcore.exe + + + is_running + swiftguistd.exe + + + is_running + swiftlauncher.exe + + + is_running + swiftdata.exe + + + + + windows + - + + + + + + + killDBusDaemon + + + dbus-daemon.exe + + + is_running + dbus-daemon.exe + windows - + - + + + + + installBaseDir @@ -98,18 +124,6 @@ please close it and click Retry. - - dbus-daemon.exe - - - is_running - dbus-daemon.exe - - - windows - - - @@ -214,43 +228,8 @@ please close it and click Retry. - - Check that no swift applications running - It seems that some swift application is still in use, -please close it and click Retry. - warning - - - Swift is still running. User aborted installation. - - - or - - - is_running - swiftcore.exe - - - is_running - swiftguistd.exe - - - is_running - swiftlauncher.exe - - - is_running - swiftdata.exe - - - - - windows - - - - - + + launchctl remove org.freedesktop.dbus-session.plist @@ -277,18 +256,6 @@ please close it and click Retry. - - dbus-daemon.exe - - - is_running - dbus-daemon.exe - - - windows - - - 1 lzma