]> git.saurik.com Git - wxWidgets.git/blob - build/tools/wxwidgets.iss
Make sure wchar_t CRT functions work on OS X.
[wxWidgets.git] / build / tools / wxwidgets.iss
1 ; Script generated by the Inno Setup Script Wizard.
2 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3
4 #define INNODIR GetENV("INNO")
5
6 #if GetEnv("WXW_VER") == "SVN"
7 #define INFOFILE GetENV("INNO") + "\BuildSVN.txt"
8 #define WX_VERSION "SVN"
9 #else
10 #define INFOFILE GetENV("INNO") + "\docs\msw\install.txt"
11 #define WX_VERSION GetENV("WXW_VER")
12 #endif
13
14 #define SETUPFILENAME "wxMSW-" + GetENV("WXW_VER") + "-Setup"
15
16
17
18 [Setup]
19 AppName=wxWidgets
20 AppVerName=wxWidgets {#WX_VERSION}
21 AppPublisher=wxWidgets
22 AppPublisherURL=http://www.wxwidgets.org
23 AppSupportURL=http://www.wxwidgets.org
24 AppUpdatesURL=http://www.wxwidgets.org
25 DefaultDirName={sd}\wxWidgets-{#WX_VERSION}
26 DefaultGroupName=wxWidgets {#WX_VERSION}
27 UsePreviousAppDir=no
28 DisableProgramGroupPage=yes
29 LicenseFile={#INNODIR}\docs\licence.txt
30 InfoBeforeFile={#INNODIR}\docs\readme.txt
31 InfoAfterFile={#INFOFILE}
32 OutputDir=c:\daily
33 OutputBaseFilename={#SETUPFILENAME}
34 PrivilegesRequired=none
35 SetupIconFile={#INNODIR}\art\wxwin.ico
36 Compression=lzma
37 SolidCompression=yes
38
39 [Files]
40 ; source files
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
42 ; docs and helpfile
43 Source: "{#INNODIR}\docs\htmlhelp\*"; DestDir: "{app}\docs\htmlhelp\"; Flags: ignoreversion recursesubdirs createallsubdirs
44 Source: "{#INNODIR}\docs\licence.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
45 Source: "{#INNODIR}\docs\readme.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
46 Source: "{#INNODIR}\docs\changes.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
47 Source: "{#INNODIR}\docs\msw\install.txt"; DestDir: "{app}\docs\msw"; Flags: ignoreversion recursesubdirs createallsubdirs
48 ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
49
50 [INI]
51 Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org"
52
53 [Icons]
54 Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets}"; Filename: "{app}\wx.url"
55 Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
56 Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
57 Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
58 Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
59 Name: "{group}\Uninstall wxWidgets {#WX_VERSION}"; Filename: "{uninstallexe}"
60
61
62 [UninstallDelete]
63 Type: files; Name: "{app}\wx.url"
64