+; Script generated by the Inno Setup Script Wizard.\r
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!\r
+\r
+#define INNODIR GetENV("INNO")\r
+\r
+#if GetEnv("WXW_VER") == "SVN"\r
+ #define INFOFILE GetENV("INNO") + "\BuildSVN.txt"\r
+ #define WX_VERSION "SVN"\r
+#else\r
+ #define INFOFILE GetENV("INNO") + "\docs\msw\install.txt"\r
+ #define WX_VERSION GetENV("WXW_VER")\r
+#endif\r
+\r
+#define SETUPFILENAME "wxMSW-" + GetENV("WXW_VER") + "-Setup"\r
+\r
+\r
+\r
+[Setup]\r
+AppName=wxWidgets\r
+AppVerName=wxWidgets {#WX_VERSION}\r
+AppPublisher=wxWidgets\r
+AppPublisherURL=http://www.wxwidgets.org\r
+AppSupportURL=http://www.wxwidgets.org\r
+AppUpdatesURL=http://www.wxwidgets.org\r
+DefaultDirName={sd}\wxWidgets-{#WX_VERSION}\r
+DefaultGroupName=wxWidgets {#WX_VERSION}\r
+UsePreviousAppDir=no\r
+DisableProgramGroupPage=yes\r
+LicenseFile={#INNODIR}\docs\licence.txt\r
+InfoBeforeFile={#INNODIR}\docs\readme.txt\r
+InfoAfterFile={#INFOFILE}\r
+OutputDir=c:\daily\r
+OutputBaseFilename={#SETUPFILENAME}\r
+SetupIconFile={#INNODIR}\art\wxwin.ico\r
+Compression=lzma\r
+SolidCompression=yes\r
+\r
+[Files]\r
+; source files\r
+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\r
+; docs and helpfile\r
+Source: "{#INNODIR}\docs\htmlhelp\*"; DestDir: "{app}\docs\htmlhelp\"; Flags: ignoreversion recursesubdirs createallsubdirs\r
+Source: "{#INNODIR}\docs\licence.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs\r
+Source: "{#INNODIR}\docs\readme.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs\r
+Source: "{#INNODIR}\docs\changes.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs\r
+Source: "{#INNODIR}\docs\msw\install.txt"; DestDir: "{app}\docs\msw"; Flags: ignoreversion recursesubdirs createallsubdirs\r
+; NOTE: Don't use "Flags: ignoreversion" on any shared system files\r
+\r
+[INI]\r
+Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org"\r
+\r
+[Icons]\r
+Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets {#WX_VERSION}}"; Filename: "{app}\wx.url"\r
+Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r
+Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r
+Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r
+Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths\r
+Name: "{group}\Uninstall wxWidgets {#WX_VERSION}"; Filename: "{uninstallexe}"\r
+\r
+\r
+[UninstallDelete]\r
+Type: files; Name: "{app}\wx.url"\r
+\r