fix(ci-installer): remove setup icon dependency for ISCC
- build Inno installer without SetupIconFile to avoid code 2 failures in runner - drop MyIconFile define and pass only essential defines - make task description ASCII-only to avoid encoding issues
This commit is contained in:
1
build.py
1
build.py
@@ -206,7 +206,6 @@ def build_installer():
|
|||||||
f"/DMyAppVersion={VERSION}",
|
f"/DMyAppVersion={VERSION}",
|
||||||
f"/DMySourceDir={os.path.abspath(DIST_DIR)}",
|
f"/DMySourceDir={os.path.abspath(DIST_DIR)}",
|
||||||
f"/DMyOutputDir={os.path.abspath('dist')}",
|
f"/DMyOutputDir={os.path.abspath('dist')}",
|
||||||
f"/DMyIconFile={icon_abs_path}",
|
|
||||||
os.path.abspath(INSTALLER_SCRIPT),
|
os.path.abspath(INSTALLER_SCRIPT),
|
||||||
]
|
]
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -8,9 +8,6 @@
|
|||||||
#ifndef MyOutputDir
|
#ifndef MyOutputDir
|
||||||
#define MyOutputDir "..\\dist"
|
#define MyOutputDir "..\\dist"
|
||||||
#endif
|
#endif
|
||||||
#ifndef MyIconFile
|
|
||||||
#define MyIconFile "..\\icon.ico"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
AppId={{6CD9D6F2-4B95-4E9C-A8D8-2A9C8F6AA741}
|
AppId={{6CD9D6F2-4B95-4E9C-A8D8-2A9C8F6AA741}
|
||||||
@@ -28,14 +25,13 @@ SolidCompression=yes
|
|||||||
WizardStyle=modern
|
WizardStyle=modern
|
||||||
ArchitecturesInstallIn64BitMode=x64compatible
|
ArchitecturesInstallIn64BitMode=x64compatible
|
||||||
UninstallDisplayIcon={app}\AnabasisManager.exe
|
UninstallDisplayIcon={app}\AnabasisManager.exe
|
||||||
SetupIconFile={#MyIconFile}
|
|
||||||
|
|
||||||
[Languages]
|
[Languages]
|
||||||
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
|
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
|
||||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
|
||||||
[Tasks]
|
[Tasks]
|
||||||
Name: "desktopicon"; Description: "Создать ярлык на рабочем столе"; GroupDescription: "Дополнительные задачи:"
|
Name: "desktopicon"; Description: "Create a desktop shortcut"; GroupDescription: "Additional tasks:"
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: "{#MySourceDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
Source: "{#MySourceDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
|||||||
Reference in New Issue
Block a user