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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:57:50+00:00 2026-06-15T22:57:50+00:00

My Visual Studio 2008 setup project is changed so that merge modules for MFC

  • 0

My Visual Studio 2008 setup project is changed so that merge modules for MFC and VC have replaced DLL’s that were installed manually in the installation folder. I’m okay with merge modules, but there is a problem. In previous setup user could choose between “Everyone” and “Just me”. In new setup this choice has no effect, and installation is always for everyone because of merge modules, which must be installed for everyone. So, if previous installation was “just for me” then new installation does not remove DLL’s of previous installation, and in Control Panel there are two installations with the same name.

In setup project of new version ProductCode is changed, UpgradeCode is not, RemovePreviousVersion is set to true, and Version is higher than it was before.

If I exclude merge modules from setup, and install new version “just for me” then all is well. Old files are removed, and there’s only one installation in Control Panel. But I would rather not burden users with separate installation of redistributable packages.

How can I in Visual Studio 2008 setup have both merge modules, and instruct setup to remove previous version, even though previous version was “just for me”, and new is for “everyone”?

Mаybe better question would be what would you do in my place to resolve this issue?

  • 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-06-15T22:57:51+00:00Added an answer on June 15, 2026 at 10:57 pm

    Windows Installer (handler of MSI files) will not uninstall one product during the installation of another. Also, the same installation is viewed as two different products when installed both per user (“just me”) and per machine (“everyone”). It is therefore nothing you can do from .msi to uninstall old per user installation if new is to be installed per machine.

    Options are, ordered by preference:

    1. Make bootstrapper installation (.exe) that would seek and uninstall all that needs uninstalling. Bootstrapper is also preferred way to install prerequisites, instead of doing with merge modules.
    2. From .msi you can just detect that something is wrong, and stop the installation. I’ve done this, but will work on first option as well.
    3. Ignore the problem, say it’s by design, and do nothing. It’s all in the hands of the user.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a fully working Setup project within Visual Studio 2008 that takes inputs
I'm using Visual Studio 2008 and have created a setup project for my application.
I've created a working Visual Studio 2008 web setup project that builds an MSI
I have created a setup project using Visual Studio 2008 . When installing on
I have a WinForms project in Visual Studio 2008, and I've created a Setup
I have a standard Visual Studio (2008) application setup project, which generates an msi
I have Visual Studio 2008 project on which I added a Setup Project. It
I have created a setup project using Visual Studio 2008. After the application is
I have a setup project in Visual Studio 2008 which is supposed to install
I have created setup project in Visual Studio 2008. How do I run this

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.