jbryant
Posts: 4
Joined: Sat Feb 08, 2025 5:57 pm

Update Project -> Registry Value\Expected Value

It would be nice to have the option for the Registry Value\Expected Value read the version as in the Product Information\Product Details\Version automatically.

Currently we have to manually adjust the update Registry Value\Expected Value manually each time a new version is created. This would save some time and ensure that both the setup and update projects stay in sync.
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Update Project -> Registry Value\Expected Value

Hello,

I'm afraid I do not quite understand what you want to achieve here.

If possible, could you please give me some more details (e.g. some screenshots) so I can better assist?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jbryant
Posts: 4
Joined: Sat Feb 08, 2025 5:57 pm

Re: Update Project -> Registry Value\Expected Value

I have a solution that contains 2 projects:
  • 1. Installation Project
    2. Update Project
The installation project gets it's version # automatically from the Product Information/Product Details/Version (retrieved automatically from the selected executable). This is what I want and is working great.
setup project 1.jpg
setup project 1.jpg (223.45 KiB) Viewed 16849 times
In the update project, from the Update Installed Detection tab, if I select:
Detect if the update is already installed by a registry search value
update project 1.jpg
update project 1.jpg (234.71 KiB) Viewed 16849 times
I have to manually update the Expected value by clicking the button next to the value and then selecting the executable referenced in step 1.
What I would like to see is for the update project to automatically select the version number from the executable referenced in step 1.
This would help prevent the accidental creation of an update.ini with the incorrect version number.
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Update Project -> Registry Value\Expected Value

Hello,

Thank you very much for your followup on this nad for the clarifications!

I will make a ticket and hopefully this improvement will be added in a future version of Advanced Installer.

When this will be available, I will update this thread.

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

Return to “Feature Requests”