trudy2
Posts: 2
Joined: Fri Nov 27, 2020 12:49 pm

How to specify server filename in auto update by Git Integration?

I have more than one msi in my git release. I read the following document many times and try a different way but with no success:
https://www.advancedinstaller.com/user- ... ation.html

even I upload "advinst_update.json" to git repository with:
{
"ServerFileName":"setup2.msi"
}
This time, it said your version is up-to-date, and I am sure that I uploaded a new one and changed the tag to a newer version.
When I remove "advinst_update.json", it randomly chooses one of the msi and shows an update is available.

How can I specify server filename in auto-update by Git Integration?
Catalin
Posts: 6582
Joined: Wed Jun 13, 2018 7:49 am

Re: How to specify server filename in auto update by Git Integration?

Hello,

This is currently under our investigation.

I will let you know as soon as I'll have a conclusive answer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6582
Joined: Wed Jun 13, 2018 7:49 am

Re: How to specify server filename in auto update by Git Integration?

Hello,

I've done some further investigations and it looks like if you specify additional fields in the "advinst_updates.json" file, you will also need to specify the detection mechanism.

Otherwise, the default detection mechanism is overwritten with 'nothing'.

With that being said, if version 1.0.0 of "zzz.msi" is installed, the JSON file can look something as it follows:

Code: Select all

{
"ServerFileName":"zzz3.msi",
"RegistryKey":"HKUD\\Software\\Your Company\\zzz\\Version",
"Version": "1.0.1"
}
This behavior is not quite the expected one, therefore our development team has fixed it for a future release of Advanced Installer.

Hope this helps!

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

Return to “Common Problems”