Skip to content

Commit e8bc52e

Browse files
author
Henri Wahl
committed
innosetup again... Part VI ignoreversion
1 parent 02b72ce commit e8bc52e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

build/windows/nagstamon.iss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,15 @@ CloseApplications=no
2727
Name: {group}\Nagstamon; Filename: {app}\nagstamon.exe; WorkingDir: {app}; IconFilename: {app}\resources\nagstamon.ico; IconIndex: 0
2828
Name: {commonstartup}\Nagstamon; Filename: {app}\nagstamon.exe; WorkingDir: {app}; IconFilename: {app}\resources\nagstamon.ico; IconIndex: 0
2929
[Files]
30-
Source: "*"; DestDir: {app}; Flags: recursesubdirs createallsubdirs; BeforeInstall: KillRunningNagstamon()
30+
Source: "*"; DestDir: {app}; Flags: recursesubdirs createallsubdirs ignoreversion; BeforeInstall: KillRunningNagstamon()
3131
[Tasks]
3232
Name: RunAfterInstall; Description: Run Nagstamon after installation
3333
[Run]
3434
Filename: {app}\nagstamon.exe; Flags: shellexec skipifsilent nowait; Tasks: RunAfterInstall
35-
[InstallDelete]
36-
Name: "{app}\*Qt*"; Type: filesandordirs
3735
[Code]
3836
procedure KillRunningNagstamon();
3937
var
4038
ReturnCode: Integer;
4139
begin
42-
Exec(ExpandConstant('taskkill.exe'), '/f /t /im nagstamon.exe', '', SW_HIDE, ewWaitUntilIdle, ReturnCode);
40+
Exec(ExpandConstant('taskkill.exe'), '/f /t /im nagstamon.exe', '', SW_HIDE, ewWaitUntilTerminated, ReturnCode);
4341
end;

0 commit comments

Comments
 (0)