mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
SDA-2132: fix quitting app on uninstall (#1022)
- Quit SDA when uninstalling on Windows from Control Panel
This commit is contained in:
parent
bcda5ad498
commit
ce5f146516
@ -563,6 +563,7 @@
|
||||
<ROW Action="AI_DATA_SETTER" Type="51" Source="CustomActionData" Target="AEkAcwA2ADQAQgBpAHQAAgABAFAAYQByAGEAbQBzAAIAAQBTAGMAcgBpAHAAdAACACMAIABCAGwAbwBjAGsAIABmAG8AcgAgAGQAZQBjAGwAYQByAGkAbgBnACAAdABoAGUAIABzAGMAcgBpAHAAdAAgAHAAYQByAGEAbQBlAHQAZQByAHMALgANAAoAUABhAHIAYQBtACgAKQANAAoADQAKACMAIABZAG8AdQByACAAYwBvAGQAZQAgAGcAbwBlAHMAIABoAGUAcgBlAC4ADQAKAGYAdQBuAGMAdABpAG8AbgAgAHUAdQBpAGQAIABbAFwAewBdACAAWwBcAFsAXQBnAHUAaQBkAFsAXABdAF0AOgA6AE4AZQB3AEcAdQBpAGQAKAApAC4AVABvAFMAdAByAGkAbgBnACgAKQAgAFsAXAB9AF0ADQAKACQAdQB1AGkAZABfAHYAYQBsAHUAZQAgAD0AIAB1AHUAaQBkAA0ACgBBAEkAXwBTAGUAdABNAHMAaQBQAHIAbwBwAGUAcgB0AHkAIABJAE4AUwBUAEEATABMAF8AVgBBAFIASQBBAE4AVAAgACQAdQB1AGkAZABfAHYAYQBsAHUAZQ=="/>
|
||||
<ROW Action="AI_DATA_SETTER_1" Type="51" Source="CustomActionData" Target="AEkAcwA2ADQAQgBpAHQAAgABAFAAYQByAGEAbQBzAAIAAQBTAGMAcgBpAHAAdAACACMAIABCAGwAbwBjAGsAIABmAG8AcgAgAGQAZQBjAGwAYQByAGkAbgBnACAAdABoAGUAIABzAGMAcgBpAHAAdAAgAHAAYQByAGEAbQBlAHQAZQByAHMALgANAAoAUABhAHIAYQBtACgAKQANAAoADQAKACMAIABZAG8AdQByACAAYwBvAG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AaQBzAHQAcgB5ACAALQBSAG8AbwB0ACAASABLAEUAWQBfAFUAUwBFAFIAUwAgAC0ARQByAHIAbwByAEEAYwB0AGkAbwBuACAAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQANAAoAUgBlAG0AbwB2AGUALQBJAHQAZQBtAFAAcgBvAHAAZQByAHQAeQAgAC0AUABhAHQAaAAgACIASABLAFUAOgAuAEQARQBGAEEAVQBMAFQAXABTAG8AZgB0AHcAYQByAGUAXABNAGkAYwByAG8AcwBvAGYAdABcAFcAaQBuAGQAbwB3AHMAXABDAHUAcgByAGUAbgB0AFYAZQByAHMAaQBvAG4AXABSAHUAbgAiACAALQBOAGEAbQBlACAAIgBTAHkAbQBwAGgAbwBuAHkAIgAgAC0ARQByAHIAbwByAEEAYwB0AGkAbwBuACAAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQ=="/>
|
||||
<ROW Action="AI_DATA_SETTER_2" Type="51" Source="CustomActionData" Target="Symphony.exe"/>
|
||||
<ROW Action="AI_DATA_SETTER_3" Type="51" Source="CustomActionData" Target="Symphony.exe"/>
|
||||
<ROW Action="AI_DATA_SETTER_4" Type="51" Source="CustomActionData" Target="Symphony.exe"/>
|
||||
<ROW Action="AI_DOWNGRADE" Type="19" Target="4010"/>
|
||||
<ROW Action="AI_DpiContentScale" Type="1" Source="aicustact.dll" Target="DpiContentScale"/>
|
||||
@ -587,6 +588,7 @@
|
||||
<ROW Action="SET_TARGETDIR_TO_APPDIR" Type="51" Source="TARGETDIR" Target="[APPDIR]"/>
|
||||
<ROW Action="SetDefaults" Type="37" Target="Script Text" TargetUnformatted="if (!Session.Property("POD_URL")) { 	Session.Property("POD_URL") = "https://my.symphony.com"; } else { 	Session.Property("POD_URL") = Session.Property("POD_URL").replace(/^\s\s*/, '').replace(/\s\s*$/, ''); } var autoLaunchPath = Session.Property("AUTO_LAUNCH_PATH"); if (autoLaunchPath) { 	Session.Property("AUTO_LAUNCH_PATH") = autoLaunchPath.replace(/\\/g, "/"); } if (!Session.Property("ALWAYS_ON_TOP")) { 	Session.Property("ALWAYS_ON_TOP") = "DISABLED"; } if (!Session.Property("MINIMIZE_ON_CLOSE")) { 	Session.Property("MINIMIZE_ON_CLOSE") = "ENABLED"; } if (!Session.Property("AUTO_START")) { 	Session.Property("AUTO_START") = "ENABLED"; } if (!Session.Property("BRING_TO_FRONT")) { 	Session.Property("BRING_TO_FRONT") = "DISABLED"; } if (!Session.Property("CUSTOM_TITLE_BAR")) { 	Session.Property("CUSTOM_TITLE_BAR") = "ENABLED"; } if (!Session.Property("DEV_TOOLS_ENABLED")) { 	Session.Property("DEV_TOOLS_ENABLED") = "true"; } if (!Session.Property("MEDIA")) { 	Session.Property("MEDIA") = "true"; } if (!Session.Property("LOCATION")) { 	Session.Property("LOCATION") = "true"; } if (!Session.Property("NOTIFICATIONS")) { 	Session.Property("NOTIFICATIONS") = "true"; } if (!Session.Property("MIDI_SYSEX")) { 	Session.Property("MIDI_SYSEX") = "true"; } if (!Session.Property("POINTER_LOCK")) { 	Session.Property("POINTER_LOCK") = "true"; } if (!Session.Property("FULL_SCREEN")) { 	Session.Property("FULL_SCREEN") = "true"; } if (!Session.Property("OPEN_EXTERNAL")) { 	Session.Property("OPEN_EXTERNAL") = "true"; } " WithoutSeq="true"/>
|
||||
<ROW Action="StopProcess" Type="65" Source="aicustact.dll" Target="StopProcess" WithoutSeq="true" Options="1" AdditionalSeq="AI_DATA_SETTER_4"/>
|
||||
<ROW Action="StopSymphony" Type="65" Source="aicustact.dll" Target="StopProcess" Options="1" AdditionalSeq="AI_DATA_SETTER_3"/>
|
||||
<ROW Action="UninstallPreviousVersions" Type="65" Source="aicustact.dll" Target="UninstallPreviousVersions" Options="1"/>
|
||||
<ROW Action="UpdateInstallVariant" Type="1" Source="PowerShellScriptLauncher.dll" Target="RunPowerShellScript" WithoutSeq="true" Options="1" AdditionalSeq="AI_DATA_SETTER"/>
|
||||
</COMPONENT>
|
||||
@ -602,17 +604,19 @@
|
||||
<ROW Action="AI_DOWNGRADE" Condition="AI_NEWERPRODUCTFOUND AND (UILevel <> 5)" Sequence="210"/>
|
||||
<ROW Action="AI_STORE_LOCATION" Condition="(Not Installed) OR REINSTALL" Sequence="1502"/>
|
||||
<ROW Action="AI_PREPARE_UPGRADE" Condition="AI_UPGRADE="No" AND (Not Installed)" Sequence="1399"/>
|
||||
<ROW Action="AI_ResolveKnownFolders" Sequence="53"/>
|
||||
<ROW Action="AI_ResolveKnownFolders" Sequence="55"/>
|
||||
<ROW Action="AI_GetArpIconPath" Sequence="1402"/>
|
||||
<ROW Action="AI_SETMIXINSTLOCATION" Sequence="749"/>
|
||||
<ROW Action="AI_AiBackupImmediate" Sequence="1401"/>
|
||||
<ROW Action="AI_AiBackupRollback" Sequence="1501"/>
|
||||
<ROW Action="AI_AiRestoreDeferred" Sequence="6598"/>
|
||||
<ROW Action="AI_TxtUpdaterInstall" Sequence="5101"/>
|
||||
<ROW Action="AI_EnableDebugLog" Sequence="51"/>
|
||||
<ROW Action="AI_EnableDebugLog" Sequence="53"/>
|
||||
<ROW Action="AI_AiRestoreDeferredImpersonate" Sequence="6599"/>
|
||||
<ROW Action="PowerShellScriptInline" Condition="( Installed AND ( REMOVE = "ALL" OR AI_INSTALL_MODE = "Remove" ) ) AND ( (VersionNT > 501) OR (VersionNT = 501 AND ServicePackLevel >= 2) )" Sequence="6402"/>
|
||||
<ROW Action="AI_DATA_SETTER_1" Condition="( Installed AND ( REMOVE = "ALL" OR AI_INSTALL_MODE = "Remove" ) ) AND ( (VersionNT > 501) OR (VersionNT = 501 AND ServicePackLevel >= 2) )" Sequence="6401"/>
|
||||
<ROW Action="StopSymphony" Condition="( ( Installed AND REMOVE <> "ALL" AND AI_INSTALL_MODE <> "Remove" ) OR ( Installed AND ( REMOVE = "ALL" OR AI_INSTALL_MODE = "Remove" ) ) )" Sequence="52"/>
|
||||
<ROW Action="AI_DATA_SETTER_3" Condition="( ( Installed AND REMOVE <> "ALL" AND AI_INSTALL_MODE <> "Remove" ) OR ( Installed AND ( REMOVE = "ALL" OR AI_INSTALL_MODE = "Remove" ) ) )" Sequence="51"/>
|
||||
</COMPONENT>
|
||||
<COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent">
|
||||
<ROW Action="AI_ResolveKnownFolders" Sequence="53"/>
|
||||
|
Loading…
Reference in New Issue
Block a user