Updater: The support service has encountered an error - Advanced Installer Community
fly
Posts: 10
Joined: Wed May 07, 2014 7:25 pm

Updater: The support service has encountered an error

Hello,

I followed the instructions on creating an update. I get the generic error: "Some of the updates failed to install properly". The status says this: "Error: The support service has encountered an error."

I am checking the box to "install support service". Any idea's why I am getting this error? I am storing my update.txt and msi in the same directory on a networked drive, using the URL format file://\\ It sees the updates.txt and msi fine, but fails out when installing. I looked over the common update errors and couldn't find anything regarding the support service error.

Any help would be much appreciated!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Updater: The support service has encountered an error

Hi,

I'm not sure why you encounter this problem. Did you check if any file of your application was updated when that error was thrown?

The most common reason why that error appears is explained in the "Why do I receive the "Some of the updates failed to install properly" message" FAQ.

If the problem described in the link above does not apply to you, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fly
Posts: 10
Joined: Wed May 07, 2014 7:25 pm

Re: Updater: The support service has encountered an error

Hello,

I know for sure it has something to do with however the update without admin service works. If I remove the "Flags=Advertises" from the updater.txt generated by the updater project then it prompts for admin credentials and the update works as expected. This is the flag that is used to install without admin required, yes?

I am checking the box to "Install support service" in my original package and upgrade package but it appears like it is not working. I am also doing as the tutorial states and using the "Per Machine Only (Fails if user not admin)" and checking the box in the updater project to "Install without elevation".

Not sure what else I could be doing wrong. Is there a way to find out if the "install support service" is actually getting installed?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Updater: The support service has encountered an error

Hello,

In order to try troubleshooting this error please send us the .AIPs (project files) of your old product version, upgraded product version and of your updates configuration project to support at advancedinstaller dot com so we can investigate and test their settings?

Also, it would be very useful if you could isolate the behavior in a buildable sample (AIPs + their referenced files) and send it us so we can build and test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kevgaar
Posts: 2
Joined: Tue Dec 29, 2015 1:35 pm

Re: Updater: The support service has encountered an error

I'm facing similar problems.
Is this problem solved?

I'm trying to install patches via the auto updater. Without "Install update without elevation" everything works fine.
The patches are installed and the updater exits without any errors.

When I'm installing by using the install service, the patches are installed (all changes are made, no rollback, product version is changed, etc), but the updater states: "Some of the updates failed to install properly" and for the update "Error: The support service has encountered an error".
The patches are wrapped in a bootstrapper and run as admin, all of them work fine.

Any help would be much appreciated!
- Kevin
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Updater: The support service has encountered an error

Hello Kevin and welcome to our forums,

I've searched for this ticket in our previous email conversation, but I'm afraid I wasn't able to find it.

Please send us the AIPs (project files) of your old product version, upgraded product version and of your updates configuration project to support at advancedinstaller dot com so we can check and investigate them? Also, please try to iterate a step by step installation scenario you are using to replicate the issue.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kevgaar
Posts: 2
Joined: Tue Dec 29, 2015 1:35 pm

Re: Updater: The support service has encountered an error

My problem is solved.
The cause was a wrongly configured update detection criteria (by registry value).

Now everything works. Thanks! :-)
deval
Posts: 4
Joined: Thu Jan 07, 2016 5:20 pm

Re: Updater: The support service has encountered an error

Could you elaborate on what you mean by incorrect registry detection? I appear to have the same issue.

Although if I go and run the updater.exe with the /checknow flag it shows that an update is available...
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Updater: The support service has encountered an error

Hi and welcome to Advanced Installer forums.

When you create an "Updates Configuration" project for the updater and add a new package in the "Updates" page, you have the "Installed Detection" tab where you set a registry entry or a file that will be installed by that package. Then, after the updater installs that package, it will check that registry of file to see if the update was installed correctly.

So, you need to be sure that the detection criteria configured into that tab is correct. For more details, please follow the "Creating a New Updates File" tutorial.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
deval
Posts: 4
Joined: Thu Jan 07, 2016 5:20 pm

Re: Updater: The support service has encountered an error

Ok I've gone through the tutorial before and I can get it to work fine from inside the project but when I add an update via the command line I don't have the correct registry setting. I end up with something like this:

;aiu;

[<Product>1.1.29]
Name = <Product>
ProductVersion = 1.1.29
URL = <msi_path>
Size = 25698304
ReleaseDate = 08/01/2016
MD5 = 35llc9d3109r085a969fbb4429e74453
ServerFileName = <product>.msi
RegistryKey = HKUD\Software\<Company>\<Product>\Version
Version = 1.1.29

[<Product>1.1.28]
Name = <Product>
ProductVersion = 1.1.28
URL = <msi_path>
Size = 25698304
ReleaseDate = 08/01/2016
MD5 = aea0c2d31d83085a968fbb4429e7471e
ServerFileName = <product>.msi
Flags = Advertises
RegistryKey = HKLM\SOFTWARE\<Product>\Version
Version = 1.1.28

Obviously I've swapped out some things and put bracketed placeholders in but you get the idea. How do I set the registry search item on the subsequent updates from the command line? 1.1.28 has the correct path while 1.1.29, which I added from the command line add update command, has the incorrect path but I don't see how to set that.

Also, I need to do the install without elevation which means I need to use the updater support service. You'll notice the advertise flag in the manually created update and not the one added from the command line.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Updater: The support service has encountered an error

Hi,

I'm afraid that we do not have predefined support for setting the installed detection from command line in an "Updates Configuration" project. I added this improvement on our TODO list and it will be available in a future version of Advanced Installer.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Updater: The support service has encountered an error

Hello,

This improvement has been added in version 12.8 of Advanced Installer released on March 23rd, 2016.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”