Skip to content

Commit

Permalink
app stopping during uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakseis committed Jun 27, 2021
1 parent 69f915b commit b7e2a06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.iss
Expand Up @@ -40,3 +40,6 @@ Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks:

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

[UninstallRun]
Filename: "{cmd}"; Parameters: "/C ""taskkill /im {#MyAppExeName} /f /t"

0 comments on commit b7e2a06

Please sign in to comment.