mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-22 09:14:25 +08:00
0.2.5
课表组件、天气组件全面升级。
This commit is contained in:
57
LanMontainDesktop/installer/LanMontainDesktop.iss
Normal file
57
LanMontainDesktop/installer/LanMontainDesktop.iss
Normal file
@@ -0,0 +1,57 @@
|
||||
#define MyAppName "LanMontainDesktop"
|
||||
#define MyAppPublisher "LanMontainDesktop Team"
|
||||
#define MyAppExeName "LanMontainDesktop.exe"
|
||||
|
||||
#ifndef MyAppVersion
|
||||
#define MyAppVersion "0.0.0"
|
||||
#endif
|
||||
|
||||
#ifndef PublishDir
|
||||
#define PublishDir "..\artifacts\publish\win-x64"
|
||||
#endif
|
||||
|
||||
#ifndef MyOutputDir
|
||||
#define MyOutputDir "..\artifacts\installer"
|
||||
#endif
|
||||
|
||||
#ifndef MyAppArch
|
||||
#define MyAppArch "x64"
|
||||
#endif
|
||||
|
||||
[Setup]
|
||||
AppId={{5A058B0D-F95D-4A18-B9A0-93F843655DDB}
|
||||
AppName={#MyAppName}
|
||||
AppVersion={#MyAppVersion}
|
||||
AppPublisher={#MyAppPublisher}
|
||||
DefaultDirName={autopf}\{#MyAppName}
|
||||
DefaultGroupName={#MyAppName}
|
||||
UninstallDisplayIcon={app}\{#MyAppExeName}
|
||||
OutputDir={#MyOutputDir}
|
||||
OutputBaseFilename={#MyAppName}-Setup-{#MyAppVersion}
|
||||
Compression=lzma2/ultra64
|
||||
SolidCompression=yes
|
||||
WizardStyle=modern
|
||||
PrivilegesRequired=admin
|
||||
DisableProgramGroupPage=yes
|
||||
|
||||
#if MyAppArch == "x64"
|
||||
ArchitecturesAllowed=x64compatible
|
||||
ArchitecturesInstallIn64BitMode=x64compatible
|
||||
#endif
|
||||
|
||||
[Languages]
|
||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
Name: "chinesesimp"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
|
||||
|
||||
[Files]
|
||||
Source: "{#PublishDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
|
||||
[Icons]
|
||||
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
||||
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
||||
Reference in New Issue
Block a user