Skip to content

Commit

Permalink
Delete previous start menu shortcut during installation
Browse files Browse the repository at this point in the history
This is left over from the previous installer version if the uninstaller
is not run first, due to moving the shortcut location in 70033e1
  • Loading branch information
Adam- committed Mar 2, 2023
1 parent 3d7d70e commit cfa76c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions innosetup/runelite.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions innosetup/runelite32.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cfa76c8

Please sign in to comment.