Skip to content

Commit

Permalink
SDA-4562 - Use command instead of shellExecute
Browse files Browse the repository at this point in the history
  • Loading branch information
KiranNiranjan committed May 23, 2024
1 parent 7376d9f commit 75d7393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/win/WixSharpInstaller/Symphony.cs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ public static ActionResult CleanNSISRegistryForCurrentUser(Session session)
// Start the uninstallation process
var process = new System.Diagnostics.Process();
process.StartInfo.FileName = "cmd.exe";
process.StartInfo.Arguments = $"/c \"{uninstallString}\"";
process.StartInfo.Arguments = string.Format("/c \"{0}\"", uninstallString);
process.StartInfo.UseShellExecute = false;
process.Start();
process.WaitForExit();
Expand Down

0 comments on commit 75d7393

Please sign in to comment.