We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

congnt92
Posts: 57
Joined: Wed Apr 16, 2014 7:53 am

The updater working fine even if regedit value isn't exist

Hi
I creat an .exe file to setup my main app and create some .exe files to setup my modules. These module is not require to install. They're simple the plug-in for my main app.
I build an updater.exe which allow updates for both of main app and module if they have new version. If the module is installed on the computer, the updater working fine. But if module isn't install on the computer, when I run the check for updates, the updater display the update for module, too. I think that when the updater was run, it will check the value in update.txt file from our server then compare with current regedit value to display yes or no new version. And it mean, if the regedit value is not exsit (a module was not installed), the updater will not display anything. But it not like that, even if regedit value isn't exist, the updater will display a new version to download and install. It sounds absurd. Have a new version to update with an app was not install on a computer????
What should I do in this case?

p/s: I attached a .rar file. You just download and extract then run updater.exe. It will say that it found new version although my app is not installed on your computer.
Attachments
Updater.rar
(145.67 KiB) Downloaded 346 times
congnt92
Posts: 57
Joined: Wed Apr 16, 2014 7:53 am

Re: The updater working fine even if regedit value isn't exi

Nobody can help me with my issues?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: The updater working fine even if regedit value isn't exi

Hello,

I apologize for my delayed answer.

Please keep in mind that currently this is our default behavior. When our Updater tool search for the registry value it evaluates the search results in two ways:
1. if the registry value (no matter it exists or not) doesn't have the expected value, then the updates should be installed
2. if the registry value exists, but already contains the expected value (or higher) then this means the updates are already installed

We will try to add an improvement in a future version in Advanced Installer which could allow you to use the Updater for multiple application packages at once and which can check if a certain application is installed or not before installing its updates. Thank you for your suggestion. Until then, as a workaround, you should use the Updater tool only for its installed application package. Therefore, you should configure your both installation packages (the main app package and the plug-in package) to use its own Updater.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
congnt92
Posts: 57
Joined: Wed Apr 16, 2014 7:53 am

Re: The updater working fine even if regedit value isn't exi

Thank You for Your Suggestion, Daniel. I will try it now.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: The updater working fine even if regedit value isn't exi

You're welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”