Hi Patrick
Yes you can setup the script with macros like this example :
In this example, you have to edit only the top part of the script.
#define MyApplication "d:\dry_mat\khan.exe"
#define MyPassword ""
#define MyDefDir "c:\drymat"
#define MyOutput "e:\aa"
#define MyOutputFile "Update"
#define MyFileName "khan.exe"
#define MyAppName "Khan Software Ltd "
#define MyAppVer "Version 2007.1a"
#define MyCopyright "Copyright © 2000-2007. Khan Software Ltd. All rights reserved."
#define MyURL "
http://www.khan.co.nz"
#define MyCompany "Khan Software Ltd. #2"
[Setup]
Password={#MyPassword}
AppVerName={#MyAppVer}
AppName={#MyAppName}
AppPublisher={#MyCompany}
AppPublisherURL={#MyURL}
AppSupportURL={#MyURL}
AppUpdatesURL={#MyURL}
DefaultDirName={#MyDefDir}
DefaultGroupName={#MyAppName}
AppendDefaultDirName=no
AppCopyright={#MyCopyright}
VersionInfoCopyright={#MyCopyright}
;InfoAfterFile=D:\inno\inst.txt
DisableDirPage=yes
DisableProgramGroupPage=yes
OutputDir={#MyOutput}
OutputBaseFilename={#MyOutputFile}
Compression=lzma
SolidCompression=yes
LicenseFile=d:\inno\warranty.txt
UninstallFilesDir={app}\uninst
UninstallDisplayIcon={app}\khan.exe
To avoide making individule script, I have made two install programs, foxpro8 and foxpro9 to install the runtime files only. When I send my programs to new clients, I ask them to run the runtime exe then copy the program files/data folder.
I shall email you the foxpro-9 install script. Hope this helps.
Shafid