PluginOK_Install.iss 1.6 KB
Newer Older
1 2 3 4
; 脚本由 Inno Setup 脚本向导 生成!
; 有关创建 Inno Setup 脚本文件的详细资料请查阅帮助文档!

#define MyAppName "PluginOK中间件"
W
wangzuohuai 已提交
5
#define MyAppVersion "1.5.1.3"
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#define MyAppPublisher "成都佐罗软件有限公司"
#define MyAppURL "http://www.zorrosoft.com/"
#define MyAppExeName "WrlSetup.exe"

[Setup]
; 注: AppId的值为单独标识该应用程序。
; 不要为其他安装程序使用相同的AppId值。
; (若要生成新的 GUID,可在菜单中点击 "工具|生成 GUID"。)
AppId={{20BAC19B-5557-453A-877A-3B6DEAC4C907}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\PluginOK
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
; 以下行修改为实际的路径。
W
wangzuohuai 已提交
26 27
LicenseFile=F:\PluginOK\Bin\license.txt
InfoAfterFile=F:\PluginOK\Bin\TestWrl.txt
28 29
; 以下行取消注释,以在非管理安装模式下运行(仅为当前用户安装)。
PrivilegesRequired=admin
W
wangzuohuai 已提交
30
OutputDir=F:\PluginOK
31 32 33 34 35 36 37 38 39
OutputBaseFilename=PluginOK
Compression=lzma
SolidCompression=yes
WizardStyle=modern

[Languages]
Name: "chinesesimp"; MessagesFile: "compiler:Default.isl"

[Files]
W
wangzuohuai 已提交
40
Source: "F:\PluginOK\Bin\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
41 42 43 44 45 46 47 48 49 50 51
; 注意: 不要在任何共享系统文件上使用“Flags: ignoreversion”

[Icons]
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"

[Run]
Filename: "{app}\WrlSetup.exe";Parameters: "/S /I";Description: "安装服务";StatusMsg:"正在安装服务,请稍后..."

[UninstallRun]
Filename: "{app}\WrlSetup.exe";Parameters: "/S /U";StatusMsg:"正在停止服务并卸载,请稍后..."