Commandline Add/Remove Program

  • Thread starter Thread starter smcoe1
  • Start date Start date
S

smcoe1

I have developped a new version of software and was wondering if their
was a way to launch the uninstaller for the old software through the
installer. (via commandline or something)

Thanks in advance.
 
I have developped a new version of software and was wondering if their
was a way to launch the uninstaller for the old software through the
installer. (via commandline or something)

If it has an MSI based installer you can run

Msiexec.exe /x <product code>


Mattias
 
Hi
we can Unlnstall the Old versionby specifing the property in MSI.
there is a property RemovepreviousVersion set this property to true it will
automatically remove the old version

Regards
Prabakar
 
Yes I have looked into this (maybe I am doing this wrong).

We have moved from Windows installer (visual Studio 2003) to install
sheild as well as from MFC to .net 2.0.

I have tried adding changing the product ID's to match the MFC version,
but it will not uninstall properly (maybe this is because I am not
populating the correct ID). So I figured that if I run the Uninstaller
via install sheild I may be able to get it to work in the same fashion.

I have tried running the MSI uninstaller manually but I can't seem to
get it to work either. I must be using the wrong Product ID.
Which/where would I find the correct ID.

S.
 
Back
Top