Hello,
Just use the "Detect Previous Version" in your script. This lets you detect a previously installed version of your product. It returns the installation path, the installed version, and more.
For example:
If %INSTALLEDVERSION% Version Less Than "1.0.1" Then
Do whatever you have to do here
End
Does this help?
Friedrich