Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to prevent an msi uninstall from removing too much and damaging another program?

Posted on 2008-10-27
1
Medium Priority
?
364 Views
Last Modified: 2013-11-14
First let me say I'm a novice at creating MSI's, however,
I've created an MSI using a software program called "EMCO MSI Package Builder".  I've used it for about a year now deploying software and haven't had a problem until now, when I try to remove the MSI package from a workstation, it seems to 'break' another installed program that is unrelated to the one I am removing.  From what we can tell, it appears that both programs use MDAC and running the uninstall causes MDAC to be removed, which cripples our other program.  I've figured out how to turn on logging during the uninstall; however, it is so huge and so verbose, I am lost in it.
My basic question is whether or not there is a way to run an msi uninstall that doesn't damage another program that may use the same .dll's, or other common files?  Second part of the question, is there a way (generically speaking) to build a msi package so that the uninstall doesn't harm other programs?
0
Comment
Question by:BRIDGEDIVISION
1 Comment
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 600 total points
ID: 22814746
q1: no, there's no way. This completely depends on the way MSI is made. If author follows the standards, it doesn't happen, but many don't (see below).

q2: MSI technology includes so called ICE validation, and the recommended practice is that every installation gets validated and what's reported is fixed. You can get ORCA and validate in it; the descriptions of the found problems and instructions are detailed and have great educational value. Once you have yours validated and fixed , have a little fun - validate some installation package from someone major, like the same Microsoft, or Adobe, or Nero - your self-respect will go up 1,000%. That's why there are so many MSKB articles "How to uninstall visual studio", "How to uninstall microsoft office" with many-page instructions, and Nero and Adobe create separate utilities to clean up their mess.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Installations often have prerequisites, such as “Microsoft .Net framework is required for this product”. The usual implementation in MSI installations is system search for a particular registry setting representing the required prerequisite, followe…
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 Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

972 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