]> git.saurik.com Git - wxWidgets.git/blob - build/script/wxwidgets.iss
adapted Julian's new speed improved version
[wxWidgets.git] / build / script / 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 #if GetEnv("WXW_VER") == "CVS"
5 #define INFOFILE "C:\wx\inno\wxWidgets\BuildSVN.txt"
6 #define WX_VERSION "SVN"
7 #else
8 #define INFOFILE "C:\wx\inno\wxWidgets\docs\msw\install.txt"
9 #define WX_VERSION GetENV("WXW_VER")
10 #endif
11
12 #define SETUPFILENAME "wxMSW-" + GetENV("WXW_VER") + "-Setup"
13
14 #define INNODIR "C:\wx\inno\wxWidgets"
15
16 [Setup]
17 AppName=wxWidgets
18 AppVerName=wxWidgets {#WX_VERSION}
19 AppPublisher=wxWidgets
20 AppPublisherURL=http://www.wxwidgets.org
21 AppSupportURL=http://www.wxwidgets.org
22 AppUpdatesURL=http://www.wxwidgets.org
23 DefaultDirName={sd}\wxWidgets-{#WX_VERSION}
24 DefaultGroupName=wxWidgets {#WX_VERSION}
25 UsePreviousAppDir=no
26 DisableProgramGroupPage=yes
27 LicenseFile={#INNODIR}\docs\licence.txt
28 InfoBeforeFile={#INNODIR}\docs\readme.txt
29 InfoAfterFile={#INFOFILE}
30 OutputDir=c:\daily
31 OutputBaseFilename={#SETUPFILENAME}
32 SetupIconFile={#INNODIR}\art\wxwin.ico
33 Compression=lzma
34 SolidCompression=yes
35
36 [Files]
37 ; source files
38 Source: "{#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
39 ; docs and helpfile
40 Source: "{#INNODIR}\docs\htmlhelp\*"; DestDir: "{app}\docs\htmlhelp\"; Flags: ignoreversion recursesubdirs createallsubdirs
41 Source: "{#INNODIR}\docs\licence.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
42 Source: "{#INNODIR}\docs\readme.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
43 Source: "{#INNODIR}\docs\changes.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
44 Source: "{#INNODIR}\docs\msw\install.txt"; DestDir: "{app}\docs\msw"; Flags: ignoreversion recursesubdirs createallsubdirs
45 ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
46
47 [INI]
48 Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org"
49
50 [Icons]
51 Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets {#WX_VERSION}}"; Filename: "{app}\wx.url"
52 Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
53 Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
54 Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
55 Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
56 Name: "{group}\Uninstall wxWidgets {#WX_VERSION}"; Filename: "{uninstallexe}"
57
58
59 [UninstallDelete]
60 Type: files; Name: "{app}\wx.url"
61