Chinaunix首页 | 论坛 | 博客
  • 博客访问: 232146
  • 博文数量: 56
  • 博客积分: 2480
  • 博客等级: 大尉
  • 技术积分: 475
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-28 10:57
文章分类

全部博文(56)

文章存档

2012年(36)

2011年(4)

2010年(2)

2009年(14)

我的朋友

分类: Python/Ruby

2012-03-31 11:33:37

; 脚本用 Inno Setup 脚本向导生成。
; 查阅文档获取创建 INNO SETUP 脚本文件详细资料!

[Setup]
AppName=GBInvoice
AppVerName=GBInvoice 1.0
AppPublisher=金诚
DefaultDirName={pf}\GBInvoice
DefaultGroupName=GBInvoice
LicenseFile=E:\workspace\j金诚\豫鹤\note\许可证.txt
InfoBeforeFile=E:\workspace\j金诚\豫鹤\note\欢迎.txt
InfoAfterFile=E:\workspace\j金诚\豫鹤\note\谢谢.txt
Compression=lzma
SolidCompression=yes

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "E:\workspace\j金诚\豫鹤\GBInvoice.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\workspace\j金诚\豫鹤\bin\*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs
Source: "E:\workspace\j金诚\豫鹤\database\*"; DestDir: "{app}\database"; Flags: ignoreversion recursesubdirs
Source: "D:\Program Files\Borland\Common Files\Borland Shared\BDE\*.dll"; DestDir: "{cf}\Borland Shared\BDE";
Source: "D:\Program Files\Borland\Common Files\Borland Shared\BDE\*.btl"; DestDir: "{cf}\Borland Shared\BDE";
; 注意: 不要在任何共享系统文件中使用“Flags: ignoreversion”

[Icons]
Name: "{group}\GBInvoice"; Filename: "{app}\GBInvoice.exe"
Name: "{group}\{cm:UninstallProgram,GBInvoice}"; Filename: "{uninstallexe}"
Name: "{userdesktop}\GBInvoice"; Filename: "{app}\GBInvoice.exe"; Tasks: desktopicon

[Run]
Filename: "{app}\GBInvoice.exe"; Description: "{cm:LaunchProgram,GBInvoice}"; Flags: nowait postinstall skipifsilent

[Registry]
Root: HKLM; Subkey: "Software\Borland"; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: "Software\Borland\BLW32"; Flags: uninsdeletekey
Root: HKLM; Subkey: "Software\Borland\BLW32"; ValueType: string; ValueName: "BLAPIPATH"; ValueData: "{cf}\Borland Shared\BDE"
Root: HKLM; Subkey: "Software\Borland\BLW32"; ValueType: string; ValueName: "LOCALE_LIB0"; ValueData: "fareast.btl"
Root: HKLM; Subkey: "Software\Borland\BLW32"; ValueType: string; ValueName: "LOCALE_LIB1"; ValueData: "usa.btl"
Root: HKLM; Subkey: "Software\Borland"; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: "Software\Borland\Database Engine"; Flags: uninsdeletekey
Root: HKLM; Subkey: "Software\Borland\Database Engine"; ValueType: string; ValueName: "DLLPATH"; ValueData: "{cf}\Borland Shared\BDE"
阅读(1930) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~