|
From: <sag...@us...> - 2010-06-02 21:42:54
|
Revision: 613
http://modplug.svn.sourceforge.net/modplug/?rev=613&view=rev
Author: saga-games
Date: 2010-06-02 21:42:47 +0000 (Wed, 02 Jun 2010)
Log Message:
-----------
[Imp] Installer: Version info is now set automatically. To use this new functionally, ISPP is used (see instructions in install.iss)
Modified Paths:
--------------
trunk/OpenMPT/installer/install.iss
Modified: trunk/OpenMPT/installer/install.iss
===================================================================
--- trunk/OpenMPT/installer/install.iss 2010-05-30 20:46:59 UTC (rev 612)
+++ trunk/OpenMPT/installer/install.iss 2010-06-02 21:42:47 UTC (rev 613)
@@ -3,10 +3,16 @@
; http://sagamusix.de/
; http://sagagames.de/
+; ISPP is needed for automated version retrieval.
+; To download and install ISPP, get the Inno Setup QuickStart Pack from http://www.jrsoftware.org/isdl.php#qsp
+#include "Builtins.iss"
+#define GetAppVersion StringChange(GetFileProductVersion("..\mptrack\bin\mptrack.exe"), ",", ".")
+#define GetAppVersionShort Copy(GetAppVersion, 1, 4)
+
[Setup]
AppId={{67903736-E9BB-4664-B148-F62BCAB4FA42}
-AppVerName=OpenMPT 1.18
-AppVersion=1.18.02.00
+AppVerName=OpenMPT {#GetAppVersionShort}
+AppVersion={#GetAppVersion}
AppName=OpenMPT
AppPublisher=OpenMPT Devs / Olivier Lapicque
AppPublisherURL=http://openmpt.com/
@@ -16,7 +22,7 @@
DefaultGroupName=OpenMPT
AllowNoIcons=yes
OutputDir=.\
-OutputBaseFilename=OpenMPT Setup
+OutputBaseFilename=OpenMPT-{#GetAppVersion}-Setup
Compression=lzma2
SolidCompression=yes
WizardImageFile=install-big.bmp
@@ -252,3 +258,8 @@
+
+
+
+
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|