
All,
I've been working on an MSI in InstallShield DevStudio 9.01 for a couple of days solid now, trying to get one aspect to work, and I've really hit a brick wall.
GOAL : I want my new MSI (NEW.MSI) to remove an old MSI (OLD.MSI) on the target machine before the new software begins its installation.
METHOD : The way I have been doing this is by creating a custom action to install an MSI package. I have tried this with all three available options (Included within your main setup; Stored on the source media; An application that is advertised or already installed) and have the same issues. After selecting the correct location for the MSI (or entering the correct GUID) I add "REMOVE=ALL" as the property, to remove the installation.
PROBLEM : The problem I am having is that although NEW.MSI installs ok, it still leaves OLD.MSI installed...
using msiexec /i OLD.MSI REMOVE=ALL /qb removes the app quite happily...
are there any other ways of removing an old msi (not upgrading) from within a new MSI?
Any ideas/suggestions greatly appreciated!