[DUG] InstallAware Questions

Conor Boyd Conor.Boyd at trimble.co.nz
Tue Jan 30 15:31:24 NZDT 2007


John,

Can you not script that yourself in your own CurStepChanged function?

>From the Inno help:

	procedure CurStepChanged(CurStep: TSetupStep); 
		You can use this event function to perform your own
pre-install and post-install tasks.
 
I've found the scripting ability of Inno Setup to be hugely useful.

For example, the program I'm using it for checks my website on startup
for a newer version, downloads the latest installer, executes the latest
installer, the installer sends a custom Windows message to my app to
shut it down, the installer runs unattended, and then the installer
starts the new version of my program.  I was very impressed with how
solid the scripting is.

HTH,

Conor

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of John Bird

The only thing I haven't found a way to do in the standard program is :
I like to keep a backup program folder (called OldPrograms) and copy the
old version into there before the update is installed - Inno doesn't
seem to have a way to process operations for the older site versions of
the sent files before installing the new ones.



More information about the Delphi mailing list