]>
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 | |
beee5d68 VZ |
4 | #if GetEnv("INNO") != "" |
5 | #define WXW_DIR GetEnv("INNO") | |
6 | #else | |
7 | #define WXW_DIR "..\.." | |
8 | #endif | |
988cece5 CE |
9 | \r |
10 | #if GetEnv("WXW_VER") == "SVN"\r | |
beee5d68 | 11 | #define INFOFILE WXW_DIR + "\BuildSVN.txt" |
988cece5 | 12 | #define WX_VERSION "SVN"\r |
beee5d68 VZ |
13 | #elif GetEnv("WXW_VER") != "" |
14 | #define INFOFILE WXW_DIR + "\docs\msw\install.txt" | |
15 | #define WX_VERSION GetEnv("WXW_VER") | |
988cece5 | 16 | #else\r |
beee5d68 | 17 | #error "WXW_VER environment variable must be defined." |
988cece5 CE |
18 | #endif\r |
19 | \r | |
beee5d68 | 20 | #define SETUPFILENAME "wxMSW-" + GetEnv("WXW_VER") + "-Setup" |
988cece5 CE |
21 | \r |
22 | \r | |
23 | \r | |
24 | [Setup]\r | |
25 | AppName=wxWidgets\r | |
26 | AppVerName=wxWidgets {#WX_VERSION}\r | |
27 | AppPublisher=wxWidgets\r | |
28 | AppPublisherURL=http://www.wxwidgets.org\r | |
29 | AppSupportURL=http://www.wxwidgets.org\r | |
30 | AppUpdatesURL=http://www.wxwidgets.org\r | |
31 | DefaultDirName={sd}\wxWidgets-{#WX_VERSION}\r | |
32 | DefaultGroupName=wxWidgets {#WX_VERSION}\r | |
33 | UsePreviousAppDir=no\r | |
34 | DisableProgramGroupPage=yes\r | |
beee5d68 VZ |
35 | LicenseFile={#WXW_DIR}\docs\licence.txt |
36 | InfoBeforeFile={#WXW_DIR}\docs\readme.txt | |
6dbc37ce VZ |
37 | InfoAfterFile={#INFOFILE} |
38 | OutputDir={#WXW_DIR}\.. | |
39 | OutputBaseFilename={#SETUPFILENAME} | |
40 | PrivilegesRequired=none | |
beee5d68 | 41 | SetupIconFile={#WXW_DIR}\art\wxwin.ico |
988cece5 CE |
42 | Compression=lzma\r |
43 | SolidCompression=yes\r | |
9bd76599 VZ |
44 | |
45 | [Files] | |
46 | ; source files | |
591c850f | 47 | Source: "{#WXW_DIR}\*"; DestDir: "{app}"; Excludes: "cocoa,dfb,gtk,gtk1,motif,msdos,os2,osx,wxWindows.xcod*,x11,debian,distrib"; Flags: ignoreversion recursesubdirs createallsubdirs |
9bd76599 VZ |
48 | |
49 | [INI] | |
50 | Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org" | |
988cece5 CE |
51 | \r |
52 | [Icons]\r | |
81dd4808 | 53 | Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets}"; Filename: "{app}\wx.url"\r |
988cece5 CE |
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 |