| 1 |
Customize and Build the Windows Installer |
| 2 |
========================================= |
| 3 |
|
| 4 |
Translations |
| 5 |
------------ |
| 6 |
|
| 7 |
Most of the translations for the installer are taken directly from the |
| 8 |
installer generator Inno Setup (http://www.jrsoftware.org/isinfo.php). |
| 9 |
|
| 10 |
You can add translations for CopyQ-specific messages in |
| 11 |
``shared/copyq.iss``. Just copy lines starting with ``en.`` from |
| 12 |
``[Custom Messages]`` section and change prefix to ``de.`` (for german |
| 13 |
translation). |
| 14 |
|
| 15 |
Modify and Test Installation |
| 16 |
---------------------------- |
| 17 |
|
| 18 |
Normally the installation file is generated automatically by CI |
| 19 |
which creates a portable app folder from build files and runs Inno Setup. |
| 20 |
|
| 21 |
You don't have to build the app again, you just need: |
| 22 |
|
| 23 |
1. Download the unzipped portable version of the app. |
| 24 |
2. Clone of this repository. |
| 25 |
3. Install `Inno Setup <http://www.jrsoftware.org/isinfo.php>`__. |
| 26 |
4. Open |
| 27 |
`shared/copyq.iss <https://github.com/hluk/CopyQ/blob/master/shared/copyq.iss>`__ |
| 28 |
in Inno Setup and add few lines at the beginning of the file. |
| 29 |
|
| 30 |
:: |
| 31 |
|
| 32 |
#define AppVersion 2.8.1-beta |
| 33 |
#define Source C:\path\to\CopyQ-repository-clone |
| 34 |
#define Destination C:\path\to\CopyQ-portable |
| 35 |
|
| 36 |
You should now be able to modify the file in Inno Setup and run it |
| 37 |
easily. |