Menu

Commit [r2473]  Maximize  Restore  History

Removed special coding for pre-release versions and reverted to get version number from program's exe file.

delphidabbler 2012-10-12

changed /trunk/Src/Install/CodeSnip.iss
/trunk/Src/Install/CodeSnip.iss Diff Switch to side-by-side view
--- a/trunk/Src/Install/CodeSnip.iss
+++ b/trunk/Src/Install/CodeSnip.iss
@@ -15,7 +15,7 @@
 ;   GetStringFileInfo - gets requested version info string from an executable
 ;   GetFileProductVersion - gets product version info string from an executable
 
-; Deletes "Release " from beginning of S
+; Deletes "Release " from beginning of string S
 #define DeleteToVerStart(str S) \
   /* assumes S begins with "Release " followed by version as x.x.x */ \
   Local[0] = Copy(S, Len("Release ") + 1, 99), \
@@ -42,11 +42,6 @@
 #define WebURL "http://" + WebAddress + "/"
 #define AppURL WebURL + "software/codesnip"
 #define InstUninstDir "Uninst"
-
-; For v4 release alpha, beta and release candidates only,
-; set version number here
-#define AppVersion "4.0-RC.3"
-#define RealVersion "3.999.3"
 
 ; Creates name of setup file from app name, version and any special build string
 #define CreateSetupName(str fn) \
@@ -78,9 +73,7 @@
 InternalCompressLevel=ultra
 OutputDir={#OutDir}
 OutputBaseFilename={#SetupName}
-; VersionInfoVersion changed for v4 alpha, beta and release candidates only
-;VersionInfoVersion={#AppVersion}
-VersionInfoVersion={#RealVersion}
+VersionInfoVersion={#AppVersion}
 VersionInfoCompany={#Company}
 VersionInfoDescription=Installer for {#AppName}
 VersionInfoTextVersion=Release {#AppVersion}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.