A couple question about the Advanced Updater - 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!

oliverw
Posts: 12
Joined: Sat Jun 25, 2011 9:43 am

A couple question about the Advanced Updater

My setup currently installs two items:
  • Silverlight 4 Out of Browser application that updates itself using the standard Silverlight Update mechnism
  • WPF 3.5 Helper Application that completely runs in the background and is only visible through its System Tray Icon
Of those items usually only the latter needs to be handled by the advanced updater. The requirements are:
  • The update of the WPF Helper needs to happen in complete silence - no dialags, nothing
  • The WPF Helper needs to be closed prior to the update and started again after the update is complete
Is that possible?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: A couple question about the Advanced Updater

Hello,
WPF 3.5 Helper Application that completely runs in the background and is only visible through its System Tray Icon
Can you please specify how are you performing this installation from your main package? As a general note, the Advanced Updater can be set per .AIP, so if the installer package for WPF 3.5 Helper is not authored with Advanced Installer, you will have to upgrade the whole installation including the first item.
The update of the WPF Helper needs to happen in complete silence - no dialags, nothing
This can be done by using the /silentall command line option. For more details please follow this article.
The WPF Helper needs to be closed prior to the update and started again after the update is complete
Since the Updater requires careful settings, we recommend you follow our tutorial in order to understand the mechanism on a basic project. After this you can easily integrate it with your more complex project:
Using The Auto Updater tutorial

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
oliverw
Posts: 12
Joined: Sat Jun 25, 2011 9:43 am

Re: A couple question about the Advanced Updater

Can you please specify how are you performing this installation from your main package? As a general note, the Advanced Updater can be set per .AIP, so if the installer package for WPF 3.5 Helper is not authored with Advanced Installer, you will have to upgrade the whole installation including the first item.
The WPF Helper is integrated with the setup of the mainpackage. Its included under "Files and Folders". My installer basically calls SLLauncher.exe to install the Silverlight OOB App and copies the Helper app to a subfolder of the user's [Application Data] folder (I've picked that folder in order to update it without requiring elevated permissions like Google Chrome does). So that should work I think right?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: A couple question about the Advanced Updater

Hello,

In case you only need to upgrade a one or two files you can use a patch instead. Whatever upgrade type you may choose, you should keep in mind the Windows Installer standard for both:
Here are a couple of articles to help you:
http://www.advancedinstaller.com/user-g ... tches.html
http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Also, we recommend you follow the patch tutorial before authoring it for your main project:
http://www.advancedinstaller.com/user-g ... patch.html

If you encounter any difficulties understanding or implementing any of the above suggestions, please don't hesitate to contact us.

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

Return to “Common Problems”