kjullion
Posts: 176
Joined: Mon Nov 11, 2013 9:02 pm

Get available version build number from updater.exe

Hi,
Is it possible to call the Updater.exe in such as way as to determine what is the Version # of the build(s) which are available once the auto-update build(s) has been published?

Thanks,
Kevin
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Get available version build number from updater.exe

Hello Kevin,

Just to make sure I fully understand your scenario here, do you want to get the build number of a published update? For instance, if you publish an update with the following version:

10.0.1754

you want to retrieve the 1754 (which represents the build number)?

If that is the case, I am afraid that is not possible.

The updater tool can either return 0 in case of a success (updates were found) or other code(s) (more information here) in case of a failure.

Please let me know if there is anything else I could help you with.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kjullion
Posts: 176
Joined: Mon Nov 11, 2013 9:02 pm

Re: Get available version build number from updater.exe

Hi Catalin,
No problem, I have found a suitable work-around.

I just interrogate the .aiu file after it has been downloaded, and in it I can search for the line which starts with "Version = " and from that information I can get what I need.

Thanks!
Kevin
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Get available version build number from updater.exe

Hello Kevin,

Thank you for your followup on this and for sharing your solution with us.

I am glad you got this working and I am sure this will be of help for further users facing a similar scenario.

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

Return to “Common Problems”