Solved

MSI overwrite file type association

Posted on 2008-10-31
2
347 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
2 Comments
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now