Skip to content

Commit 63d0078

Browse files
author
Ross Knudsen
committed
Changed uninstall to remove only specific application files leaving user configuration behind.
1 parent 9422638 commit 63d0078

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Installer Build Script.iss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ Source: "{#BuildDir}\NativeBinaries\x86\*"; DestDir: "{app}"; Flags: ignoreversi
4747
Source: "{#BuildDir}\{#AddinDLL}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is32BitOfficeInstalled; AfterInstall: RegisterAddin
4848

4949
[UninstallDelete]
50-
; TODO we may not want to delete everything?...
51-
Name: {app}; Type: filesandordirs
50+
; Removing all application files (except for configuration).
51+
Name: "{app}\*.dll"; Type: filesandordirs
52+
Name: "{app}\*.xml"; Type: filesandordirs
53+
Name: "{app}\*.pdb"; Type: filesandordirs
5254

5355
[Run]
5456
; http://stackoverflow.com/questions/5618337/how-to-register-a-net-dll-using-inno-setup

0 commit comments

Comments
 (0)