📄 setupscripttemplatee.iss
字号:
; 脚本用 Inno Setup 脚本向导生成。
; 查阅文档获取创建 INNO SETUP 脚本文件详细资料!
[Setup]
AppName=NavigateCentury International Installprogram
AppVerName=NavigateCentury International Installprogram
AppPublisher=SnailGame
AppPublisherURL=http://www.hanghai.com
AppSupportURL=http://www.hanghai.com
AppUpdatesURL=http://www.hanghai.com
DefaultDirName={pf}\NavigateCentury International
DefaultGroupName=SnailGame
DisableProgramGroupPage=yes
LicenseFile=license.txt
SetupIconFile=AutoRun.ico
Compression=lzma
SolidCompression=yes
SourceDir=\\alien\alienCompressTest
OutputBaseFilename=NavigateCentury0.51VersionInstall
OutputDir=F:\Work\ToolAggregate\installationTool\0.50~0.51
;当总文件大小超过2,100,000,000 bytes时,必须设置该选项
;DiskSpanning=yes
;分装在2张盘上
;SlicesPerDisk=2
;DiskSliceSize=1500000000
[Registry]
Root: HKLM; Subkey: "Software\SnailGame"; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: "Software\SnailGame\Voyage_International"; Flags: uninsdeletekey
Root: HKLM; Subkey: "Software\SnailGame\Voyage_International"; ValueType: string; ValueName: "InstallDir"; ValueData: "{app}"
Root: HKLM; Subkey: "Software\SnailGame\Voyage_International"; ValueType: string; ValueName: "ver"; ValueData: "0.51"
[Languages]
Name: "en"; MessagesFile: "compiler:Defaulte.isl"
;Name: "chi"; MessagesFile: "compiler:Defaultc.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
;Source: "F:\Work\setuptool\voyage0.34~0.35\boost_test.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "*"; DestDir: "{app}"; Flags: createallsubdirs recursesubdirs overwritereadonly ignoreversion
; 注意: 不要在任何共享系统文件中使用“Flags: ignoreversion”
[INI]
Filename: "{app}\voyagecentury.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.hanghai.com"
[Icons]
Name: "{group}\voyagecentury international"; Filename: "{app}\voyagecentury.exe"; WorkingDir: "{app}"
Name: "{group}\{cm:ProgramOnTheWeb,voyagecentury Official}"; Filename: "{app}\voyagecentury.url"
Name: "{group}\{cm:UninstallProgram,voyagecentury international}"; Filename: "{uninstallexe}"
Name: "{userdesktop}\voyagecentury international"; Filename: "{app}\voyagecentury.exe"; WorkingDir: "{app}"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\voyagecentury international"; Filename: "{app}\voyagecentury.exe"; WorkingDir: "{app}"; Tasks: quicklaunchicon
[UninstallDelete]
Type: files; Name: "{app}\voyagecentury.url"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -