; 脚本由 Inno Setup 脚本向导 生成!
; 有关创建 Inno Setup 脚本文件的详细资料请查阅帮助文档!
#define MyAppName "一维离散混沌周期检测"
#define MyAppVersion "1.0"
#define MyAppPublisher "yf"
#define MyAppURL "杭州电子科技大学混沌实验室"
#define MyAppExeName "一维离散混沌周期检测.exe"
[Setup]
; 注: AppId的值为单独标识该应用程序。
; 不要为其他安装程序使用相同的AppId值。
; (生成新的GUID,点击 工具|在IDE中生成GUID。)
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputDir=G:\程序打包 Setup
OutputBaseFilename=一维离散混沌周期检测
Compression=lzma
SolidCompression=yes
[Languages]
Name: "chinesesimp"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: yes; Description: 是; GroupDescription: 1.是否安装matlab库文件(已安装matlab2009b及以上版本可不需安装); Flags: unchecked
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
[Files]
Source: "C:\Documents and Settings\Administrator\桌面\一维离散混沌周期检测.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Administrator\桌面\MCRInstaller.exe"; DestDir: "{app}"; Flags: ignoreversion
; 注意: 不要在任何共享系统文件上使用“Flags: ignoreversion”
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}";IconFilename:{sys}\shell32.dll;IconIndex:12;
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}";IconFilename:{sys}\shell32.dll;IconIndex:12; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
Filename: {app}\MCRInstaller.exe; Tasks: yes
记录下Inno Setup打包:
[Tasks]
Name: yes; Description: 是; GroupDescription: 1.是否安装matlab库文件(已安装matlab2009b及以上版本可不需安装); Flags: unchecked
Filename: {app}\MCRInstaller.exe; Tasks: yes
可以捆绑插件
IconFilename:{sys}\shell32.dll;IconIndex:12;
可以设置生成快捷方式ico