Skip to content

Commit

Permalink
innosetup: set ignoreversion on exe/dll
Browse files Browse the repository at this point in the history
By default innosetup only replaces files with an older version, but our dll/exe is not versioned

See the remarks section of https://jrsoftware.org/ishelp/index.php?topic=filessection
  • Loading branch information
Adam- committed Jan 27, 2024
1 parent d141e3f commit 347d830
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions innosetup/runelite.iss
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ OutputBaseFilename=RuneLiteSetup
Name: DesktopIcon; Description: "Create a &desktop icon";

[Files]
Source: "${basedir}\build\win-x64\RuneLite.exe"; DestDir: "{app}"
Source: "${basedir}\build\win-x64\RuneLite.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "${basedir}\build\win-x64\RuneLite.jar"; DestDir: "{app}"
Source: "${basedir}\build\win-x64\launcher_amd64.dll"; DestDir: "{app}"
Source: "${basedir}\build\win-x64\launcher_amd64.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "${basedir}\build\win-x64\config.json"; DestDir: "{app}"
Source: "${basedir}\build\win-x64\jre\*"; DestDir: "{app}\jre"; Flags: recursesubdirs

Expand Down
4 changes: 2 additions & 2 deletions innosetup/runelite32.iss
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ OutputBaseFilename=RuneLiteSetup32
Name: DesktopIcon; Description: "Create a &desktop icon";

[Files]
Source: "${basedir}\build\win-x86\RuneLite.exe"; DestDir: "{app}"
Source: "${basedir}\build\win-x86\RuneLite.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "${basedir}\build\win-x86\RuneLite.jar"; DestDir: "{app}"
Source: "${basedir}\build\win-x86\launcher_x86.dll"; DestDir: "{app}"
Source: "${basedir}\build\win-x86\launcher_x86.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "${basedir}\build\win-x86\config.json"; DestDir: "{app}"
Source: "${basedir}\build\win-x86\jre\*"; DestDir: "{app}\jre"; Flags: recursesubdirs

Expand Down
4 changes: 2 additions & 2 deletions innosetup/runeliteaarch64.iss
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ OutputBaseFilename=RuneLiteSetupAArch64
Name: DesktopIcon; Description: "Create a &desktop icon";

[Files]
Source: "${basedir}\build\win-aarch64\RuneLite.exe"; DestDir: "{app}"
Source: "${basedir}\build\win-aarch64\RuneLite.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "${basedir}\build\win-aarch64\RuneLite.jar"; DestDir: "{app}"
Source: "${basedir}\build\win-aarch64\launcher_aarch64.dll"; DestDir: "{app}"
Source: "${basedir}\build\win-aarch64\launcher_aarch64.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "${basedir}\build\win-aarch64\config.json"; DestDir: "{app}"
Source: "${basedir}\build\win-aarch64\jre\*"; DestDir: "{app}\jre"; Flags: recursesubdirs

Expand Down

0 comments on commit 347d830

Please sign in to comment.