How can we stop installation with message if already same version setup is installed
Hello,
Currently if we install one setup exe(version 1.0.0) and if we again try to install same exe(version 1.0.0) then it shows all screens and gets installed. As already product with 1.0.0 version is installed so if user tries to install a product with 1.0.0 version then user should get message that already this version is installed and installer should be closed. if user tries to install lower version than installed then user should get message that already higher version is installed do you want to continue??
Is there any inbuilt function or check there in SB or do we have to handle this manually in script?
Thanks in advance!!!
Re: How can we stop installation with message if already same version setup is instal
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