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

  • Home
  • SEARCH
  • 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 3211726
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:45:51+00:00 2026-05-17T14:45:51+00:00

I created my MSI installer for our C# application via VS 2008. I installed

  • 0

I created my MSI installer for our C# application via VS 2008. I installed it. It created a shortcut for me on the desktop. I clicked that shortcut, the setup process running again and at the end our application was launched. It was not like this yesterday before I added some custom action to create database. I didn’t recreate the shortcut in the installer. why it is like this?

  • 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-17T14:45:51+00:00Added an answer on May 17, 2026 at 2:45 pm

    MSI comes with an auto-repair feature that checks whether all components installed by MSI are still present when you launch your application using the shortcut.

    In your case, probably one (or more) components have been removed so the installer is launched again to repair your installation.

    To prevent auto-repair from running either

    • Make sure no file, registry setting or other installed component is removed

    or

    • Don’t set the key path for those components. That will prevent MSI from checking those specific components

    From your other questions it seems that your MSI has been created by a Visual Studio Setup and Deployment Project. Unfortunately, there is no option to modify the key path from within Visual Studio. You have the following options:

    • Modify the MSI manually using Orca (This is not a good option because it is a manual step)
    • Write a script e.g. using VBScript to patch the MSI file
    • Move to a more advanced install system which gives you more control such as WiX or NSIS
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a Java application that I'm writing an installer for. We're using the
I have WCF client server application, and create msi setup projects for both projects.
Our installer is written with Inno Setup and we are actually quite happy with
I have an .MSI file created using VS2008. This .MSI is composed of a
I have created an installer project in VS2008 and need to supply a settings/parameters
Created a AlertDialog that is used to prompting the user to enter a keyword.
I created a navigation controller based app. The view that opens up below the
I created a web application in ASP.NET MVC and trying to call a controller
I created a simple Sharepoint web part which hosts a silverlight application. I created
We have a bit of an odd setup, which comes from the fact we

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.