Update.exe Isn't Working When Invoked by Windows Service - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

invalidptr
Posts: 79
Joined: Thu Nov 18, 2010 7:10 pm

Update.exe Isn't Working When Invoked by Windows Service

We have a Windows Service that talks to the cloud and knows when an update is available. When an update is available the Service invokes update.exe with the proper command line to update itself. For the most part this works, but we have a handful of customers in which this does not work.

My investigation first revealed that AVG classified update.exe as a threat and threw it into the vault. Sigh. I restored it and tried again but still no luck (both with AVG enabled and disabled). update.exe just sits in the task manager seemingly doing nothing. Does update.exe emit a log so I can check where it's stuck?

I then took the command line our service issues to update.exe and it works on the command line. Is there are reason why service's invocation of update.exe doesn't work? The Windows account type is administrator.

OS: Windows 7 Home Premium 64-bit SP1
AVG: 2012.0.2221 (LinkScanner version: 1390)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Update.exe Isn't Working When Invoked by Windows Service

Hello,

In order to achieve what you want you can take a look on our "Launching AutoUpdater from service" thread which may be useful for you.
Also, please keep in mind that starting with version 9.7 of Advanced Installer you can integrate the updater to run as a service.

Let us know if this helps, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”