mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 19:50:45 +00:00
Update to use Inno Setup v6 instead of v5. Changes command line, installer languages available.
This commit is contained in:
parent
67f9928217
commit
817d5603c1
@ -14,8 +14,8 @@ installed at any location.
|
|||||||
|
|
||||||
The following programs and files are required to create Windows installers:
|
The following programs and files are required to create Windows installers:
|
||||||
|
|
||||||
- Inno Setup 5.6.1 from <http://www.jrsoftware.org/isdl.php>. Download and
|
- Inno Setup 6.0.2 from <http://www.jrsoftware.org/isdl.php>. Download and
|
||||||
install innosetup-qsp-5.6.1-unicode.exe.
|
install innosetup-qsp-6.0.2.exe.
|
||||||
|
|
||||||
- GIT for windows, from <https://gitforwindows.org/>. GIT for Windows adds
|
- GIT for windows, from <https://gitforwindows.org/>. GIT for Windows adds
|
||||||
itself to your path.
|
itself to your path.
|
||||||
@ -28,15 +28,13 @@ The following programs and files are required to create Windows installers:
|
|||||||
- QT Open Source edition from <https://www.qt.io/download>. I use version
|
- QT Open Source edition from <https://www.qt.io/download>. I use version
|
||||||
5.12.2. More recent versions may also work but I have not tested any.
|
5.12.2. More recent versions may also work but I have not tested any.
|
||||||
|
|
||||||
**Installing Inno Setup 5**
|
**Installing Inno Setup 6**
|
||||||
|
|
||||||
Inno Setup 5.6.1 is found on <http://www.jrsoftware.org/isdl.php>. Download and
|
Inno Setup 6.0.2 is found on <http://www.jrsoftware.org/isdl.php>. Download and
|
||||||
install innosetup-qsp-5.6.1-unicode.exe. Do not download 6.x versions. They are
|
install innosetup-qsp-6.0.2.exe.
|
||||||
still in beta as this is written, and changes to the installer script may be
|
|
||||||
required.
|
|
||||||
|
|
||||||
The deployment batch file assumes that Inno Setup is installed into its default
|
The deployment batch file assumes that Inno Setup is installed into its default
|
||||||
location: C:\\Program Files (x86)\\Inno Setup 5. If you put it somewhere else,
|
location: C:\\Program Files (x86)\\Inno Setup 6. If you put it somewhere else,
|
||||||
you will have to change the batch file.
|
you will have to change the batch file.
|
||||||
|
|
||||||
Run the installer, accepting options to install inno script studio (for possible
|
Run the installer, accepting options to install inno script studio (for possible
|
||||||
@ -107,7 +105,7 @@ installer:
|
|||||||
|
|
||||||
And complete the installation (this also takes a while).
|
And complete the installation (this also takes a while).
|
||||||
|
|
||||||
**Getting Started Developing Oscar in QT**
|
**Getting Started Developing Oscar in QT Creator**
|
||||||
|
|
||||||
In browser, log into your account at gitlab.com. Select the Oscar project at
|
In browser, log into your account at gitlab.com. Select the Oscar project at
|
||||||
https://gitlab.com/pholy/OSCAR-code. Clone a copy of the repository to a
|
https://gitlab.com/pholy/OSCAR-code. Clone a copy of the repository to a
|
||||||
@ -150,10 +148,12 @@ Now you should be able to build the OSCAR project from the QT Build menu.
|
|||||||
To make 32-bit or 64-bit builds, just make sure the correct Build item is
|
To make 32-bit or 64-bit builds, just make sure the correct Build item is
|
||||||
selected in the Build & Run section on the left.
|
selected in the Build & Run section on the left.
|
||||||
|
|
||||||
If you prefer to build from the command line and not use QT Creator, a
|
**Compiling and building from the command line**
|
||||||
batch script buildall.bat will build and create installers for both 32-bit
|
|
||||||
and 64-bit versions of Windows. This script has some hard-coded paths, so
|
If you prefer to build from the command line and not use QT Creator, a batch
|
||||||
will need to be modified for your system configuration.
|
script buildall.bat will build and create installers for both 32-bit and 64-bit
|
||||||
|
versions of Windows. This script has some hard-coded paths, so will need to be
|
||||||
|
modified for your system configuration.
|
||||||
|
|
||||||
**The Deploy.BAT file**
|
**The Deploy.BAT file**
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
::: to the file name of the installer.
|
::: to the file name of the installer.
|
||||||
:::
|
:::
|
||||||
::: Requirements:
|
::: Requirements:
|
||||||
::: Inno Setup - http://www.jrsoftware.org/isinfo.php, installed to default Program Files (x86) location
|
::: Inno Setup 6 - http://www.jrsoftware.org/isinfo.php, installed to default Program Files (x86) location
|
||||||
::: gawk - somewhere in the PATH or in Git for Windows installed in its default lolcation
|
::: gawk - somewhere in the PATH or in Git for Windows installed in its default lolcation
|
||||||
:::
|
:::
|
||||||
::: Deploy.bat resides in .../OSCAR-code/Nuilding/Windows, along with
|
::: Deploy.bat resides in .../OSCAR-code/Nuilding/Windows, along with
|
||||||
@ -95,5 +95,5 @@ if exist Translations\*.ts del /q Translations\*.ts
|
|||||||
|
|
||||||
::: Create installer
|
::: Create installer
|
||||||
cd ..
|
cd ..
|
||||||
:::"%ProgramFiles(x86)%\Inno Setup 5\compil32" /cc BuildInstall.iss
|
:::"%ProgramFiles(x86)%\Inno Setup 6\compil32" /cc BuildInstall.iss
|
||||||
"%ProgramFiles(x86)%\Inno Setup 5\iscc" /Q BuildInstall.iss
|
"%ProgramFiles(x86)%\Inno Setup 6\iscc" /Q BuildInstall.iss
|
Loading…
Reference in New Issue
Block a user