mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-22 21:09:52 +00:00
Add InnoSetup script to make a basic installer.
Adds a redist submodule where the installer can get the VC redists.
This commit is contained in:
parent
6c45549363
commit
d53a8208d3
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -13,3 +13,6 @@
|
||||
[submodule "dx9sdk"]
|
||||
path = dx9sdk
|
||||
url = https://github.com/hrydgard/minidx9.git
|
||||
[submodule "redist"]
|
||||
path = redist
|
||||
url = https://github.com/hrydgard/ppsspp-redist.git
|
||||
|
2
notinstalled.txt
Normal file
2
notinstalled.txt
Normal file
@ -0,0 +1,2 @@
|
||||
This gets renamed to "installed.txt" in the installer.
|
||||
Tells PPSSPP to consider itself installed and to not write data files into its own directory.
|
41
ppsspp.iss
Normal file
41
ppsspp.iss
Normal file
@ -0,0 +1,41 @@
|
||||
[Setup]
|
||||
AppName={cm:AppName}
|
||||
AppVersion=0.9.5
|
||||
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
|
||||
UninstallDisplayIcon={app}\PPSSPPWindows.exe
|
||||
OutputDir=.
|
||||
UsePreviousLanguage=no
|
||||
|
||||
[CustomMessages]
|
||||
AppName=PPSSPP
|
||||
LaunchProgram=Start PPSSPP after finishing installation
|
||||
|
||||
[Files]
|
||||
Source: "PPSSPPWindows.exe"; DestDir: "{app}"
|
||||
Source: "README.md"; DestName: "README.txt"; DestDir: "{app}"; Flags: isreadme
|
||||
Source: "notinstalled.txt"; DestName: "installed.txt"; DestDir: "{app}";
|
||||
Source: "assets\ppge_atlas.zim"; DestDir: "{app}\assets"
|
||||
Source: "assets\ui_atlas.zim"; DestDir: "{app}\assets"
|
||||
Source: "lang\*.ini"; DestDir: "{app}\lang"
|
||||
Source: "flash0\font\*.*"; DestDir: "{app}\flash0\font"
|
||||
Source: "redist/vcredist_x86.exe"; DestDir: {tmp}
|
||||
|
||||
[Run]
|
||||
Filename: {tmp}\vcredist_x86.exe; Parameters: "/passive /Q:a /c:""msiexec /qb /i vcredist.msi"" "; StatusMsg: Installing 2010 RunTime...
|
||||
; Hm, I wonder if we need to manually delete vcredist_x86.exe as well.
|
||||
Filename: {app}\PPSSPPWindows.exe; Description: {cm:LaunchProgram,{cm:AppName}}; Flags: nowait postinstall skipifsilent
|
||||
|
||||
[Icons]
|
||||
Name: "{commonprograms}\PPSSPP"; Filename: "{app}\PPSSPPWindows.exe"
|
||||
|
||||
[Code]
|
||||
begin
|
||||
|
||||
if (not isUninstaller()) then begin
|
||||
SaveStringToFile(ExpandFilename('installed.txt'), 'Installed' + #13#10, False);
|
||||
end
|
||||
|
||||
end.
|
1
redist
Submodule
1
redist
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 9d7d3ec5a0f8ddbeede4562627b6efb5c0b94e8e
|
Loading…
Reference in New Issue
Block a user