]> git.saurik.com Git - wxWidgets.git/blame - build/tools/wxwidgets.iss
Remove obsolete CodeWarrior-related batch files.
[wxWidgets.git] / build / tools / wxwidgets.iss
CommitLineData
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
25AppName=wxWidgets\r
26AppVerName=wxWidgets {#WX_VERSION}\r
27AppPublisher=wxWidgets\r
28AppPublisherURL=http://www.wxwidgets.org\r
29AppSupportURL=http://www.wxwidgets.org\r
30AppUpdatesURL=http://www.wxwidgets.org\r
31DefaultDirName={sd}\wxWidgets-{#WX_VERSION}\r
32DefaultGroupName=wxWidgets {#WX_VERSION}\r
33UsePreviousAppDir=no\r
34DisableProgramGroupPage=yes\r
beee5d68
VZ
35LicenseFile={#WXW_DIR}\docs\licence.txt
36InfoBeforeFile={#WXW_DIR}\docs\readme.txt
6dbc37ce
VZ
37InfoAfterFile={#INFOFILE}
38OutputDir={#WXW_DIR}\..
39OutputBaseFilename={#SETUPFILENAME}
40PrivilegesRequired=none
beee5d68 41SetupIconFile={#WXW_DIR}\art\wxwin.ico
988cece5
CE
42Compression=lzma\r
43SolidCompression=yes\r
9bd76599
VZ
44
45[Files]
46; source files
591c850f 47Source: "{#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]
50Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org"
988cece5
CE
51\r
52[Icons]\r
81dd4808 53Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets}"; Filename: "{app}\wx.url"\r
988cece5
CE
54Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r
55Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r
56Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r
57Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r
58Name: "{group}\Uninstall wxWidgets {#WX_VERSION}"; Filename: "{uninstallexe}"\r
59\r
60\r
61[UninstallDelete]\r
62Type: files; Name: "{app}\wx.url"\r