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