Here is a sample inno script which "wraps" the package wizard install into a
single .exe
[Setup]
SourceDir=c:\RidesRunTime
AppName=Rides Runtime System
AppVerName= Rides 1.5
DefaultDirName=c:\RidesRunTime
Compression=lzma
SolidCompression=yes
DirExistsWarning=no
DisableDirPage=yes
DisableProgramGroupPage=yes
Uninstallable=no
[Files]
Source: "*"; DestDir: "{app}"
Source: "files\*"; DestDir: "{app}\files"
Source: "files\setup\*"; DestDir: "{app}\files\setup"
[Run]
FileName: {app}\setup.exe; Parameters: "/qb"
I as a rule highly recommend that you split your install into two packages.
One install is the application part, and the other install is the runtime.
That way, issuing updates is the SAME process as installing the front end
part. You can simply "send" users to the same web site over and over for
updates. In fact, I used use
application.FollowHyperlink "web site path name to .exe"
application.quit
Do the above means that I could update my software with 2 lines of code!!
(I don't use the above anymore..but, it great way to update your software).
By separating the installs, it is a "bit" more work for the end user, but
then for updates it is FAR easier (and, I issue frequent updates to my
software).
So, on your web site you just have:
step 1: install application click here
step 2: install runtime click here
You can put the whole thing into one install, but I recommend you don't.
Furthermore, if you setup an install for your application part in inno, you
avoid the problems of trying to update your software (the package wizard
really does not do this well at all). And, without the runtime, your updates
are VERY small indeed....usually less then a 10 second download on high
speed net.
I now use a custom ftp routine + an inno script for updates. here is a
series of screen shots in access as to how my customers now update their
software:
http://www.kallal.ca/ridestutorialp/upgrade.html
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal.DeleteThis@msn.com
>> Stay informed about: A2003: Possible to create a downloadable EXE setup file?