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