Skip to content

Commit

Permalink
For Windows build, remove *all* DLL's before install, and only install
Browse files Browse the repository at this point in the history
SDL2.dll.
  • Loading branch information
sa666666 committed Oct 7, 2024
1 parent 541245e commit 39356e8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/os/windows/stella.iss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{

[Files]
Source: "{#STELLA_PATH}\Stella.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#STELLA_PATH}\*.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#STELLA_PATH}\SDL*.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#STELLA_DOCPATH}\*"; DestDir: "{app}\docs"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

Expand All @@ -36,5 +36,4 @@ Name: "{group}\Documentation"; Filename: "{app}\docs\index.html"
Name: "{group}\Uninstall Stella"; Filename: "{uninstallexe}"

[InstallDelete]
Type: files; Name: "{app}\msvcp140.dll"
Type: files; Name: "{app}\vcruntime140.dll"
Type: files; Name: "{app}\*.dll"

0 comments on commit 39356e8

Please sign in to comment.