]> git.saurik.com Git - wxWidgets.git/blob - build/script/wxwidgets.iss
correct an example which had no chance of working
[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 #define INNODIR GetENV("INNO")
5
6 #if GetEnv("WXW_VER") == "CVS"
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 SetupIconFile={#INNODIR}\art\wxwin.ico
35 Compression=lzma
36 SolidCompression=yes
37
38 [Files]
39 ; source files
40 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
41 ; docs and helpfile
42 Source: "{#INNODIR}\docs\htmlhelp\*"; DestDir: "{app}\docs\htmlhelp\"; Flags: ignoreversion recursesubdirs createallsubdirs
43 Source: "{#INNODIR}\docs\licence.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
44 Source: "{#INNODIR}\docs\readme.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
45 Source: "{#INNODIR}\docs\changes.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
46 Source: "{#INNODIR}\docs\msw\install.txt"; DestDir: "{app}\docs\msw"; Flags: ignoreversion recursesubdirs createallsubdirs
47 ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
48
49 [INI]
50 Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org"
51
52 [Icons]
53 Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets {#WX_VERSION}}"; Filename: "{app}\wx.url"
54 Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
55 Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
56 Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
57 Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
58 Name: "{group}\Uninstall wxWidgets {#WX_VERSION}"; Filename: "{uninstallexe}"
59
60
61 [UninstallDelete]
62 Type: files; Name: "{app}\wx.url"
63