Results 1 to 2 of 2

Thread: Please check my logic... <g> (multiple versions, w/ & w/out manifest)

  1. #1

    Default Please check my logic... <g> (multiple versions, w/ & w/out manifest)

    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
    Attached Images Attached Images    

  2. #2

    Default Re: Please check my logic... <g> (multiple versions, w/ & w/out manifest)

    I'm thinking that the second step (shown in clip B.gif) is wrong.

    > * 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)

    What I originally had was ' install this OR that, depending upon the Windows
    version.
    But, on reflection, for the patch to work, the 'vista' version must *always*
    be installed.

    Then, the conditional install is (pseudo-code):
    If windows version < Vista then
    install 'normal' version (as patch)

    ...which, as I understand it, 'undoes' the manifest addition from the vista
    version by applying the patch.


    Ok.. right *this* time? <g>

    S.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •