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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:48:29+00:00 2026-05-25T01:48:29+00:00

I have a Setup Project that I made using Visual Studio 2010. The application

  • 0

I have a Setup Project that I made using Visual Studio 2010.

The application that I made (and which the Setup Project deploys) has been released for a while now such that there are users that have the application already installed on their machines.

Since the initial release of the application, the company that I work for has changed its name. Without thinking too much about it, I simply changed the [Manufacturer] name in the setup project’s Deployment Project Properties to the new company name.

Unfortunately, now when a user updates their existing installation of the application with the new updated application, the directory that was in \Program Files\Old Company Name remains untouched and a new directory \Program Files\New Company Name is created and the new update is installed in this new directory.

It makes sense to me why the scenario above is happening – However, do you know if Visual Studio has options/settings that I can set that will tell the setup project to rename the existing \Program Files\Old Company Name directory to \Program Files\New Company Name and then install the update in that new directory?

  • 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-25T01:48:30+00:00Added an answer on May 25, 2026 at 1:48 am

    If this is an update to the application then, it is really only possible through custom actions as Mark Hall suggests. However if it is a complete installation of the application then it is possible to force a uninstall of the previous version and the reinstall to the new version to the new folder.

    In your Setup Projects properties update your Major version number and allow the “Product code” guid to be updated, ensure that the “RemovePreviousVersion” is true and that the “UpgradeCode” has not changed.

    This should force the uninstall of the previous version and install the new version to the new folder.

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

Sidebar

Related Questions

I have created a setup project using Visual Studio 2008. After the application is
I have a Visual Studio Setup Project that I use to install a fairly
I have created a custom dialog for Visual Studio Setup Project using the steps
I have a really simple ASP.NET web application and a web setup project that
I have a setup project created by Visual Studio 2005, and consists of both
I have a windows setup project that installs a service. All works well except
I have a VS2005 deployment & setup project, that makes use of the Tablet
I have a setup project for my C# program, and this setup project has
I have created a setup project in VS2008. My WinForms app uses .NET 2.0,
The .NET Setup project seems to have a lot of options, but I don't

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.