Update installer to have new binary path
This commit is contained in:
parent
aaa6fc8082
commit
ea199c5546
|
@ -1,5 +1,5 @@
|
||||||
#define BaseDir ExtractFilePath(ExtractFilePath(ExtractFilePath(SourcePath)))
|
#define BaseDir ExtractFilePath(ExtractFilePath(ExtractFilePath(SourcePath)))
|
||||||
#define AppVersion GetFileVersion(BaseDir + "\Bin\" + Configuration + "\Project64.exe")
|
#define AppVersion GetFileVersion(BaseDir + "\Bin\" + Platform + "\" + Configuration + "\Project64.exe")
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
AppId={{BEB5FB69-4080-466F-96C4-F15DF271718B}
|
AppId={{BEB5FB69-4080-466F-96C4-F15DF271718B}
|
||||||
|
@ -7,7 +7,7 @@ AppName=Project64
|
||||||
AppVersion={#AppVersion}
|
AppVersion={#AppVersion}
|
||||||
DefaultDirName={pf32}\Project64 Dev 4.0
|
DefaultDirName={pf32}\Project64 Dev 4.0
|
||||||
VersionInfoVersion={#AppVersion}
|
VersionInfoVersion={#AppVersion}
|
||||||
OutputDir={#BaseDir}\Bin\{#Configuration}
|
OutputDir={#BaseDir}\Bin\{#Platform}\{#Configuration}
|
||||||
OutputBaseFilename=Setup Project64 Dev 4.0
|
OutputBaseFilename=Setup Project64 Dev 4.0
|
||||||
VersionInfoDescription=Installation Setup of Project64 Dev 4.0
|
VersionInfoDescription=Installation Setup of Project64 Dev 4.0
|
||||||
Compression=lzma2/ultra64
|
Compression=lzma2/ultra64
|
||||||
|
@ -23,7 +23,7 @@ SetupIconFile={#BaseDir}\Source\Project64\UserInterface\Icons\pj64.ico
|
||||||
Filename: "{app}\Project64.exe"; Description: "{cm:LaunchProgram,{#StringChange('Project64', '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
Filename: "{app}\Project64.exe"; Description: "{cm:LaunchProgram,{#StringChange('Project64', '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: "{#BaseDir}\Bin\{#Configuration}\Project64.exe"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "{#BaseDir}\Bin\{#Platform}\{#Configuration}\Project64.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "{#BaseDir}\Config\Video.rdb"; DestDir: "{app}\Config"
|
Source: "{#BaseDir}\Config\Video.rdb"; DestDir: "{app}\Config"
|
||||||
Source: "{#BaseDir}\Config\Audio.rdb"; DestDir: "{app}\Config"
|
Source: "{#BaseDir}\Config\Audio.rdb"; DestDir: "{app}\Config"
|
||||||
Source: "{#BaseDir}\Config\Cheats\*.cht"; DestDir: "{app}\Config\Cheats"
|
Source: "{#BaseDir}\Config\Cheats\*.cht"; DestDir: "{app}\Config\Cheats"
|
||||||
|
@ -31,14 +31,14 @@ Source: "{#BaseDir}\Config\Enhancements\*.enh"; DestDir: "{app}\Config\Enhanceme
|
||||||
Source: "{#BaseDir}\Config\Project64.rdb"; DestDir: "{app}\Config"
|
Source: "{#BaseDir}\Config\Project64.rdb"; DestDir: "{app}\Config"
|
||||||
Source: "{#BaseDir}\Config\Project64.rdx"; DestDir: "{app}\Config"
|
Source: "{#BaseDir}\Config\Project64.rdx"; DestDir: "{app}\Config"
|
||||||
Source: "{#BaseDir}\Lang\*.pj.Lang"; DestDir: "{app}\Lang"
|
Source: "{#BaseDir}\Lang\*.pj.Lang"; DestDir: "{app}\Lang"
|
||||||
Source: "{#BaseDir}\Plugin\{#Configuration}\Audio\Jabo_Dsound.dll"; DestDir: "{app}\Plugin\Audio"
|
Source: "{#BaseDir}\Plugin\{#Platform}\Audio\Jabo_Dsound.dll"; DestDir: "{app}\Plugin\Audio"
|
||||||
Source: "{#BaseDir}\Plugin\{#Configuration}\Audio\Project64-Audio.dll"; DestDir: "{app}\Plugin\Audio"
|
Source: "{#BaseDir}\Plugin\{#Platform}\Audio\Project64-Audio.dll"; DestDir: "{app}\Plugin\Audio"
|
||||||
Source: "{#BaseDir}\Plugin\{#Configuration}\GFX\Jabo_Direct3D8.dll"; DestDir: "{app}\Plugin\GFX"
|
Source: "{#BaseDir}\Plugin\{#Platform}\GFX\Jabo_Direct3D8.dll"; DestDir: "{app}\Plugin\GFX"
|
||||||
Source: "{#BaseDir}\Plugin\{#Configuration}\GFX\Project64-Video.dll"; DestDir: "{app}\Plugin\GFX"
|
Source: "{#BaseDir}\Plugin\{#Platform}\GFX\Project64-Video.dll"; DestDir: "{app}\Plugin\GFX"
|
||||||
Source: "{#BaseDir}\Plugin\{#Configuration}\GFX\GLideN64\*"; DestDir: "{app}\Plugin\GFX\GLideN64"; Flags: recursesubdirs skipifsourcedoesntexist
|
Source: "{#BaseDir}\Plugin\{#Platform}\GFX\GLideN64\*"; DestDir: "{app}\Plugin\GFX\GLideN64"; Flags: recursesubdirs skipifsourcedoesntexist
|
||||||
Source: "{#BaseDir}\Plugin\{#Configuration}\Input\PJ64_NRage.dll"; DestDir: "{app}\Plugin\Input"
|
Source: "{#BaseDir}\Plugin\{#Platform}\Input\PJ64_NRage.dll"; DestDir: "{app}\Plugin\Input"
|
||||||
Source: "{#BaseDir}\Plugin\{#Configuration}\Input\Project64-Input.dll"; DestDir: "{app}\Plugin\Input"
|
Source: "{#BaseDir}\Plugin\{#Platform}\Input\Project64-Input.dll"; DestDir: "{app}\Plugin\Input"
|
||||||
Source: "{#BaseDir}\Plugin\{#Configuration}\RSP\Project64-RSP.dll"; DestDir: "{app}\Plugin\RSP"
|
Source: "{#BaseDir}\Plugin\{#Platform}\RSP\Project64-RSP.dll"; DestDir: "{app}\Plugin\RSP"
|
||||||
Source: "{#BaseDir}\Scripts\example.js"; DestDir: "{app}\Scripts"
|
Source: "{#BaseDir}\Scripts\example.js"; DestDir: "{app}\Scripts"
|
||||||
Source: "{#BaseDir}\Scripts\api_documentation.js"; DestDir: "{app}\Scripts"
|
Source: "{#BaseDir}\Scripts\api_documentation.js"; DestDir: "{app}\Scripts"
|
||||||
Source: "{#BaseDir}\JS-API-Documentation.html"; DestDir: "{app}"
|
Source: "{#BaseDir}\JS-API-Documentation.html"; DestDir: "{app}"
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
<Command>"$(Root)bin\Inno Setup\ISCC.exe" /dConfiguration="$(Configuration)" "%(Filename).iss"</Command>
|
<Command>"$(Root)bin\Inno Setup\ISCC.exe" /dConfiguration="$(Configuration)" "%(Filename).iss"</Command>
|
||||||
<AdditionalInputs>$(OutDir)Project64.exe;%(AdditionalInputs)</AdditionalInputs>
|
<AdditionalInputs>$(OutDir)Project64.exe;%(AdditionalInputs)</AdditionalInputs>
|
||||||
<Outputs>$(OutDir)Setup Project64 2.2.exe;%(Outputs)</Outputs>
|
<Outputs>$(OutDir)Setup Project64 2.2.exe;%(Outputs)</Outputs>
|
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(Root)bin\Inno Setup\ISCC.exe" /dConfiguration="$(Configuration)" /dPlatform="$(Platform)" "%(Filename).iss"</Command>
|
||||||
</CustomBuild>
|
</CustomBuild>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -12,6 +12,7 @@ before_build:
|
||||||
$version = Source/Script/SetGitProperties.cmd
|
$version = Source/Script/SetGitProperties.cmd
|
||||||
appveyor UpdateBuild -Version $version
|
appveyor UpdateBuild -Version $version
|
||||||
}
|
}
|
||||||
|
- git submodule update --init --recursive
|
||||||
build:
|
build:
|
||||||
project: Project64.sln
|
project: Project64.sln
|
||||||
parallel: true
|
parallel: true
|
||||||
|
|
Loading…
Reference in New Issue