[SOLVED]Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel

Another version of this product is already installed.  Installation of this version cannot continue.  To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel

I tried to install a new version of windows services that packed into 1 setup.msi and encounter the above mentioned error. To resolve it I tried google read lots of but then find the following article

steps to solve the error:

1. Execute the following command from command prompt:

msiexec /i program_name.msi /lv logfile.log

where program_name.msi is the new version

/lv is log Verbose output

2. open up the logfile.log in the editor

3. find the GUID in it

I found it like the following

Product Code from property table before transforms: '{GUID}'

4. Above mentioned article suggest  to search it in the registry but to find the uninstall command. Try if you like to see it in the registry.

you need to search twice to to get there there you

I tried the following command as it mentioned in the above mentioned article but it didn’t work for me. so I keep digging until I got

It mentioned the use of msizap.exe

5.   by combining the commands from both the articles I able to uninstall the service successfully

execute the following command from the visual studio command prompt if you already have installed or get it from Microsoft website

http://msdn.microsoft.com/en-us/library/aa370523%28VS.85%29.aspx

msizap.exe TWP {GUID}

it did the trick and removed the installed service successfully

This article is part of the GWB Archives. Original Author: kazim sardar mehdi

New on Geeks with Blogs

  • We Won The One Award I Actually Care About

    Full Scale made the Inc. 5000 for the fifth year straight, the 12th listing across my three companies. Here is why the one award you cannot buy is worth stopping for.

  • Your Customers Build the Features Now

    I let a tool I liked sit dead for a year rather than build the features I wanted. An MCP server meant I never had to, and your customers can do the same to your product.

  • Get the Size of a Directory in Linux the Easy Way

    du -sh for the quick answer, ncdu for the cleanup, df for the disk itself: every command for checking directory size in Linux, plus why du and df never agree.

  • Vim Search and Replace: The Ultimate Guide

    One :%s command replaces every match in a file before a find dialog would even open. The Vim substitute patterns worth the muscle memory: flags, ranges, capture groups, and multi-file edits.