You've already forked lazarus-ccr
fpchess: Adds a windows installer and fixes windows compilation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1751 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
56
applications/fpchess/build/innosetup.iss
Normal file
56
applications/fpchess/build/innosetup.iss
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
; Script generated by the Inno Setup Script Wizard.
|
||||||
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
|
|
||||||
|
[Setup]
|
||||||
|
AppName=FPChess
|
||||||
|
AppVerName=FPChess v0.1
|
||||||
|
AppPublisherURL=http://wiki.lazarus.freepascal.org/fpChess
|
||||||
|
AppSupportURL=http://wiki.lazarus.freepascal.org/fpChess
|
||||||
|
AppUpdatesURL=http://wiki.lazarus.freepascal.org/fpChess
|
||||||
|
DefaultDirName={pf}\FPChess
|
||||||
|
DefaultGroupName=Free Pascal Applications Suite
|
||||||
|
; LicenseFile=..\license.txt
|
||||||
|
OutputDir=.\
|
||||||
|
OutputBaseFilename=FPChess0.1_install
|
||||||
|
Compression=lzma
|
||||||
|
SolidCompression=yes
|
||||||
|
VersionInfoVersion=0.1
|
||||||
|
AllowNoIcons=yes
|
||||||
|
|
||||||
|
[Languages]
|
||||||
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
|
||||||
|
Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl"
|
||||||
|
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
|
||||||
|
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
|
||||||
|
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
|
||||||
|
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl"
|
||||||
|
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
|
||||||
|
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"
|
||||||
|
Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl"
|
||||||
|
|
||||||
|
[Tasks]
|
||||||
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
Source: "..\fpchess.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
; Source: "..\lazimageeditor.ini"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
; Source: "..\default.pal"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
; Source: "..\Images\*.svg"; DestDir: "{app}\Images"; Flags: ignoreversion
|
||||||
|
; Source: "..\Images\*.ico"; DestDir: "{app}\Images"; Flags: ignoreversion
|
||||||
|
; Source: "..\Images\*.png"; DestDir: "{app}\Images"; Flags: ignoreversion
|
||||||
|
; Source: "..\libraries\pas_overlays\pas_overlays.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
; Source: "..\libraries\videocard_checker\videocard_checker.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
Name: "{group}\FPChess"; Filename: "{app}\fpchess.exe"
|
||||||
|
Name: "{group}\{cm:ProgramOnTheWeb,FPChess}"; Filename: "http://wiki.lazarus.freepascal.org/fpChess"
|
||||||
|
Name: "{group}\{cm:UninstallProgram,FPChess}"; Filename: "{uninstallexe}"
|
||||||
|
Name: "{commondesktop}\FPChess"; Filename: "{app}\fpchess.exe"; Tasks: desktopicon
|
||||||
|
|
||||||
|
[Run]
|
||||||
|
Filename: "{app}\fpchess.exe"; Description: "{cm:LaunchProgram,FPChess}"; Flags: nowait postinstall skipifsilent
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -5,7 +5,7 @@ unit chessconfig;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils;
|
Classes, SysUtils, Forms;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
@ -16,8 +16,38 @@
|
|||||||
<VersionInfo>
|
<VersionInfo>
|
||||||
<StringTable ProductVersion=""/>
|
<StringTable ProductVersion=""/>
|
||||||
</VersionInfo>
|
</VersionInfo>
|
||||||
<BuildModes Count="1">
|
<BuildModes Count="2">
|
||||||
<Item1 Name="default" Default="True"/>
|
<Item1 Name="debug" Default="True"/>
|
||||||
|
<Item2 Name="release">
|
||||||
|
<CompilerOptions>
|
||||||
|
<Version Value="10"/>
|
||||||
|
<PathDelim Value="\"/>
|
||||||
|
<Target>
|
||||||
|
<Filename Value="fpchess"/>
|
||||||
|
</Target>
|
||||||
|
<SearchPaths>
|
||||||
|
<IncludeFiles Value="$(ProjOutDir)"/>
|
||||||
|
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||||
|
</SearchPaths>
|
||||||
|
<Linking>
|
||||||
|
<Debugging>
|
||||||
|
<UseLineInfoUnit Value="False"/>
|
||||||
|
<StripSymbols Value="True"/>
|
||||||
|
</Debugging>
|
||||||
|
<Options>
|
||||||
|
<Win32>
|
||||||
|
<GraphicApplication Value="True"/>
|
||||||
|
</Win32>
|
||||||
|
</Options>
|
||||||
|
</Linking>
|
||||||
|
<Other>
|
||||||
|
<CompilerMessages>
|
||||||
|
<UseMsgFile Value="True"/>
|
||||||
|
</CompilerMessages>
|
||||||
|
<CompilerPath Value="$(CompPath)"/>
|
||||||
|
</Other>
|
||||||
|
</CompilerOptions>
|
||||||
|
</Item2>
|
||||||
</BuildModes>
|
</BuildModes>
|
||||||
<PublishOptions>
|
<PublishOptions>
|
||||||
<Version Value="2"/>
|
<Version Value="2"/>
|
||||||
|
Reference in New Issue
Block a user