summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--win32/installer/hexchat-x64.skel.iss1
-rw-r--r--win32/installer/hexchat-x86.skel.iss1
2 files changed, 2 insertions, 0 deletions
diff --git a/win32/installer/hexchat-x64.skel.iss b/win32/installer/hexchat-x64.skel.iss
index f198487b..0f175cad 100644
--- a/win32/installer/hexchat-x64.skel.iss
+++ b/win32/installer/hexchat-x64.skel.iss
@@ -260,6 +260,7 @@ begin
 			begin

 				UnInstallOldVersion();

 			end;

+			DeleteFile(ExpandConstant('{app}\portable-mode'));

 		end;

 	end;

 end;

diff --git a/win32/installer/hexchat-x86.skel.iss b/win32/installer/hexchat-x86.skel.iss
index da7d900b..45ce964c 100644
--- a/win32/installer/hexchat-x86.skel.iss
+++ b/win32/installer/hexchat-x86.skel.iss
@@ -261,6 +261,7 @@ begin
 			begin

 				UnInstallOldVersion();

 			end;

+			DeleteFile(ExpandConstant('{app}\portable-mode'));

 		end;

 	end;

 end;