X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08e8a24d33774667342ff103b87e73f1aa6e356b..2028c33ab5a39a12bd410ac953731a56ad6377ba:/build/script/wxwidgets.iss?ds=sidebyside diff --git a/build/script/wxwidgets.iss b/build/script/wxwidgets.iss index 72882c9033..06047a3051 100644 --- a/build/script/wxwidgets.iss +++ b/build/script/wxwidgets.iss @@ -1,11 +1,13 @@ ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! +#define INNODIR GetENV("INNO") + #if GetEnv("WXW_VER") == "CVS" - #define INFOFILE "C:\wx\inno\wxWidgets\BuildCVS.txt" - #define WX_VERSION "CVS" + #define INFOFILE GetENV("INNO") + "\BuildSVN.txt" + #define WX_VERSION "SVN" #else - #define INFOFILE "C:\wx\inno\wxWidgets\docs\msw\install.txt" + #define INFOFILE GetENV("INNO") + "\docs\msw\install.txt" #define WX_VERSION GetENV("WXW_VER") #endif @@ -24,17 +26,24 @@ 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 +LicenseFile={#INNODIR}\docs\licence.txt +InfoBeforeFile={#INNODIR}\docs\readme.txt InfoAfterFile={#INFOFILE} OutputDir=c:\daily OutputBaseFilename={#SETUPFILENAME} -SetupIconFile=C:\wx\inno\wxWidgets\art\wxwin.ico +SetupIconFile={#INNODIR}\art\wxwin.ico Compression=lzma SolidCompression=yes [Files] -Source: "C:\wx\inno\wxWidgets\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +; source files +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 +; docs and helpfile +Source: "{#INNODIR}\docs\htmlhelp\*"; DestDir: "{app}\docs\htmlhelp\"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "{#INNODIR}\docs\licence.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "{#INNODIR}\docs\readme.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "{#INNODIR}\docs\changes.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "{#INNODIR}\docs\msw\install.txt"; DestDir: "{app}\docs\msw"; Flags: ignoreversion recursesubdirs createallsubdirs ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [INI]