VS 2005 Deployment project - how to launch uninstall of product first?

  • Thread starter Rob R. Ainscough
  • Start date
R

Rob R. Ainscough

I have an older application that was installed via msi approach (setup via
InstallShield), however, it has a different product code than the new
version (setup via Deployment Project in a VS 2005 solution) I want to
install. As a result my newer version does not identify the older version
because the product code is different (so it doesn't uninstall it first).
What I'd like to do is setup a Launch Condition that first uninstalls my
prior version (I know the product code) before installing my newer version.

Can someone point me in the correct direction?

Thanks, Rob.
 
E

Eric Cadwell

Look up msiexec.exe /x or msiexec.exe /uninstall.
You can pass it a product code.

HTH,
Eric
 

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