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!

TBrame
Posts: 14
Joined: Fri Nov 17, 2006 3:01 pm

Update checking registry

Hello, we are utilizing the update program that is provided with your software, and either it is not behaving correctly or I am misunderstanding how it works (more than likely the latter!).

With our application, some of the installed files that we need to update's size or version may not change between updates. That being said, in my updates configuration, I am checking for the existence of a registry value. I left the version blank since the version may not change between updates. Below is the update line from the .aiu file:

[QuickMove Update]
Name=QuickMove
URL=http://www.sample.com/download/patch.msp
Size=1758208
ReleaseDate=16/11/2006
MD5=b96bbbd3fb9e42baa2fd3b51e919eb23
RegistryKey=HKLM\SOFTWARE\IGC Software\IGC Software\Update\QuickMove
Description=desc
Feature=feature
Enhancement=enhanced
BugFix=bug 1
BugFix1=bug 2

If I do not have that registry value, the updater still shows 'Your software is up to date.'. What am I doing incorrectly here, and is there any way to check the value of a given registry key instead of checking the existence of that key?

Thanks for any help!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I cannot reproduce this. I test the .aiu file posted by you and on my computer works fine. Please make sure that you don't have that value in registry.

Also please try to reproduce this behavior on other computer.

Please let me know if the problem persist.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
TBrame
Posts: 14
Joined: Fri Nov 17, 2006 3:01 pm

I was able to get it to work by deleting the actual reg key. If the base key was there, regardless of the values in it, it would say 'Software is up to date.'. This will work for us.

Thanks for your help!
TBrame
Posts: 14
Joined: Fri Nov 17, 2006 3:01 pm

Could the functionality be added (or does it already exist) that would allow us to check the value of a registry key as opposed to just checking for the existence of a registry key?

Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

If you specify a registry key (without to specify the version in the .aiu file) as detection criteria the updater look only for the existence of that key. To verify the value in that key you need to use "Version" field also in the .aiu file.

Form more details please see "Installed Detection" paragraph from this link:
http://www.advancedinstaller.com/user-g ... rties.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”