Merge branch 'inno_dev' into dev
This commit is contained in:
@@ -20,7 +20,7 @@ AppPublisher={#MyAppPublisher}
|
|||||||
AppPublisherURL={#MyAppURL}
|
AppPublisherURL={#MyAppURL}
|
||||||
AppSupportURL={#MyAppURL}
|
AppSupportURL={#MyAppURL}
|
||||||
AppUpdatesURL={#MyAppURL}
|
AppUpdatesURL={#MyAppURL}
|
||||||
DefaultDirName=D:\{#MyAppName}
|
DefaultDirName={autopf}\{#MyAppName}
|
||||||
UninstallDisplayIcon={app}\{#MyAppExeName}
|
UninstallDisplayIcon={app}\{#MyAppExeName}
|
||||||
; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run
|
; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run
|
||||||
; on anything but x64 and Windows 11 on Arm.
|
; on anything but x64 and Windows 11 on Arm.
|
||||||
@@ -32,13 +32,13 @@ ArchitecturesAllowed=x64compatible
|
|||||||
ArchitecturesInstallIn64BitMode=x64compatible
|
ArchitecturesInstallIn64BitMode=x64compatible
|
||||||
DisableProgramGroupPage=yes
|
DisableProgramGroupPage=yes
|
||||||
LicenseFile={#MyAppPath}\LICENSE
|
LicenseFile={#MyAppPath}\LICENSE
|
||||||
; Remove the following line to run in administrative install mode (install for all users).
|
PrivilegesRequired=admin
|
||||||
PrivilegesRequired=lowest
|
|
||||||
OutputDir={#OutputDir}
|
OutputDir={#OutputDir}
|
||||||
OutputBaseFilename=AUTO_MAA-Setup
|
OutputBaseFilename=AUTO_MAA-Setup
|
||||||
SetupIconFile={#MyAppPath}\resources\icons\AUTO_MAA.ico
|
SetupIconFile={#MyAppPath}\resources\icons\AUTO_MAA.ico
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
WizardStyle=modern
|
WizardStyle=modern
|
||||||
|
AppMutex=AUTO_MAA_Installer_Mutex
|
||||||
|
|
||||||
[Languages]
|
[Languages]
|
||||||
Name: "Chinese"; MessagesFile: "{#MyAppPath}\resources\docs\ChineseSimplified.isl"
|
Name: "Chinese"; MessagesFile: "{#MyAppPath}\resources\docs\ChineseSimplified.isl"
|
||||||
@@ -62,7 +62,7 @@ Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
|||||||
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
||||||
|
|
||||||
[Run]
|
[Run]
|
||||||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall
|
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall runascurrentuser
|
||||||
|
|
||||||
[Code]
|
[Code]
|
||||||
var
|
var
|
||||||
@@ -70,7 +70,10 @@ var
|
|||||||
|
|
||||||
function InitializeUninstall: Boolean;
|
function InitializeUninstall: Boolean;
|
||||||
begin
|
begin
|
||||||
DeleteDataQuestion := MsgBox('您确认要完全移除 AUTO_MAA 的所有用户数据文件与子组件吗?', mbConfirmation, MB_YESNO) = IDYES;
|
DeleteDataQuestion := MsgBox('您确认要完全移除 AUTO_MAA 的所有配置、用户数据与子组件吗?' + #13#10 +
|
||||||
|
'选择"是"将删除所有配置文件、数据与子组件程序。' + #13#10 +
|
||||||
|
'选择"否"将保留数据文件与子组件。',
|
||||||
|
mbConfirmation, MB_YESNO) = IDYES;
|
||||||
Result := True;
|
Result := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user