Question

How do I change the location or name of the uninstaller?

How do I change the location or name of the uninstaller?

Answer:

Sometimes, it is desirable to change the name or location of the uninstaller, for example to avoid it from being overwritten if two different products are installed in the same base directory. You can use the uninstallerName and uninstallerDirectory tags for this purpose.

<uninstallerDirectory>${installdir}/subdir</uninstallerDirectory>
<uninstallerName>myuninstaller</uninstallerName>