Skip to content

Commit

Permalink
SDA-4562 - Only execute custom action if allowed (#2167)
Browse files Browse the repository at this point in the history
* SDA-4562 - Only run custom action if Privileged

* SDA-4562 - Use Impersonate
  • Loading branch information
KiranNiranjan authored Jun 18, 2024
1 parent eb5b0a4 commit 18c47be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion installer/win/WixSharpInstaller/Symphony.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ static public void Main(string[] args)
// 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
Expand Down

0 comments on commit 18c47be

Please sign in to comment.