【783】|【203】版本
This commit is contained in:
parent
3275d16e3a
commit
a24a977dec
@ -1,8 +1,8 @@
|
|||||||
;iss
|
;iss
|
||||||
|
|
||||||
; 构建时间:2025-8-18 10:28:45
|
; 构建时间:1.0.20 => 2025-8-18 17:29:09
|
||||||
#define MyAppName "模型管理"
|
#define MyAppName "模型管理"
|
||||||
#define MyAppVersion "v1.0.19"
|
#define MyAppVersion "1.0.20"
|
||||||
#define MyAppPublisher "X"
|
#define MyAppPublisher "X"
|
||||||
#define MyAppURL "~"
|
#define MyAppURL "~"
|
||||||
#define MyAppExeName "model"
|
#define MyAppExeName "model"
|
||||||
@ -26,8 +26,9 @@ Password={#InstallPassword}
|
|||||||
; 是否加密
|
; 是否加密
|
||||||
Encryption=yes
|
Encryption=yes
|
||||||
; ICO图标
|
; ICO图标
|
||||||
SetupIconFile={#MyAppResources}\icon.ico
|
;SetupIconFile={#MyAppResources}\icon.ico
|
||||||
VersionInfoProductVersion=1.0.0
|
VersionInfoVersion={#MyAppVersion}
|
||||||
|
VersionInfoProductVersion={#MyAppVersion}
|
||||||
VersionInfoCompany=
|
VersionInfoCompany=
|
||||||
VersionInfoDescription={#MyAppName}服务
|
VersionInfoDescription={#MyAppName}服务
|
||||||
VersionInfoCopyright=CopyRight © 2025
|
VersionInfoCopyright=CopyRight © 2025
|
||||||
@ -66,7 +67,9 @@ Name: "Chinese"; MessagesFile: "compiler:Languages\Chinese.isl"
|
|||||||
;; 任务
|
;; 任务
|
||||||
[Tasks]
|
[Tasks]
|
||||||
; 是否创建桌面图标
|
; 是否创建桌面图标
|
||||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
; checkablealone 默认选中
|
||||||
|
; unchecked 默认不选中
|
||||||
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: checkablealone
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -93,8 +96,8 @@ Name: Starter; Description: {#MyAppName} 启动; Types: full;
|
|||||||
Name: UI; Description: {#MyAppName} UI; Types: full mini;
|
Name: UI; Description: {#MyAppName} UI; Types: full mini;
|
||||||
Name: Server; Description: {#MyAppName} Server; Types: full mini;
|
Name: Server; Description: {#MyAppName} Server; Types: full mini;
|
||||||
|
|
||||||
Name: MySQL/BIN; Description: MySQL数据库; Types: full; Flags: checkablealone
|
Name: MySQL_BIN; Description: MySQL数据库; Types: full; Flags: checkablealone
|
||||||
Name: MySQL/DATA; Description: {#MyAppName} Data; Types: full;
|
Name: MySQL_DATA; Description: {#MyAppName} Data; Types: full;
|
||||||
|
|
||||||
Name: USR; Description: 运行时环境; Types: full mini; Flags: checkablealone
|
Name: USR; Description: 运行时环境; Types: full mini; Flags: checkablealone
|
||||||
Name: JDK21; Description: JDK 21 运行时环境; Types: full; Flags: checkablealone
|
Name: JDK21; Description: JDK 21 运行时环境; Types: full; Flags: checkablealone
|
||||||
@ -130,8 +133,8 @@ Source: "{#MyAppResources}\usr\*"; DestDir: "{app}\usr\"; Flags: ignoreversion r
|
|||||||
Source: "{#MyAppResources}\java\*"; DestDir: "{app}\jre"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: JDK21;
|
Source: "{#MyAppResources}\java\*"; DestDir: "{app}\jre"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: JDK21;
|
||||||
|
|
||||||
; 数据库依赖
|
; 数据库依赖
|
||||||
Source: "{#MyAppResources}\database\ProgramData\*"; DestDir: "{commonappdata}\MySQL"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: MySQL/DATA;
|
Source: "{#MyAppResources}\database\ProgramData\*"; DestDir: "{commonappdata}\MySQL"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: MySQL_DATA;
|
||||||
Source: "{#MyAppResources}\database\ProgramFiles\*"; DestDir: "{pf}\MySQL"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: MySQL/BIN;
|
Source: "{#MyAppResources}\database\ProgramFiles\*"; DestDir: "{pf}\MySQL"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: MySQL_BIN;
|
||||||
|
|
||||||
; MinIO 服务(通用服务)
|
; MinIO 服务(通用服务)
|
||||||
Source: "{#MyAppResources}\io\*"; DestDir: "{app}\io"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: IO;
|
Source: "{#MyAppResources}\io\*"; DestDir: "{app}\io"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: IO;
|
||||||
@ -178,19 +181,19 @@ Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environmen
|
|||||||
|
|
||||||
;; MySQL环境变量(注册服务使用)
|
;; MySQL环境变量(注册服务使用)
|
||||||
; 可能存在多个服务打通,MySQL环境变量由此变为 X
|
; 可能存在多个服务打通,MySQL环境变量由此变为 X
|
||||||
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: string; Flags: uninsdeletevalue; Components: MySQL/BIN; \
|
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: string; Flags: uninsdeletevalue; Components: MySQL_BIN; \
|
||||||
ValueName: "X_MANAGE_DB_SC"; ValueData: "x_database";
|
ValueName: "X_MANAGE_DB_SC"; ValueData: "x_database";
|
||||||
; 这两个值,将作为后续判断程序是否已经安装做依据
|
; 这两个值,将作为后续判断程序是否已经安装做依据
|
||||||
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: string; Flags: uninsdeletevalue; Components: MySQL/BIN; \
|
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: string; Flags: uninsdeletevalue; Components: MySQL_BIN; \
|
||||||
ValueName: "X_MANAGE_DB_EXE"; ValueData: "{pf}\MySQL\MySQL Server 8.4.5\bin\mysqld.exe";
|
ValueName: "X_MANAGE_DB_EXE"; ValueData: "{pf}\MySQL\MySQL Server 8.4.5\bin\mysqld.exe";
|
||||||
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: string; Flags: uninsdeletevalue; Components: MySQL/BIN; \
|
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: string; Flags: uninsdeletevalue; Components: MySQL_BIN; \
|
||||||
ValueName: "X_MANAGE_DB_COF"; ValueData: "{commonappdata}\MySQL\MySQL Server 8.4\my.ini";
|
ValueName: "X_MANAGE_DB_COF"; ValueData: "{commonappdata}\MySQL\MySQL Server 8.4\my.ini";
|
||||||
|
|
||||||
;; MySQL(通用服务),导入脚本数据使用
|
;; MySQL(通用服务),导入脚本数据使用
|
||||||
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: string; Flags: uninsdeletevalue; Components: MySQL/BIN; \
|
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: string; Flags: uninsdeletevalue; Components: MySQL_BIN; \
|
||||||
ValueName: "X_COMMAND_MYSQL"; ValueData: "{pf}\MySQL\MySQL Server 8.4.5";
|
ValueName: "X_COMMAND_MYSQL"; ValueData: "{pf}\MySQL\MySQL Server 8.4.5";
|
||||||
; 追加到 PATH 变量
|
; 追加到 PATH 变量
|
||||||
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: expandsz; Flags: preservestringtype; Components: MySQL/BIN; AfterInstall: RefreshEnvironment; \
|
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: expandsz; Flags: preservestringtype; Components: MySQL_BIN; AfterInstall: RefreshEnvironment; \
|
||||||
ValueName: "Path"; ValueData: "{olddata};%X_COMMAND_MYSQL%\bin"; Check: NeedsAddPath('%X_COMMAND_MYSQL%\bin');
|
ValueName: "Path"; ValueData: "{olddata};%X_COMMAND_MYSQL%\bin"; Check: NeedsAddPath('%X_COMMAND_MYSQL%\bin');
|
||||||
|
|
||||||
|
|
||||||
@ -363,9 +366,14 @@ end;
|
|||||||
|
|
||||||
[UninstallRun]
|
[UninstallRun]
|
||||||
Filename: "taskkill"; Parameters: "-f -im {#MyAppExeName}-web.exe"; Flags: runascurrentuser runhidden waituntilterminated
|
Filename: "taskkill"; Parameters: "-f -im {#MyAppExeName}-web.exe"; Flags: runascurrentuser runhidden waituntilterminated
|
||||||
|
Filename: "taskkill"; Parameters: "-f -im {#MyAppExeName}-console.exe"; Flags: runascurrentuser runhidden waituntilterminated
|
||||||
|
Filename: "taskkill"; Parameters: "-f -im {#MyAppExeName}-x86.exe"; Flags: runascurrentuser runhidden waituntilterminated
|
||||||
|
Filename: "taskkill"; Parameters: "-f -im {#MyAppExeName}-x64.exe"; Flags: runascurrentuser runhidden waituntilterminated
|
||||||
|
Filename: "taskkill"; Parameters: "-f -im {#MyAppExeName}.exe"; Flags: runascurrentuser runhidden waituntilterminated
|
||||||
|
|
||||||
|
|
||||||
;; 卸载时删除的文件
|
;; 卸载时删除的文件
|
||||||
[UninstallDelete]
|
[UninstallDelete]
|
||||||
Type: filesandordirs; Name: "{app}\{#MyAppExeName}\log"
|
Type: filesandordirs; Name: "{app}\{#MyAppExeName}\log"
|
||||||
Type: filesandordirs; Name: "{app}\{#MyAppExeName}\script"
|
Type: filesandordirs; Name: "{app}\{#MyAppExeName}\script"
|
||||||
|
Type: filesandordirs; Name: "{app}\{#MyAppExeName}\patch"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
; 构建时间:2025-8-18 14:13:19
|
; 构建时间:2025-8-18 14:13:19
|
||||||
#define MyAppName "模型管理"
|
#define MyAppName "模型管理"
|
||||||
#define MyAppVersion "v1.0.19"
|
#define MyAppVersion "1.0.19"
|
||||||
#define MyAppPublisher "X"
|
#define MyAppPublisher "X"
|
||||||
#define MyAppURL "~"
|
#define MyAppURL "~"
|
||||||
#define MyAppExeName "model"
|
#define MyAppExeName "model"
|
||||||
@ -27,7 +27,7 @@ Password={#InstallPassword}
|
|||||||
Encryption=yes
|
Encryption=yes
|
||||||
; ICO图标
|
; ICO图标
|
||||||
SetupIconFile={#MyAppResources}\icon.ico
|
SetupIconFile={#MyAppResources}\icon.ico
|
||||||
VersionInfoProductVersion=1.0.0
|
VersionInfoProductVersion={#MyAppVersion}
|
||||||
VersionInfoCompany=
|
VersionInfoCompany=
|
||||||
VersionInfoDescription={#MyAppName}服务
|
VersionInfoDescription={#MyAppName}服务
|
||||||
VersionInfoCopyright=CopyRight © 2025
|
VersionInfoCopyright=CopyRight © 2025
|
||||||
|
Loading…
x
Reference in New Issue
Block a user