I am trying to build installer using InnoSetup. I want automatically upgrade application when update will be available.
Following is algorithm I am trying to implement.
When every time app is started, get the latest build info from server file.
Compare it with current version of build.
If current_version < latest_version, then download the latest build.
Quit current app.
Install New build.
Launch New app.
I checked various examples on internet. Most of examples start with
Procedure InitializeWizard
But what I suspect InitializeWizard
only checks at start of setup, not at time of launch.
Is that true?
If it is then is there any way in innosetup to check this or do I take care from application code itself?
Thank you.