Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer Enhancement for Windows #18381

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Classic.bmp
Binary file not shown.
Binary file added ppsspp.ico
Binary file not shown.
24 changes: 21 additions & 3 deletions ppsspp.iss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[Languages]
Name: "en"; MessagesFile: "compiler:Default.isl"
Name: "ar"; MessagesFile: "compiler:Languages\Armenian.islu"
Name: "ar"; MessagesFile: "compiler:Languages\Armenian.isl"
Name: "br"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
Name: "ca"; MessagesFile: "compiler:Languages\Catalan.isl"
Name: "co"; MessagesFile: "compiler:Languages\Corsican.isl"
Expand Down Expand Up @@ -39,6 +39,15 @@ AppName={#ApplicationName}
; Installer - version
VersionInfoVersion={#ApplicationVersion}

; Detect system language
LanguageDetectionMethod=uilanguage
; Disable the language selection box (Avoids the invisible icon bug)
ShowLanguageDialog=no

; Sets a Bitmat image to the top right corner
WizardSmallImageFile=ppsspp_small.bmp
WizardImageFile=Classic.bmp

; Programs and Features - Name
AppVerName={#ApplicationName}
; Programs and Features - Version
Expand All @@ -55,7 +64,12 @@ AppUpdatesURL=https://www.ppsspp.org/downloads.html
DefaultDirName={pf}\PPSSPP
; Since no icons will be created in "{group}", we don't need the wizard
; to ask for a Start Menu folder name:
DisableProgramGroupPage=yes
DisableProgramGroupPage=no
DefaultGroupName={#ApplicationName}
; Disable the install option in the start menu
AllowNoIcons=yes
; Sets the installer icon
SetupIconFile=ppsspp.ico
UninstallDisplayIcon={app}\PPSSPPWindows.exe
; Detect the correct directory for Program Files x86/64
ArchitecturesInstallIn64BitMode=x64
Expand All @@ -65,6 +79,9 @@ OutputBaseFilename={#ApplicationName}_{#ApplicationVersion}_Setup
; ... in the same directory
OutputDir=.

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "PPSSPPWindows.exe"; DestDir: "{app}"
Source: "PPSSPPWindows64.exe"; DestDir: "{app}"; Check: IsWin64
Expand All @@ -89,4 +106,5 @@ Filename: {app}\PPSSPPWindows64.exe; Description: {cm:LaunchProgram,{#Applicatio
[Icons]
Name: "{commonprograms}\PPSSPP"; Filename: "{app}\PPSSPPWindows.exe"; Check: not IsWin64
Name: "{commonprograms}\PPSSPP"; Filename: "{app}\PPSSPPWindows64.exe"; Check: IsWin64

Name: "{autodesktop}\PPSSPP"; Filename: "{app}\PPSSPPWindows.exe"; Tasks: desktopicon; Check: not IsWin64
Name: "{autodesktop}\PPSSPP"; Filename: "{app}\PPSSPPWindows64.exe"; Tasks: desktopicon; Check: IsWin64
Binary file added ppsspp_small.bmp
Binary file not shown.