+ Reply to Thread
Results 1 to 5 of 5

Thread: Conditional .msi execution?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Unregistered Guest

    Default Conditional .msi execution?

    Hi,

    I would like to execute a .msi (Windows Installer) based on the installed Windows Installer Runtime.

    Something like the following:

    if msi_runtime = 1.2 then execute msi120.msi
    elseif msi_runtime = 2.0 then execute msi200.msi
    else message "you don't have a valid Windows Installer Runtime available

    Is this possible with SB5? If yes, what's the overhead of this "wrapper" method?

  2. #2
    Unregistered Guest

    Default Re: Conditional .msi execution?

    Forgot the following:

    1.) Can we create a single setup.exe (both .msi files are included in the executable)?

    2.) If SB5 can do the job, can I buy now for $199.95 and get SB5 free? Or do I have to pay another $49.95 to get version 5 (not a problem for us, btw)?

    3.) Because SB5 beta is not available yet, can I send you my .msi files and you create the (simple) installer for us?

    Thanks again!

  3. #3
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Conditional .msi execution?

    Yes, SB5 can compile such a "wrapper" without any problem. Because you don't need any wizard interface nor an uninstaller system, the overhead will be around 80 KB.

    The script to handle this would look like the following:

    ! Include your .msi files
    Include Support File msi120.msi
    Include Support File msi200.msi

    ! Get Windows Installer Runtime version
    Set Variable %MSIVER% to SystemInfo(Windows Installer Version)

    ! Extract major version number
    Set Variable %MSIVER% to Extract Major Number(%MSIVER%)

    If %MSIVER% Equals "1" Then
    Run Windows Installer %TMPDIR%\msi120.msi
    ElsIf %MSIVER% Equals "2" Then
    Run Windows Installer %TMPDIR%\msi200.msi
    Else
    Display Message Box "You don't have a valid Windows Installer Runtime available!"
    End

    If you buy SetupBuilder 4 Standard now (for $199.95) you'll get a free upgrade to SB5 when released.

    BTW, we can compile this simple installer for you. After ordering, please send your .msi files to sb5@lindersoft.com

  4. #4
    Unregistered Guest

    Thumbs up Re: Conditional .msi execution?

    Thank you! It works perfect!!!!!!!!

  5. #5
    Unregistered Guest

    Smile Re: Conditional .msi execution?

    By the way, the single-file setup.exe (includes both .msi files) is now about 70% smaller than the original .msi files. I can send it through email now (saves a few thousand dollars).

    Thanks again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Conditional Wizard Dialog
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 2
    Last Post: 10-16-2006, 08:15 AM
  2. Conditional copy files
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 1
    Last Post: 02-22-2005, 01:59 AM
  3. Our InstallShield 8 .msi stopped working on XP SP2
    By Unregistered in forum SetupBuilder
    Replies: 5
    Last Post: 06-08-2004, 10:13 AM

Tags for this Thread

Posting Permissions

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