How to uninstall a product from Installshield

1.4k Views Asked by At

I am having a 3rd party software in my machine. Let the name be Temp.msi

Now I need to uninstall this software when I am installing my setup (setup.exe).

It should not ask for any prompt, is there any way in installshield to do that?

1

There are 1 best solutions below

3
yossiz74 On

If you have the msi which was used to install the software, You can create a custom action that performs silent uninstall of that product by using:

msiexec /uninstall <msi file> /quiet

(or, for Windows XP/2003: /x <msi file> /qn)

If you don't have the original msi, you need to know, or figure out, the Product Code of that software and use

msiexec /uninstall <product code> /quiet

Figuring out the product code can be done in several ways, a lot of information about it is available, such as here.