Skip to content

Commit

Permalink
added processing of file opening event from context menu for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nethius committed May 11, 2024
1 parent 7da9539 commit 1c89b62
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Component.prototype.createOperations = function()
console.log("Microsoft Visual C++ 2017 Redistributable already installed");
}

component.addElevatedOperation("GlobalConfig", "@Publisher@", "@Title@", "shell\\open\\command", "@TargetDir@\\@[email protected]")

let pu_path = installer.value("TargetDir").replace(/\//g, '\\') + "\\"
component.addElevatedOperation("Execute",
["sc", "create", serviceName(), "binpath=", pu_path + serviceName() + ".exe",
Expand Down

0 comments on commit 1c89b62

Please sign in to comment.