3 Star 8 Fork 6

太阳黑子 / 信息管理

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.iss 3.23 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
xiaomeng 提交于 2017-07-02 01:26 . Add files
; 脚本由 Inno Setup 脚本向导 生成!
; 有关创建 Inno Setup 脚本文件的详细资料请查阅帮助文档!
#define MyAppName "南宁市管干部信息采集软件"
#define MyAppVersion "2.2"
#define MyAppPublisher "市委组织部"
#define MyAppExeName "nnsggb.exe"
[Setup]
; 注: AppId的值为单独标识该应用程序。
; 不要为其他安装程序使用相同的AppId值。
; (生成新的GUID,点击 工具|在IDE中生成GUID。)
AppId={{8FF29ECF-8BD4-498E-B464-433E188234CF}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
DefaultDirName={pf}\NZSGGB
DefaultGroupName={#MyAppName}
OutputBaseFilename=setup
SetupIconFile=D:\开发源码\学习实例\AAuto\project\AAuto工程2\cadres.git\trunk\res\bitbug_favicon.ico
Compression=lzma
SolidCompression=yes
[Languages]
Name: "chinesesimp"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "D:\开发源码\学习实例\AAuto\project\AAuto工程2\cadres.git\trunk\Publish\nnsggb.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\开发源码\学习实例\AAuto\project\AAuto工程2\cadres.git\trunk\Publish\db\config.db"; DestDir: "{app}\db\"; Flags: ignoreversion
Source: "D:\开发源码\学习实例\AAuto\project\AAuto工程2\cadres.git\trunk\Publish\db\tmpl.xml"; DestDir: "{app}\db\"; Flags: ignoreversion
Source: "D:\开发源码\学习实例\AAuto\project\AAuto工程2\cadres.git\trunk\Publish\log\readme.txt"; DestDir: "{app}\log\"; Flags: ignoreversion
Source: "D:\开发源码\学习实例\AAuto\project\AAuto工程2\cadres.git\trunk\Publish\db\db.db"; DestDir: "{app}\db\"; Flags: onlyifdoesntexist
Source: "D:\开发源码\学习实例\AAuto\project\AAuto工程2\cadres.git\trunk\Publish\html\*"; DestDir: "{app}\html\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "D:\开发源码\学习实例\AAuto\project\AAuto工程2\cadres.git\trunk\Publish\lib\*"; DestDir: "{app}\lib\"; Flags: ignoreversion recursesubdirs createallsubdirs
; 注意: 不要在任何共享系统文件上使用“Flags: ignoreversion”
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
[Code]
function NextButtonClick(CurPage: Integer): Boolean;
var Localdatapath:string;
var Apppath:string;
var ConfigPath:string;
begin
Result:= true; if CurPage=wpSelectDir then
begin
Localdatapath := ExpandConstant('{localappdata}\VirtualStore');
Apppath := ExpandConstant('{app}');
Localdatapath :=Localdatapath+ Copy(Apppath,3,length(Apppath)-2);
ConfigPath := Localdatapath+'\db\config.db';
if FileExists(ConfigPath) then
begin
DeleteFile(ConfigPath);
end;
end;
end;
Lua
1
https://gitee.com/iamfirst/cardres.git
git@gitee.com:iamfirst/cardres.git
iamfirst
cardres
信息管理
master

搜索帮助

14c37bed 8189591 565d56ea 8189591