Skip to content

Commit

Permalink
add deletion of previous files to the windows installer
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-101 committed Oct 20, 2018
1 parent 2bddde3 commit c06db64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions win/treeline-all.iss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Name: "adduninstall"; Description: "Create an uninstaller"
Name: "translate"; Description: "Include language translations"
Name: "source"; Description: "Include source code"

[InstallDelete]
Type: files; Name: "{app}\*.dll"
Type: filesandordirs; Name: "{app}\imageformats"
Type: filesandordirs; Name: "{app}\lib"
Type: filesandordirs; Name: "{app}\platforms"

[Files]
Source: "treeline.exe"; DestDir: "{app}"
Source: "base_library.zip"; DestDir: "{app}"
Expand Down
6 changes: 6 additions & 0 deletions win/treeline-user.iss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Name: "adduninstall"; Description: "Create an uninstaller"
Name: "translate"; Description: "Include language translations"
Name: "source"; Description: "Include source code"

[InstallDelete]
Type: files; Name: "{app}\*.dll"
Type: filesandordirs; Name: "{app}\imageformats"
Type: filesandordirs; Name: "{app}\lib"
Type: filesandordirs; Name: "{app}\platforms"

[Files]
Source: "treeline.exe"; DestDir: "{app}"
Source: "base_library.zip"; DestDir: "{app}"
Expand Down

0 comments on commit c06db64

Please sign in to comment.