Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3974108
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:31:46+00:00 2026-05-20T04:31:46+00:00

We have a large C# application which is deployed using an .MSI file which

  • 0

We have a large C# application which is deployed using an .MSI file which is built through Visual Studio 2010 (or MSBuild.exe) from a .VDProj file. When run normally, the .MSI installer will check that certain pieces of software are installed, and meet some minimum version, and will produce a helpful error message and exit if the version conditions are not met.

This all works fine. However, we are experiementing with using msiexec.exe to run the existing installer silently. If the additional software required for the MSI is already installed, then we get a 0 error code back from the msiexec, and likewise, if the MSI fails because other software does not exist on the system or fails the minimum version requirement, we get a non-zero error code back.

Is there any way to programmatically interrogate the .MSI file and find out what it’s launch conditions are? I’ve tried experimenting with msiexec to extract the files from the .MSI, but I still can’t see any kind of config file which lists the minimum version requirements for the install.

Any help would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T04:31:47+00:00Added an answer on May 20, 2026 at 4:31 am

    Interrogating the MSI to see the conditions inside will indeed give you the list of said conditions, but not which one failed. You may want to run msiexec with the /L to switch to have better logging (please refer to the doc for precise syntax).

    If the list of conditions is enough, I’d suggest to have a look at Orca (MSDN), an easy way to peep inside .msi files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For an application which is deployed on a large number of machines I took
We have a large multi tenanted website which requires thousands of lines of web.config
I am refining a large body of native code which uses a few static
I am developing a domain-specific application library in Java and C#. I'd like suggestions
Looking for some practical advice here and any experiences people have had in a
We have a suite of interlinked .Net 3.5 applications. Some are web sites, some
I know this question has been asked a million times in various ways by
OSGi applications are composed of modules called bundles. The problem is that any reasonably
I am writing a C# .NET 2.0 .dll that is a plug in to
I joined a new company about a month ago. The company is rather small

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.