We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9550457 commit c73d47aCopy full SHA for c73d47a
packages/app-builder-lib/templates/nsis/include/allowOnlyOneInstallerInstance.nsh
@@ -64,7 +64,7 @@ Var IsPowerShellAvailable
64
!macroend
65
66
!macro FIND_PROCESS _PATH _FILENAME _RETURN
67
- ${If} $IsPowerShellAvailable == True
+ ${If} $IsPowerShellAvailable == 0
68
nsExec::Exec `"$PowerShellPath" -Command "if ((Get-Process | Where-Object {$$_.Path -and $$_.Path.StartsWith('${_PATH}')}).Count -gt 0) { exit 0 } else { exit 1 }"`
69
Pop ${_RETURN}
70
${Else}
0 commit comments