]>
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 | |
81dd4808 | 34 | PrivilegesRequired=none\r |
988cece5 CE |
35 | SetupIconFile={#INNODIR}\art\wxwin.ico\r |
36 | Compression=lzma\r | |
37 | SolidCompression=yes\r | |
38 | \r | |
39 | [Files]\r | |
40 | ; source files\r | |
0e1f8ea4 | 41 | Source: "{#INNODIR}\*"; DestDir: "{app}"; Excludes: ".cvsignore,cocoa,dfb,mac,gtk,gtk1,motif,msdos,os2,wxWindows.xcod*,x11,debian,distrib,docs,misc,tests,wxPython,*.pch,*.pch++,*.pchmm"; Flags: ignoreversion recursesubdirs createallsubdirs |
988cece5 CE |
42 | ; docs and helpfile\r |
43 | Source: "{#INNODIR}\docs\htmlhelp\*"; DestDir: "{app}\docs\htmlhelp\"; Flags: ignoreversion recursesubdirs createallsubdirs\r | |
44 | Source: "{#INNODIR}\docs\licence.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs\r | |
45 | Source: "{#INNODIR}\docs\readme.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs\r | |
46 | Source: "{#INNODIR}\docs\changes.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs\r | |
47 | Source: "{#INNODIR}\docs\msw\install.txt"; DestDir: "{app}\docs\msw"; Flags: ignoreversion recursesubdirs createallsubdirs\r | |
48 | ; NOTE: Don't use "Flags: ignoreversion" on any shared system files\r | |
49 | \r | |
50 | [INI]\r | |
51 | Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org"\r | |
52 | \r | |
53 | [Icons]\r | |
81dd4808 | 54 | Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets}"; Filename: "{app}\wx.url"\r |
988cece5 CE |
55 | Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r |
56 | Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r | |
57 | Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r | |
58 | Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r | |
59 | Name: "{group}\Uninstall wxWidgets {#WX_VERSION}"; Filename: "{uninstallexe}"\r | |
60 | \r | |
61 | \r | |
62 | [UninstallDelete]\r | |
63 | Type: files; Name: "{app}\wx.url"\r | |
64 | \r |