Cannot install my product over itself

  • Thread starter Michael A. Covington
  • Start date
M

Michael A. Covington

I have a software product which I deploy as an .msi package generated with
Visual Studio 2005.

After I rebuild it for a minor change, I cannot install the new .msi over
the old one. Instead I'm told to go to Add/Remove Programs and uninstall
the old version first.

This did not happen when I was using Visual Studio 2003. What changed, and
how can I get the original behavior back? I would like for later builds of
the same version to be able to install over earlier ones.
 
B

Brendan Green

Did you change the product code / upgrade code of the MSI?

Is Remove Previous Version set to true?
 
M

Michael A. Covington

Brendan Green said:
Did you change the product code / upgrade code of the MSI?

No. My understanding was that I should not. In fact, when I tried changing
the Product Code, it installed, but I got duplicate entries in the
Add/Remove Programs list, so I concluded this wasn't the correct solution.
I retrieved the Product Code from a backup copy of the project and put it
back.
Is Remove Previous Version set to true?

Yes. I seem to recall that it didn't make a difference.
 
B

Brendan Green

Hmmm. Is DetectNewerInstalledVersion set to true? And
RemovePreviousVersions?
 
M

Michael A. Covington

Brendan Green said:
Hmmm. Is DetectNewerInstalledVersion set to true? And
RemovePreviousVersions?

Yes. And in a quick check, flipping them to False didn't seem to make a
difference.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top