dheinst
Posts: 6
Joined: Thu Jan 15, 2009 11:16 am

Upgrade cannot find registry information

We created a new version of our product but there is a problem when users upgrade. The installer contains two languages, English and Dutch. If they select English, the installer finds the correct previously used installer location. But when selecting Dutch, it reverts to the default location.

I did a bit of registry monitoring, and it seems that if the Dutch language is selected, the installProperties cannot be found because of a wrong product code. This is one line of the monitoring log:

23.40831184 Sensus Server S:4332 OpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\8CDE762754E6F9B4490176D8A04391F5\InstallProperties NOT FOUND

The GUID "8CDE762754E6F9B4490176D8A04391F5" is used for every QueryValue to the registry, but the previous version is registered with a different guid.

Do you have any idea why this might happen?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Upgrade cannot find registry information

Hello,

Unfortunately I could not replicate this. Please send the .aip project files of your previous and current packages (or stripped down versions that accurately reproduce this behavior) to support at advancedinstaller dot com so we can further test this behavior.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Upgrade cannot find registry information

Hello,

Unfortunately i could not replicate the behavior not even with the project file you sent me by email. You should make sure your current project has the same Upgrade Code as your previous one. You mentioned you do not have the previous project file anymore. Nonetheless you can check the previous installer's Upgrade Code by opening it with Orca and looking in the Property table.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
dheinst
Posts: 6
Joined: Thu Jan 15, 2009 11:16 am

Re: Upgrade cannot find registry information

GabrielBarbu wrote:Hello,

You should make sure your current project has the same Upgrade Code as your previous one.
Is there a reason that the Upgrade Code might have changed? I can't remember even seeing something called Upgrade Code in the project settings, so I don't think we might have accidentally change this by ourselves.

And is this Upgrade Code different per language? Choosing English installs correctly in our case.

Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Upgrade cannot find registry information

Hello,

This behavior might be caused by a bug in earlier Advanced Installer versions. You can try using the latest version of Advanced Installer.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”