-
Notifications
You must be signed in to change notification settings - Fork 3
/
qdataschema.iss
115 lines (98 loc) · 3.8 KB
/
qdataschema.iss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
; Inno Setup Installation Script.
; (c) Leader InfoTech, 2004-2007
; (c) Valery Grazdankin ( leader ), 2004-2007
[Languages]
Name: Russian; MessagesFile: "compiler:languages\Russian.isl"
Name: English; MessagesFile: "compiler:default.isl"
[Setup]
SourceDir=.\
AppName=QDataSchema
AppVerName=QDataSchema 1.2.0
AppPublisher=Leader IT
AppPublisherURL=http://www.leaderit.ru//files/qdataschema/
AppSupportURL=http://www.leaderit.ru/files/qdataschema/
AppUpdatesURL=http://www.leaderit.ru/files/qdataschema/updates
DefaultDirName={pf}\qdataschema
DefaultGroupName=QDdataSchema
AppCopyright=Copyright © 2002-2007 Leader InfoTech, Valery Grazdankin
DisableProgramGroupPage=yes
AllowNoIcons=yes
LicenseFile=COPYING
InfoBeforeFile=README
Compression=lzma
SolidCompression=yes
OutputDir=.\
OutputBaseFilename=qdataschema
[Components]
Name: "development"; Description: "library and header files"; Types: full compact custom
Name: "utilites"; Description: "utilites"; Types: full compact custom
Name: "doc"; Description: "Documentation"; Types: full compact custom
[Tasks]
;Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
;Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "setuplogo.bmp"; DestDir: {tmp}; Flags: dontcopy
;Source: "doc\*.pdf"; DestDir: "{app}\doc"; Flags: ignoreversion
Source: "src\lib\*.h";DestDir: "{app}\include"; Flags: ignoreversion
Source: "RELEASE"; DestDir: "{app}"; Flags: ignoreversion
Source: "README"; DestDir: "{app}"; Flags: ignoreversion
Source: "lib\*.lib"; DestDir: "{app}"; Flags: ignoreversion
Source: "src\example\qdsexample.exe"; DestDir: "{app}"; Flags: ignoreversion
;Source: "src\utils\dump\qdsdump.exe"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[INI]
Filename: "{app}\lit.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.leaderit.ru"
[Icons]
;Name: "{group}\QDataSchema"; Filename: "{app}\ananas-engine.exe"
Name: "{group}\{cm:UninstallProgram,QDataSchema}"; Filename: "{uninstallexe}"; AfterInstall: qdataschemaAfterInstall
;Name: "{userdesktop}\Ananas Engine"; Filename: "{app}\ananas-engine.exe"; Tasks: desktopicon
;Name: "{userdesktop}\Ananas Administrator"; Filename: "{app}\ananas-administrator.exe"; Tasks: desktopicon
;Name: "{userdesktop}\Ananas Designer"; Filename: "{app}\ananas-designer.exe"; Tasks: desktopicon
;Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Ananas"; Filename: "{app}\ananas-designer.exe"; Tasks: quicklaunchicon
Name: "{group}\QDataSchema â èíòåðíåòå"; Filename: "{app}\lit.url"
[Run]
;Filename: "{app}\qds.exe"; Description: "{cm:LaunchProgram,Ananas}"; Flags: nowait postinstall skipifsilent
[UninstallDelete]
Type: files; Name: "{app}\lit.url"
[Code]
//
procedure InitializeWizard();
var
SplashImage: TBitmapImage;
SplashForm: TForm;
SplashFileName: String;
begin
SplashFileName := ExpandConstant('{tmp}\setuplogo.bmp');
ExtractTemporaryFile(ExtractFileName(SplashFileName));
SplashForm := TForm.create(nil);
with SplashForm do
begin
BorderStyle := bsNone;
Position := poScreenCenter;
// Adjust the height and width of the SplashForm
// to the size of our splash image
ClientWidth := 400;
ClientHeight := 244;
end;
SplashImage := TBitmapImage.Create(SplashForm);
with SplashImage do
begin
Bitmap.LoadFromFile(SplashFileName);
Stretch := true;
Align := alClient;
Parent := SplashForm;
end;
with SplashForm do
begin
Show;
Repaint;
Sleep(3000);
Close;
Free;
end;
end;
procedure qdataschemaAfterInstall();
begin
{ copy files }
// FileCopy( ExpandConstant('{app}\designer\ananasplugin.dll'), ExpandConstant('{app}\ananasplugin.dll'), false);
end;