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 6617889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:45:30+00:00 2026-05-25T20:45:30+00:00

I am having a very annoying problem. I have an application with a setup

  • 0

I am having a very annoying problem.

I have an application with a setup project included in the solution that builds a .msi. I use VS 2008.
I have incremented the version of the setup project – selected the project in solution explorer, pressed F4, and incremented version, and modified “Manufacturer” and “Author” fields. I then rebuilt the application and the setup project also afterwards.

The most bizarre thing happens then: when I run the resulting .msi file in a non-silent manner, it installs the latest version in the correct C:\Program Files (x86)[Manufacturer]\ path.

But when I call the setup file from the application code, with the silent arguments:

processStartInfo.Arguments = "/i " + "\"" + file + "\"" + "/qn";

…then it installs the previous version (the one before incrementing the setup project version) and also it installs it in the old manufacturer path.

Is the .msi setup file storing two versions inside it that hold different variables/ setup properties?! I am stumped and very annoyed, I have now lost four hours on this issue.
I have deleted temp files. I have verified the correct .msi is in the correct path a dozen times.

I need to force the .msi to consider the updated setup properties when installing with silent argument as well.

Here is the code from the application that calls the setup:

    private static void RunSetupFile()
    {
        string file = Path.Combine(Utils.GetAppTempPath(), Utils.ApplicationUpdate_SetupFileName);
        ProcessStartInfo psi = new ProcessStartInfo(Path.Combine(Environment.SystemDirectory, "msiexec.exe"));
        psi.WindowStyle = ProcessWindowStyle.Hidden;
        psi.Arguments = "/i " + "\"" + file + "\"" + "/qn"; 
        psi.UseShellExecute = true;
        psi.Verb = "runas";
        try
        {
            Process process = Process.Start(psi);
        }
        catch (System.ComponentModel.Win32Exception)
        {
        }
    }

And below is the code that calls the above method, perhaps here is the culprit:

    public static void InitializeAppUpdate()
    {
        DownloadNewSetupVersionFromServer();
        RunSetupFile();
        Utils.CloseApplication();
    }

Thank you for any idea. Let me know if I should provide more details.

  • 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-25T20:45:30+00:00Added an answer on May 25, 2026 at 8:45 pm

    The log seems ok and I’m pretty sure the problem is not caused by the package.

    The only causes I can think of are an incorrect path or an incorrect MSI file. Based on your code I assume you’re trying to handle some sort of update, perhaps with a downloaded MSI file.

    Try debugging your application to see what path is stored in file variable. Right before executing Process.Start go to that path and check the MSI:

    • open it with Orca
    • select Property table
    • check the Manufacturer and ProductVersion properties

    Perhaps it’s the old MSI file and not the new one. If it isn’t, try running the command line manually with and without /qn right before Process.Start.

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

Sidebar

Related Questions

Im having a very strange problem, i have a complicated view that returns incorrect
I have a very annoying problem that has left me scratching me head when
I've run into a very annoying problem that I'm having an impossible time solving.
I am having a very strange problem in a simple program and have been
Having a very annoying problem with passing data between activities. This is the code
I am having a very common problem which it seems that all the available
I am having a very strange problem with pound signs displaying incorrectly (or not
we've got an almost-finished-ready-to-go magento shop, that has developed an annoying problem. On the
I use Visual Studio 2008 primarily for web development, and there's one annoying behaviour
Having a very strange issue regarding postback in ASP.NET. I have page dynamically populating

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.