X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc48c73f3cc8c2359831fe53c8eec90e958e605a..1ff18f49b97a21cfb2f80e8339060c3d96618be1:/build/script/wxwidgets.iss diff --git a/build/script/wxwidgets.iss b/build/script/wxwidgets.iss index 01216e589f..7dd6a5f8de 100644 --- a/build/script/wxwidgets.iss +++ b/build/script/wxwidgets.iss @@ -1,21 +1,34 @@ ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! +#if GetEnv("WXW_VER") == "CVS" + #define INFOFILE "C:\wx\inno\wxWidgets\BuildCVS.txt" + #define SETUPFILENAME "wxMSW-cvs-Setup" + #define WX_VERSION "CVS" +#else + #define INFOFILE "C:\wx\inno\wxWidgets\docs\msw\install.txt" + #define SETUPFILENAME "wxMSW-" + GetENV("WXW_VER") + "-Setup" + #define WX_VERSION GetENV("WXW_VER") +#endif + + + [Setup] AppName=wxWidgets -AppVerName=wxWidgets CVS HEAD +AppVerName=wxWidgets {#WX_VERSION} AppPublisher=wxWidgets AppPublisherURL=http://www.wxwidgets.org AppSupportURL=http://www.wxwidgets.org AppUpdatesURL=http://www.wxwidgets.org -DefaultDirName={sd}\wxWidgets -DefaultGroupName=wxWidgets +DefaultDirName={sd}\wxWidgets-{#WX_VERSION} +DefaultGroupName=wxWidgets {#WX_VERSION} +UsePreviousAppDir=no DisableProgramGroupPage=yes LicenseFile=C:\wx\inno\wxWidgets\docs\licence.txt InfoBeforeFile=C:\wx\inno\wxWidgets\docs\readme.txt -InfoAfterFile=C:\wx\inno\wxWidgets\BuildCVS.txt +InfoAfterFile={#INFOFILE} OutputDir=c:\daily -OutputBaseFilename=wx-cvs-Msw-setup +OutputBaseFilename={#SETUPFILENAME} SetupIconFile=C:\wx\inno\wxWidgets\art\wxwin.ico Compression=lzma SolidCompression=yes @@ -28,8 +41,13 @@ Source: "C:\wx\inno\wxWidgets\*"; DestDir: "{app}"; Flags: ignoreversion recurse Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org" [Icons] -Name: "{group}\wx-cvs-msw"; Filename: "{app}\wx.exe" -Name: "{group}\{cm:ProgramOnTheWeb,wx-cvs-msw}"; Filename: "{app}\wx.url" +Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets {#WX_VERSION}}"; Filename: "{app}\wx.url" +Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths +Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths +Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths +Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths +Name: "{group}\Uninstall wxWidgets {#WX_VERSION}"; Filename: "{uninstallexe}" + [UninstallDelete] Type: files; Name: "{app}\wx.url"