?
Solved

MSI overwrite file type association

Posted on 2008-10-31
2
Medium Priority
?
361 Views
Last Modified: 2013-11-25
Hi

Having a problem with file type association, when a new version of my software is installed in parallel  and file type associated with the software still opens with the older version.

Is it possible with MSI to overwrite this so when the new version is installed all file types are associated with that version.

cheers
0
Comment
Question by:apb2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 2000 total points
ID: 22851076
Yes, this is how it usually works. If file association is configured in msi, then it gets installed.

However, if old version is still on the computer, and it's not uninstalled, and file association in it is advertised, then it's possible that there will be self-repair that will restore old association. When it's advertised in both old and new versions*, it's hard to say what it will decide to repair.

*) "advertised" is somewhat simplified. More proper is "file association is keypath of a component". The end effect is that Istaller will check if it's intact and will try to repair it.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question