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"/DMySourceDir={os.path.abspath(DIST_DIR)}",
|
||||
f"/DMyOutputDir={os.path.abspath('dist')}",
|
||||
f"/DMyIconFile={icon_abs_path}",
|
||||
os.path.abspath(INSTALLER_SCRIPT),
|
||||
]
|
||||
try:
|
||||
|
||||
@@ -8,9 +8,6 @@
|
||||
#ifndef MyOutputDir
|
||||
#define MyOutputDir "..\\dist"
|
||||
#endif
|
||||
#ifndef MyIconFile
|
||||
#define MyIconFile "..\\icon.ico"
|
||||
#endif
|
||||
|
||||
[Setup]
|
||||
AppId={{6CD9D6F2-4B95-4E9C-A8D8-2A9C8F6AA741}
|
||||
@@ -28,14 +25,13 @@ SolidCompression=yes
|
||||
WizardStyle=modern
|
||||
ArchitecturesInstallIn64BitMode=x64compatible
|
||||
UninstallDisplayIcon={app}\AnabasisManager.exe
|
||||
SetupIconFile={#MyIconFile}
|
||||
|
||||
[Languages]
|
||||
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
|
||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "Создать ярлык на рабочем столе"; GroupDescription: "Дополнительные задачи:"
|
||||
Name: "desktopicon"; Description: "Create a desktop shortcut"; GroupDescription: "Additional tasks:"
|
||||
|
||||
[Files]
|
||||
Source: "{#MySourceDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
|
||||
Reference in New Issue
Block a user