hi there,

I'm facing the problem to remove 2 or more legacy setups (created by NSIS to be precise) before installing my MSI. I have searched the net for some time now but can't find a place to start from. The only thing I do know is that I can't use the upgrade table as it only works with installed GUIDs.

(NSIS creates something like this:

"DisplayName"="BigNSISTest (remove only)"
"UninstallString"="\"C:\\Program Files\\NSISTest\\BigNSISTest\\bt-uninst.exe\""

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity



You should be able to create a custom action in your MSI (or MST if it is a vendor MSI) that runs the uninstall string you've mentioned in your post.

There maybe a nice silent switch you can use - have a play with command line switches for the "bt-uninst.exe"

It may also be possible to use the original install .exe with switches to uninstall (/x or /uninstall maybe).

Hope this points you in right direction,

Answered 04/17/2007 by: dunnpy
Red Belt

Please log in to comment
use the appsearch table to search for a file / reg key that you know will exist when the app is installed.

when these are found you can set a property such as APPFOUND="xxxx"

then create a CA give it a condition of APPFOUND="xxxx" then use a silent uninstall command for the CA
Answered 04/18/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment