Solved

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

Posted on 2008-10-27
1
347 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
[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
1 Comment
 
LVL 40

Accepted Solution

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 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