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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:30:24+00:00 2026-05-26T10:30:24+00:00

I have an MSI installer project that installs a windows service. My version numbering

  • 0

I have an MSI installer project that installs a windows service.

My version numbering method is best described by this post: What are differences between AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion?

I am not changing the Version of my install project as that is not changing, and I’ve had too many issues when doing that.

I have already installed my service with the following assembly versions

[assembly: AssemblyVersion("4.3")]
[assembly: AssemblyFileVersion("4.3.0.0")]

I just built an MSI installer to this version:

[assembly: AssemblyVersion("4.3")]
[assembly: AssemblyFileVersion("4.3.1.0")]

When I run the MSI it tells me that I need to uninstall the previous version.

How do I get around this? What I ultimately would like to do is:

  1. Install an MSI
  2. Install (re: upgrade to) another version that overwrites the previous version (prompt or no prompt)
    a. I do not want to have to un-install before I install an update.

My installer project properties are:

RemovePreviousVersions – True

InstallAllUsers – True

DetectNewerInstalledVersion – False

Version – 4.3.0

What I have tried:

  • Update the Assembly Version of the project. However, this creates multiple versions of the same products in Add Remove Programs. Not want I want for windows services
  • Change the version # on the installer project. But this creates a lot of errors when trying to install any version of the MSI. I even got warnings that I was installing on a network drive! (wow).

Any help would be rockin!

Thanks.

  • 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-26T10:30:25+00:00Added an answer on May 26, 2026 at 10:30 am

    in the setup’s setup project properties you need to increment the “Version” property for each version, while keeping the same UpgradeCode.

    When you increment the version it will prompt you if you want to change the ProductCode, Answer “Yes”.

    You must also have the properties for removing the previous version, and detecting new versions set to true.

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

Sidebar

Related Questions

I have a windows installer (MSI) project. I want to ensure that when i
I used windows installer (msi project) and actually I have the msi file after
We have an MSI installer for a .Net WinForms app for Windows XP that
Using WiX (Windows Installer XML) I have created an MSI installer which installs Word
I have a WiX based MSI that installs a service and some shortcuts (and
I have a .NET solution with an installer project that generates an MSI. One
We already have an existing MSI Installer (web deployment project - .vdproj) that we
I'm working on a WiX 3.5 project that installs a Windows service and a
I have created a setup project for a Windows Service that was written in
I have a Visual Studio setup project that generates an msi installer. The installer

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.