; 脚本用 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"
阅读(1945) | 评论(0) | 转发(0) |