I've made a new installer for our application which works great.
Now I need to be able to uninstall our previous version automatically. This was installed with a Visual Studio 2005 installer and then patched using our own patching tool.
So now I need to:
- Uninstall two MSI packages (for which I have a selection of possible GUIDs - so I don't want errors if those installs are not present)
- fire off an older installer for a component (very old InstallShield package).
- delete whats left over (several dirs & files added after the original install)
Am I best doing this with a custom action? If so how do I do this- with VBScript? I tried this for the MSI uninstall with no luck.
Maybe it should be a prerequisite? Or a sort of 'reverse prerequisite'?
Perhaps I should write a VB app to perform these tasks and just fire that off before the installer carries on.
I'm not quite sure the best approach...
FOLLOW US
Get the latest news in Application Packaging