Page 1 of 1

Update program version when Updater run

Posted: Fri Apr 27, 2012 2:38 pm
by David H
The current version of the executable is stored in uninstall.ini

When the Updater is run, it will download the newer version of the executable if available but the ini file entry remains unchanged

So if the original version is 1.0, and Updater brings down version 1.1, the ini file will still contain 1.0

If the Updater is run again, it doesn't realize that the new version has already been downloaded and will do it again.

I am suggesting that Updater locate and change the program version number in the ini file

Re: Update program version when Updater run

Posted: Sun Apr 29, 2012 6:04 am
by Leo
You need to add Uninstaller (Installation-Uninstallation tab) in the Updater program.

Re: Update program version when Updater run

Posted: Sun Apr 29, 2012 7:04 am
by David H
Leo,

I am not sure I understand - could you expand on that?

I don't want to uninstall the whole package - just want to replace the executable file

Re: Update program version when Updater run

Posted: Mon Apr 30, 2012 10:15 am
by Leo
You don't need to uninstall your app. Just add the Uninstaller in the Updater project. Then it will update program version correctly.

Re: Update program version when Updater run

Posted: Tue May 01, 2012 4:48 pm
by David H
Leo,

Please provide more detail. An example would be very helpful.

Perhaps this should be moved to the Discussion forum

Also, is there a forum setting that would email me when a response is posted?

Re: Update program version when Updater run

Posted: Mon May 14, 2012 4:11 am
by Leo
David, you have two Actual Installer projects: Main setup program and Update program.
You said that after updating version is not changed - it's couse you didn't select 'Include Uninstaller' in your Updater package.
Please select it and then rebuild Updater - it must work correctly.
After that update, version number will be changed in 'Uninstall.ini' and Control Panel (Programs and Features).

Re: Update program version when Updater run

Posted: Mon May 14, 2012 4:15 am
by Leo
David H wrote: Also, is there a forum setting that would email me when a response is posted?
Yes, at the bottom of input area there is Options tab and checkbox 'Notify me when a reply is posted'.