Skip to content

Commit

Permalink
allow msi installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jjw24 committed Feb 8, 2021
1 parent 68fca44 commit e7fdaa4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Droplex/Installer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ public static class Installer
/// <exception cref="OperationCanceledException">Thrown when the installation is cancelled or unsuccessful </exception>
public static async Task Install(string filepath, string installArgs)
{
// For the case where path contains a comma
var path = '"' + filepath + '"';

var psi = new ProcessStartInfo
{
UseShellExecute = false,
FileName = filepath,
UseShellExecute = true,
FileName = path,
Arguments = installArgs
};

Expand Down

0 comments on commit e7fdaa4

Please sign in to comment.