Results 1 to 10 of 11

Thread: SB8 Tips and Tricks: Hybrid 32-bit / 64-bit Installation

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default SB8 Tips and Tricks: Hybrid 32-bit / 64-bit Installation

    -- Hybrid 32-bit / 64-bit Installation

    This example demonstrates how to install different versions of a file based
    on the Windows Operating System "bitness" (32/64-bit) from the same
    setup.exe.

    http://www.lindersoft.com/projects/Hybrid3264Demo.zip

    There are multiple options available to handle the scenario. We'll use the
    "Set Feature State..." script function in this example.

    1. Set Installer Type to "Windows 32/64-bit (Hybrid)" in General
    Information -> Generator Settings (see Hybrid1.png). If the installer is
    running on a 32-bit OS, the installer is running in 32-bit mode (installs to
    the 32-bit folders, uses the 32-bit Windows registry, registers 32-bit OCX,
    etc.). If the installer is executed on a 64-bit Windows OS, the installer
    is running in real 64-bit mode (installs to the 64-bit folders, uses the
    64-bit Windows registry, registers 64-bit OCX, etc.).

    2. Create two new 32bit and 64bit Features in the "Features" Visualizer.
    Disable (uncheck) the "Install By Default" option (see Hybrid2.png).

    3. In the "Files and Folders" Visualizer, add your 32-bit specific files to
    the 32bit Feature folder tree and the 64-bit specific files to the 64-bit
    Feature folder tree (see Hybrid3.png).

    4. In the Script Editor, detect the "bitness" of the Windows Operating
    System ("Get System Info -> WOW64 Status" script function). If the setup is
    running on a x64 operating system, enable the 64-bit Feature ("Set Feature
    State" script function). If it is running on a x86 operating system, enable
    the 32-bit Feature (see Hybrid4.png).

    On Windows 64-bit, the setup installs the 64-bit components and on Windows
    32-bit it installs the 32-bit components (see Hybrid5.png and Hybrid6.png).

    That's it :-)

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    --Helping You Build Better Installations
    --SetupBuilder "point. click. ship"
    --Create Windows 8 ready installations in minutes
    --Official Comodo Code Signing and SSL Certificate Partner
    Attached Images Attached Images       

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
  •