gulliwahn
Posts: 10
Joined: Fri Jul 18, 2014 9:58 am

Using auto updater with multiple instances

Hello

I'm trying to set up the auto updater functionality with our setup.
Our Setup allows the installation of multiple instances at install time (the user can choose a name for the instances).
The setup saves the product version in the registry (HKLM\Software\CompanyName\[ProductName]\Version).

Example.
Instance1 -> HKLM\Software\CompanyName\Instance1\Version
Instance2 -> HKLM\Software\CompanyName\Instance2\Version

I want the updater to search in the registry for the version (Installed Detection "registry value search").
How do I have to specify the registry value in the properties page of my updates configuration file project to achieve this?
I tried "HKLM\Software\CompanyName\[ProductName]\Version" but no luck. [ApplicationName], [APPNAME], [InstanceId] also didn't work.
I can see the correct "ApplicationName" in the updaters INI file, but how can I tell the updater to use it in the registry search?

Thank you for any help.

Best regards
Stefan
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Using auto updater with multiple instances

Hello Stefan,

I'm afraid we don't have support for what you need. Maybe we will consider such improvements in a future version of Advanced Installer.

Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gulliwahn
Posts: 10
Joined: Fri Jul 18, 2014 9:58 am

Re: Using auto updater with multiple instances

Hi Daniel

Thank you for the fast reply.

So, in conclusion, I can't use the auto updater with a setup that allows multiple instances at all?
Or is it possible to use a custom exe for the version check and pass the instance name to it?

It would be great if that feature will be added some day. A nice addition to a already great product.
Should not be that difficult because the updater already knows the instance name from the ini file.

Thank you again for the assistance
Stefan
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Using auto updater with multiple instances

Hello Stefan,
So, in conclusion, I can't use the auto updater with a setup that allows multiple instances at all?
No, you cannot use the Updater tool to handle updates for multiple instances of a product.
Or is it possible to use a custom exe for the version check and pass the instance name to it?
Yes, I think this is possible. You can try to implement your own logic into a custom EXE.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Chips
Posts: 10
Joined: Wed Oct 02, 2024 1:50 pm

Re: Using auto updater with multiple instances

Hello,
I’m curious if there is currently support for this feature. For "Generate instances at install time" especifically.

Looking forward to your response. Thanks
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: Using auto updater with multiple instances

Hello,

I'm afraid not. :(

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”