installer - InnoSetup: Check oldest version of app and show info message -


How was the oldest version of the application installed during the new version of installation? What do i mean I am waiting for "notification" if I meet my old version of the installation then I can provide an "update or outdated and new install" dialog. How can I do this? Thank you.

I'm not sure that this one una-setup always assumes that you have to install a new one Or want to update existing installation. I do not think you can switch from Setup to "installation mode" from "uninstallation mode" to the user's choice as if you want to.

InnoSetup works differently at that point from Windows Installer. This is a separate installer and uninstaller, which is in contrast to Windows Installer, which is "included in both"

If you want that facility, you can check (YX), which creates an MSI setup and can do precisely what you are looking for.

Edit
First, thanks for the downvote I do not know enough to give anyone a perfectly reasonable answer What will happen because of this, but I think it will have to cope with it.

To answer your comment about Before Install : If you see the document that you will see that first install to Item is installed before it is called. Excerpt from Docs:

The name of a function that is to be told once before installing the entry

You want to do comes down:

  1. Determine whether the user should be able to choose whether he wants to install or uninstall after setup is set
  2. based on The user's choice to install or uninstall on

what I try to say It is as far as I know that you can not change installation mode (running setup.exe) in uninstallation mode (uninstall.) From your installation script

InnoSetup assumes that Setup.exe is the same as the wish to install or install. I wanted to uninstall the user, that would have been uninstaller, not setup.


Comments