Thread: [Meta-diff-devel] InstallerScripts metadiff.iss,1.10,1.11
Brought to you by:
undees
From: Sebastian S. <ey...@us...> - 2005-09-02 22:43:39
|
Update of /cvsroot/meta-diff/InstallerScripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13654/InstallerScripts Modified Files: metadiff.iss Log Message: Now uses the Inno Setup Preprocessor (more to experiment with it than as a real necessity). Index: metadiff.iss =================================================================== RCS file: /cvsroot/meta-diff/InstallerScripts/metadiff.iss,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** metadiff.iss 30 Aug 2005 07:38:50 -0000 1.10 --- metadiff.iss 2 Sep 2005 22:43:27 -0000 1.11 *************** *** 1,2 **** --- 1,20 ---- + ; This script required the Inno Setup QuickStart Pack which includes a + ; preprocessor: http://www.jrsoftware.org/isdl.php#qsp + + ; If the application name or version number changes, just edit them here. + #define APP_NAME 'meta-diff suite' + #define APP_VER '2.2' + + ; For some reason, the predefined "Local" array is not usable here. + #dim TEMP[2] + #define FILENAME \ + TEMP[0]=Pos('-',APP_NAME), \ + TEMP[1]=Pos(' ',APP_NAME), \ + Copy(APP_NAME,1,TEMP[0]-1)+Copy(APP_NAME,TEMP[0]+1,TEMP[1]-TEMP[0]-1)+ \ + '-'+ \ + Copy(APP_NAME,TEMP[1]+1)+ \ + '-v'+ \ + APP_VER + [Code] var *************** *** 34,37 **** --- 52,59 ---- ConfigFile,DirProgram,FileProgram,lvdiff:string; begin + // Possible values: + // ssInstall - Just before the actual installation starts + // ssPostInstall - Just after the actual installation finishes + // ssDone - Just before Setup terminates after a successful install if CurStep<>ssDone then Exit; *************** *** 59,71 **** ; Compiler-related InternalCompressLevel=max ! OutputBaseFilename=metadiff-suite-v2.2 SolidCompression=yes ; Installer-related AllowNoIcons=yes ! AppName=meta-diff suite ! AppVerName=meta-diff suite 2.2 ! DefaultDirName={pf}\meta-diff ! DefaultGroupName=meta-diff suite DisableStartupPrompt=yes LicenseFile=..\CompareShellEx\CompareShellEx-License.txt --- 81,93 ---- ; Compiler-related InternalCompressLevel=max ! OutputBaseFilename={#emit FILENAME} SolidCompression=yes ; Installer-related AllowNoIcons=yes ! AppName={#emit APP_NAME} ! AppVerName={#emit APP_NAME+' '+APP_VER} ! DefaultDirName={pf}\{#emit APP_NAME} ! DefaultGroupName={#emit APP_NAME} DisableStartupPrompt=yes LicenseFile=..\CompareShellEx\CompareShellEx-License.txt |