File association not working after update - Advanced Installer Community
halazi
Posts: 1
Joined: Thu Jul 02, 2015 7:03 pm

File association not working after update

Hi,
After an update using wyUpdate, double clicking a file associated with our app caused the installer to run instead of opening the file (I understand that it's trying to self-heal).

Looking at the event log, it indicates that a file for one of the app's components is missing. It was removed intentionally by the update.

Then I looked at the registry, and the entry " HKEY_CLASSES_ROOT\COMPANY..APPNAME\shell\open\command\ " has two entries, (Default) and command.

By removing the "command" entry, the problem was resolved.

Why did the installer create the "command" entry? What's it for? and why did removing it prevented self-healing and allowed the associated file to be opened normally.

I appreciate any help that you can provide.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File association not working after update

Hello and welcome to our forums,

I can confirm you this is the normal Windows Installer behavior. The related "command" registry value (also known as the "Darwin Descriptor") is created at install time by the installation process and it is afterwards used by the Windows Installer application resiliency mechanism to determine if a repair is needed every time you launch a file with the installed extension. You can also take a look on our "File association after update" thread which debates a similar issue.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
adamdc78
Posts: 76
Joined: Wed Mar 19, 2014 7:42 pm

Re: File association not working after update

Is there a possibility for allowing a checkbox to disable this "feature"? Launching the MSI takes a very long time and is not always appropriate.

For now adding a custom action to either remove the resiliency entry or create the initial entry seems to be the only work around.
Last edited by adamdc78 on Wed Aug 05, 2015 8:14 pm, edited 1 time in total.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File association not working after update

Hello,

I'm afraid we don't have out of the box support for this.

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

Return to “Common Problems”