]> git.saurik.com Git - wxWidgets.git/commitdiff
add version to Inno Setup
authorChris Elliott <biol75@york.ac.uk>
Fri, 10 Nov 2006 15:26:07 +0000 (15:26 +0000)
committerChris Elliott <biol75@york.ac.uk>
Fri, 10 Nov 2006 15:26:07 +0000 (15:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/script/wxwidgets.iss

index aef22df6ef7a17d5c3e14d75ce8970e04e763488..ada47ee29bde97f4f30a7d7271912dc9f868a580 100644 (file)
@@ -1,9 +1,21 @@
 ; Script generated by the Inno Setup Script Wizard.
 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
 
+#if GetEnv("WXW_VER") != ""
+    #define INFOFILE  "C:\wx\inno\wxWidgets\BuildCVS.txt"
+    #define SETUPFILENAME  "wxMSW-" + GetENV("WXW_VER") + "-Setup"
+    #define WX_VERSION GetENV("WXW_VER")
+#else
+    #define INFOFILE "C:\wx\inno\wxWidgets\docs\msw\install.txt"
+    #define SETUPFILENAME  "wxMSW-cvs-Setup"
+    #define WX_VERSION "CVS"
+#endif
+
+
+
 [Setup]
 AppName=wxWidgets
-AppVerName=wxWidgets 2.8.0
+AppVerName=wxWidgets {#WX_VERSION}
 AppPublisher=wxWidgets
 AppPublisherURL=http://www.wxwidgets.org
 AppSupportURL=http://www.wxwidgets.org
@@ -13,9 +25,9 @@ DefaultGroupName=wxWidgets
 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