Driver Installer supports both 32-bit&64-bit vista

Discussion in 'Windows Vista Drivers' started by anlai, Apr 3, 2007.

  1. anlai

    anlai Guest

    Hi all:
    Dose anyone have the experience of making a installer for driver that
    supports both 32-bit&64-bit vista using InstallShield12?

    I found the info below in IS's help:
    A Windows Installer package cannot be marked as supporting both 32-bit and
    64-bit platforms; for example, Template Summary property values such as
    Intel,x64 or Intel,Intel64 are invalid.

    So anyone have better solution to make one instaler support 32$64 bit Vista?

    anlai, Apr 3, 2007
    1. Advertisements

  2. I hope someone has better ideas.

    Simplest solution is to have two installers: one x86 and one x64. Have user

    Or, can have a third "installer" that is x86. Simply detects OS and starts
    either the real x86 or the real x64, depending on what it detects.

    Good luck,

    Thomas F. Divine
    Thomas F. Divine, Apr 3, 2007
    1. Advertisements

  3. Consider switching to Innosetup, you will get perfect control of these
    issues. It's very simple, straightforward yet packed with features and much
    faster than windows installers. Also, it free.
    Here is their site:

    Daniel Terhell, Apr 3, 2007
  4. In the original Windows Installer 1.0 you were allowed to create a package
    that targeted both alpha and intel but I don't think that this ever worked
    and such multi-platform packages are no longer supported.

    According to Windows Installer team having one MSI per platform is the
    recommended solution. Use a bootstrapper (setup.exe) to launch the
    appropriate MSI is also recommended.

    Adrian Accinelli
    Adrian Accinelli, Apr 4, 2007
  5. anlai

    Jeff Henkels Guest

    As you point out, you'll need two separate MSI files, one for 32-bit,
    another for 64-bit. You could then write your own .EXE wrapper around the
    MSIs; this wrapper could determine if it's running on a 32- or 64-bit
    platform and then install the appropriate MSI (as well as whatever
    prerequisites your application and platform may have, such as .Net
    framework, MSI updates, etc.) The MSISTUFF and SETUP.EXE examples in the
    Windows SDK will be helpful.

    I've done stuff like this in the past -- it's not terribly difficult
    compared to the headaches involved in making the MSIs in the first place.
    Jeff Henkels, Apr 4, 2007
  6. anlai

    anlai Guest

    Great thanks for all of your helps!

    I changed to installscript project ,and use SYSINFO variable to identify the
    operating platform of the target computer.
    It works.
    anlai, Apr 9, 2007
  7. I have a question about deploying such bootstrap exe in enterprise via a GPO.
    We have a product - - not a driver (sorry if this is not
    very relevant to driver development discussion), which admins want to install
    in enterprises via group policy objects.

    As far as I understand we can't really make one MSI that supports both 32
    and 64 bit systems. By the way, our current installer, which is NSIS - is
    capable of doing this. Why not MSI?

    But as we have a lot of requests from enterprise admins to use MSI - how can
    make ONE installer that works with GPO during large deployments and
    especially frequent updates?

    Thanks in advance for any suggestions!

    Nik Okuntseff, May 2, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.