; 脚本由 Inno Setup 脚本向导 生成! ; 有关创建 Inno Setup 脚本文件的详细资料请查阅帮助文档! #define MyAppName "PluginOK中间件网络版" #define MyAppVersion "2.1.3.1" #define MyAppPublisher "成都佐罗软件有限公司" #define MyAppURL "http://www.zorrosoft.com/" #define MyAppExeName "ZbaSetup.exe" [Setup] ; 注: AppId的值为单独标识该应用程序。 ; 不要为其他安装程序使用相同的AppId值。 ; (若要生成新的 GUID,可在菜单中点击 "工具|生成 GUID"。) AppId={{908D7515-15F9-4A48-B36D-5FE2A52DE3E6} AppName={#MyAppName} AppVersion={#MyAppVersion} ;AppVerName={#MyAppName} {#MyAppVersion} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} DefaultDirName={pf}\PluginOKNet DefaultGroupName={#MyAppName} AllowNoIcons=yes ; 以下行修改为实际的路径。 LicenseFile=F:\PluginOK\Net\license.txt InfoAfterFile=F:\PluginOK\Net\TestWrl.txt ; 以下行取消注释,以在非管理安装模式下运行(仅为当前用户安装)。 PrivilegesRequired=admin OutputDir=F:\PluginOK OutputBaseFilename=PluginOKNet Compression=lzma SolidCompression=yes WizardStyle=modern [Languages] Name: "chinesesimp"; MessagesFile: "compiler:Default.isl" [Files] Source: "F:\PluginOK\Net\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs ; 注意: 不要在任何共享系统文件上使用“Flags: ignoreversion” [Icons] Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" [Run] Filename: "{app}\ZbaSetup.exe";Parameters: "/S /I";Description: "安装服务";StatusMsg:"正在安装服务,请稍后..." [UninstallRun] Filename: "{app}\ZbaSetup.exe";Parameters: "/S /U";StatusMsg:"正在停止服务并卸载,请稍后..."