From cfa76c89955e4574170060ff52d3a0afd6573260 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 1 Mar 2023 19:56:49 -0500 Subject: [PATCH] Delete previous start menu shortcut during installation This is left over from the previous installer version if the uninstaller is not run first, due to moving the shortcut location in 70033e11b59dcbb7aa6b1ad3c2df1d11a27dd591 --- innosetup/runelite.iss | 2 ++ innosetup/runelite32.iss | 2 ++ 2 files changed, 4 insertions(+) diff --git a/innosetup/runelite.iss b/innosetup/runelite.iss index 1d2f4d0a..18c61428 100644 --- a/innosetup/runelite.iss +++ b/innosetup/runelite.iss @@ -45,6 +45,8 @@ Filename: "{app}\RuneLite.exe"; Description: "&Open RuneLite"; Flags: postinstal [InstallDelete] ; Delete the old jvm so it doesn't try to load old stuff with the new vm and crash Type: filesandordirs; Name: "{app}\jre" +; previous shortcut +Type: files; Name: "{userprograms}\RuneLite.lnk" [UninstallDelete] Type: filesandordirs; Name: "{%USERPROFILE}\.runelite\repository2" diff --git a/innosetup/runelite32.iss b/innosetup/runelite32.iss index f0ea7d05..67a19d3a 100644 --- a/innosetup/runelite32.iss +++ b/innosetup/runelite32.iss @@ -45,6 +45,8 @@ Filename: "{app}\RuneLite.exe"; Description: "&Open RuneLite"; Flags: postinstal [InstallDelete] ; Delete the old jvm so it doesn't try to load old stuff with the new vm and crash Type: filesandordirs; Name: "{app}\jre" +; previous shortcut +Type: files; Name: "{userprograms}\RuneLite.lnk" [UninstallDelete] Type: filesandordirs; Name: "{%USERPROFILE}\.runelite\repository2"