Set Variable DoUninstall to FALSE
If Variable NEEDSUPGRADE Equals TRUE
Set Variable DoUninstall to TRUE
end
If Variable FoundOldMsi not Equals
Set Variable DoUninstall to TRUE
end
I've put this plugin together with the EditFile plugin into a new setup which you can download here:
Actually InstallAware makes it so easy to create plugins that I just couldn't resist. The hardest part (as you can see from one of my previous posts) was finding the docs