mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-4562 - Only execute custom action if allowed (#2167)
* SDA-4562 - Only run custom action if Privileged * SDA-4562 - Use Impersonate
This commit is contained in:
parent
eb5b0a46c8
commit
18c47be053
@ -176,7 +176,8 @@ class Script
|
||||
// This custom action is to remove any registry entries from HKEY_CURRENT_USER if exists
|
||||
new ManagedAction(CustomActions.CleanNSISRegistryForCurrentUser, Return.check, When.Before, Step.LaunchConditions, Condition.Always )
|
||||
{
|
||||
UsesProperties = "INSTALLDIR"
|
||||
UsesProperties = "INSTALLDIR",
|
||||
Impersonate = true
|
||||
},
|
||||
|
||||
// InstallVariant
|
||||
|
Loading…
Reference in New Issue
Block a user