一个用InnoSetup制作安装包的脚本

阅读:316次   时间:2009-11-23 00:00:00   字体:[ ]

[Setup]
AppName=医保农合接口
AppVerName=医保农合接口 8.96
DefaultDirName={pf}\UFSoft
DefaultGroupName=医保农合接口 8.96
AllowNoIcons=true
OutputBaseFilename=中医院医保农合接口
Compression=lzma
SolidCompression=true
ShowLanguageDialog=yes
VersionInfoCompany=jljyczy
VersionInfoDescription=医保农合接口 8.96
VersionInfoVersion=8.96
VersionInfoCopyright=Copyright (C) 2006-2009 jljyczy

[Tasks]
Name: bde_yes; Description: 是; GroupDescription: 是否安装医保BDE驱动?; Flags: exclusive
Name: bde_no; Description: 否; GroupDescription: 是否安装医保BDE驱动?; Flags: exclusive unchecked
Name: readcard_yes; Description: 是; GroupDescription: 是否安装医保读卡器驱动?; Flags: exclusive
Name: readcard_no; Description: 否; GroupDescription: 是否安装医保读卡器驱动?; Flags: exclusive unchecked

[Files]
Source: "D:\UFSoft_zyy\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

[Icons]
Name: "{group}\门诊挂号"; Filename: "{app}\HRP\Economic\OutPatient\mzgh.exe"; WorkingDir: "{app}";
Name: "{group}\门诊划价收费"; Filename: "{app}\HRP\Economic\OutPatient\mzhf.exe"; WorkingDir: "{app}";
Name: "{group}\入院登记与出院结算"; Filename: "{app}\HRP\Economic\InPatient\djcy.exe"; WorkingDir: "{app}";
Name: "{group}\住院护士站"; Filename: "{app}\HRP\Clinic\zyhs.exe"; WorkingDir: "{app}";
Name: "{group}\卸载农合接口"; Filename: "{uninstallexe}"; WorkingDir: "{app}";
Name: "{userdesktop}\门诊挂号"; Filename: "{app}\HRP\Economic\OutPatient\mzgh.exe"; WorkingDir: "{app}";
Name: "{userdesktop}\门诊划价收费"; Filename: "{app}\HRP\Economic\OutPatient\mzhf.exe"; WorkingDir: "{app}";
Name: "{userdesktop}\入院登记与出院结算"; Filename: "{app}\HRP\Economic\InPatient\djcy.exe"; WorkingDir: "{app}";
Name: "{userdesktop}\住院护士站"; Filename: "{app}\HRP\Clinic\zyhs.exe"; WorkingDir: "{app}";

[INI]
Filename: {win}\ufhis.ini; Section: YBJK; Key: zg_ybmzzh; String: zyymz
Filename: {win}\ufhis.ini; Section: YBJK; Key: zg_ybmzmm; String: ***
Filename: {win}\ufhis.ini; Section: YBJK; Key: zg_ybzyzh; String: jyzyy
Filename: {win}\ufhis.ini; Section: YBJK; Key: zg_ybzymm; String: ***
Filename: {win}\ufhis.ini; Section: YBJK; Key: zg_hospitalid; String: 27
Filename: {win}\ufhis.ini; Section: YBJK; Key: clientip; String: 193.XX.XX.XX
Filename: {win}\ufhis.ini; Section: YBJK; Key: jm_ybmzzh; String: jyzyy1
Filename: {win}\ufhis.ini; Section: YBJK; Key: jm_ybmzmm; String: ***
Filename: {win}\ufhis.ini; Section: YBJK; Key: jm_ybzyzh; String: jyzyy2
Filename: {win}\ufhis.ini; Section: YBJK; Key: jm_ybzymm; String: ***
Filename: {win}\ufhis.ini; Section: YBJK; Key: jm_hospitalid; String: 33
Filename: {win}\ufhis.ini; Section: LICENSE; Key: LICENSED; String: 8ceff6ea20411876a1e61eec7c61fe81

[Registry]
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Internet Mobile"; Flags: deletekey

[Run]
Filename: {app}\HRP\Driver\bde_setup.exe; Tasks: bde_yes
Filename: {app}\HRP\Driver\card_reader.exe; Tasks: readcard_yes

[Messages]
BeveledLabel=Copyright (C) 2006-2009 jljyczy
[UninstallDelete]
Name: {app}; Type: filesandordirs

 

 源码推荐
关于本站 - 广告服务 - 会员指南 - 联系方法
Copyright ©2003-2011 源码天空 All Rights Reserved