Can a VS Setup and Deployment installer trigger an external install.

Posted on 2012-09-07
Last Modified: 2012-09-25
In VS2008, is there a way to trigger an external install during the original one.  Here is what I am tring to do.

I have an application that gets installed using a Setup and deployment project.  (Setup.exe)

I want at the end or near the end to trigger another Setup.exe (located in a slightly different directory to install some NI software (also Setup.exe).  Their redistributable doesn't seem to include just one MSI, but rather several.  Thats why I want to trigger the setup.exe.

I have tried to do this using Custom Actions (both Install and Commit) to trigger the other install and that seems to start ok, but never finishes.  I think the windows installer is using a mutex to prevent the second installer from really getting going because it thinks the original installer isn't complete.

I have tried to go down the route of creating an installer class but I didn't get very far with that because I could only get it to work with MSI not bootstrappers as shown below.

 ( System.Diagnostics.Process.Start("MSIEXE.EXE", "/i """ & savedState.Item("OtherMSIPath").ToString & """ /qb"))

Any help is greatly appreciated.
Question by:Dave_Gleason
    LVL 83

    Accepted Solution


    Author Comment

    Tried that,

    Seems like the custom action can't call another installer (because the first isn't complete).  If I place the custom action at the Install or Commit level an error is thrown during install.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now