Advanced Updater Issue - 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!

jamesrowson
Posts: 4
Joined: Thu Mar 31, 2011 9:37 am

Advanced Updater Issue

I've hit a problem using the Advanced Updater feature. As part of each version update of our app a couple of Windows Services are updated. This has always worked fine until our latest app update. What happens now is that the old Services are uninstalled successfully, but the new version doesn't install one of the Services, and leaves the update half-finished (it's not then possible to uninstall the new version as a fatal error occurs together with a blank dialog box when attempting to uninstall). Presumably an error occurs during the upgrade, but gets 'swallowed' and not reported back.

The key difference with this update to previous ones is that the new version of the Service uses a newer version of the .NET framework to the previous version. Both versions of the .NET framework are on the target PC, and indeed the new version installs successfully when applied as a standalone installer (i.e. by manually uninstalling the old version and installing the new version).

My questions are as follows:
1. Is this a known issue?
2. Is it possible to get any logging information for the auto update process so that I can troubleshoot further?

Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Advanced Updater Issue

Hi,

Did you increase the file version of the service EXE before building your package? This is required in order for Windows Installer to correctly determine if the file will be updated or not. Another solution is to use the "Ensure that this file overwrites any installed target file" option in Version tab from "Edit File" dialog.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jamesrowson
Posts: 4
Joined: Thu Mar 31, 2011 9:37 am

Re: Advanced Updater Issue

Hi,

Thanks for the reply. I think I didn't make the issue sufficiently clear before - the new Service exe does get onto the target PC, but the Service doesn't get installed (i.e. it disappears from the list of Windows Services when running services.msc following the update).
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Advanced Updater Issue

Hello,

This is not a known issue.

If you followed Cosmin's suggestions, can you please try your installer on other machines and see if the problem persists?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”