NewsArchive
06-22-2007, 04:23 AM
Since I seem to be making heavy weather of the XP/Vista mixed-mode installs,
could someone check my logic, please?
I've drawn on what I've learnt here, including Friedrich's suggestion in the
thread "Conditionally Exclude Script" re. the use of the Patch facility to
effectively include 2 different version of the same exe, one with manifest,
one without.. and minimise install size (via patch).
This is what I've set up (refer attached gifs):
* my app (StoreMgr.exe) compiles normally into C:\Clarion55\TCS\StoreMgr.5
folder.
* at the start of the installation, I copy it into the subfolder "VistaExe",
and embed a manifest into *this* version only (clip A.gif)
* at installer run-time, I conditionally install into the target pc; either
the 'normal' version, or (if Vista and above) the version from the VistaExe
sub-folder (clip B.gif)
* to minimise installer size, the Details of the 'normal' install have been
manipulated, in that it uses the VistaExe installed file as if it were a
'previous version' (clip C.gif), and thus just 'patches' from that.
Is this right?
If so, it's remarkably good, because the difference in size is considerable:
from 4.870Mb w/out patching the alternate version, to 4.422Mb - which is
only 16Kb more than a single-exe-version install!!
Steve
could someone check my logic, please?
I've drawn on what I've learnt here, including Friedrich's suggestion in the
thread "Conditionally Exclude Script" re. the use of the Patch facility to
effectively include 2 different version of the same exe, one with manifest,
one without.. and minimise install size (via patch).
This is what I've set up (refer attached gifs):
* my app (StoreMgr.exe) compiles normally into C:\Clarion55\TCS\StoreMgr.5
folder.
* at the start of the installation, I copy it into the subfolder "VistaExe",
and embed a manifest into *this* version only (clip A.gif)
* at installer run-time, I conditionally install into the target pc; either
the 'normal' version, or (if Vista and above) the version from the VistaExe
sub-folder (clip B.gif)
* to minimise installer size, the Details of the 'normal' install have been
manipulated, in that it uses the VistaExe installed file as if it were a
'previous version' (clip C.gif), and thus just 'patches' from that.
Is this right?
If so, it's remarkably good, because the difference in size is considerable:
from 4.870Mb w/out patching the alternate version, to 4.422Mb - which is
only 16Kb more than a single-exe-version install!!
Steve