]>
Commit | Line | Data |
---|---|---|
988cece5 CE |
1 | ; Script generated by the Inno Setup Script Wizard.\r |
2 | ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!\r | |
3 | \r | |
4 | #define INNODIR GetENV("INNO")\r | |
5 | \r | |
6 | #if GetEnv("WXW_VER") == "SVN"\r | |
7 | #define INFOFILE GetENV("INNO") + "\BuildSVN.txt"\r | |
8 | #define WX_VERSION "SVN"\r | |
9 | #else\r | |
10 | #define INFOFILE GetENV("INNO") + "\docs\msw\install.txt"\r | |
11 | #define WX_VERSION GetENV("WXW_VER")\r | |
12 | #endif\r | |
13 | \r | |
14 | #define SETUPFILENAME "wxMSW-" + GetENV("WXW_VER") + "-Setup"\r | |
15 | \r | |
16 | \r | |
17 | \r | |
18 | [Setup]\r | |
19 | AppName=wxWidgets\r | |
20 | AppVerName=wxWidgets {#WX_VERSION}\r | |
21 | AppPublisher=wxWidgets\r | |
22 | AppPublisherURL=http://www.wxwidgets.org\r | |
23 | AppSupportURL=http://www.wxwidgets.org\r | |
24 | AppUpdatesURL=http://www.wxwidgets.org\r | |
25 | DefaultDirName={sd}\wxWidgets-{#WX_VERSION}\r | |
26 | DefaultGroupName=wxWidgets {#WX_VERSION}\r | |
27 | UsePreviousAppDir=no\r | |
28 | DisableProgramGroupPage=yes\r | |
29 | LicenseFile={#INNODIR}\docs\licence.txt\r | |
30 | InfoBeforeFile={#INNODIR}\docs\readme.txt\r | |
31 | InfoAfterFile={#INFOFILE}\r | |
32 | OutputDir=c:\daily\r | |
33 | OutputBaseFilename={#SETUPFILENAME}\r | |
34 | SetupIconFile={#INNODIR}\art\wxwin.ico\r | |
35 | Compression=lzma\r | |
36 | SolidCompression=yes\r | |
37 | \r | |
38 | [Files]\r | |
39 | ; source files\r | |
b672b8f4 | 40 | Source: "{#INNODIR}\*"; DestDir: "{app}"; Excludes: ".cvsignore,cocoa,dfb,mac,gtk,gtk1,mgl,motif,msdos,os2,palmos,wxWindows.xcod*,x11,debian,distrib,docs,misc,tests,wxPython,*.pch,*.pch++,*.pchmm"; Flags: ignoreversion recursesubdirs createallsubdirs\r |
988cece5 CE |
41 | ; docs and helpfile\r |
42 | Source: "{#INNODIR}\docs\htmlhelp\*"; DestDir: "{app}\docs\htmlhelp\"; Flags: ignoreversion recursesubdirs createallsubdirs\r | |
43 | Source: "{#INNODIR}\docs\licence.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs\r | |
44 | Source: "{#INNODIR}\docs\readme.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs\r | |
45 | Source: "{#INNODIR}\docs\changes.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs\r | |
46 | Source: "{#INNODIR}\docs\msw\install.txt"; DestDir: "{app}\docs\msw"; Flags: ignoreversion recursesubdirs createallsubdirs\r | |
47 | ; NOTE: Don't use "Flags: ignoreversion" on any shared system files\r | |
48 | \r | |
49 | [INI]\r | |
50 | Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org"\r | |
51 | \r | |
52 | [Icons]\r | |
53 | Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets {#WX_VERSION}}"; Filename: "{app}\wx.url"\r | |
54 | Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r | |
55 | Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r | |
56 | Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r | |
57 | Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r | |
58 | Name: "{group}\Uninstall wxWidgets {#WX_VERSION}"; Filename: "{uninstallexe}"\r | |
59 | \r | |
60 | \r | |
61 | [UninstallDelete]\r | |
62 | Type: files; Name: "{app}\wx.url"\r | |
63 | \r |