Reply to Thread

Post a reply to the thread: How can we stop installation with message if already same version setup is installed

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 09-29-2020, 06:46 AM
    linder

    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
  • 09-29-2020, 06:16 AM
    testuser

    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!!!

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •